Skip to content

Commit 52fea95

Browse files
bug #1047 Ignore warnings related to opcache.restrict_api (nicolas-grekas)
This PR was merged into the 2.x branch. Discussion ---------- Ignore warnings related to opcache.restrict_api Fix #986 Commits ------- e60e03d Ignore warnings related to opcache.restrict_api
2 parents bd0fd94 + e60e03d commit 52fea95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configurator/BundlesConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function dump(string $file, array $bundles)
118118
file_put_contents($file, $contents);
119119

120120
if (\function_exists('opcache_invalidate')) {
121-
opcache_invalidate($file);
121+
@opcache_invalidate($file);
122122
}
123123
}
124124

0 commit comments

Comments
 (0)