From e60e03dc6259847d34a4ac2234ea25460cc5819c Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 20 May 2025 15:22:16 +0200 Subject: [PATCH] Ignore warnings related to opcache.restrict_api --- src/Configurator/BundlesConfigurator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Configurator/BundlesConfigurator.php b/src/Configurator/BundlesConfigurator.php index 2aab5e74f..799cc6542 100644 --- a/src/Configurator/BundlesConfigurator.php +++ b/src/Configurator/BundlesConfigurator.php @@ -118,7 +118,7 @@ private function dump(string $file, array $bundles) file_put_contents($file, $contents); if (\function_exists('opcache_invalidate')) { - opcache_invalidate($file); + @opcache_invalidate($file); } }