Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Partially revert "DX: PHP CS Fixer - update excluded paths and apply some minor CS"
  [AssetMapper] Allowing for files to be written to some non-local location
  [HttpKernel] Resolve EBADP error on flock with LOCK_SH with NFS
  [AssetMapper] Fixing bug of bad parsing of imports when an import then export are adjacent
  add missing basque translations
  [FrameworkBundle][Validator] Allow implementing validation groups provider outside DTOs
  [Notifier][Novu] Implement overrides
  [Validator] Handle `null` case
  [Workflow] List place or transition listeners in profiler
  [Intl] Add support for emoji 15.1
  Replace Tickets by Issues
  [Validator] Add missing arabic translations
  [Validator] Added missing translations for Romanian language for Validator component
  [Messenger] Fix graceful exit with ids
  [HttpKernel] Add parameters `kernel.runtime_mode` and `kernel.runtime_mode.*`, all set from env var `APP_RUNTIME_MODE`
  • Loading branch information
nicolas-grekas committed Oct 20, 2023
2 parents 4a2b638 + 1df3b64 commit babf310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/PhpFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PhpFileLoader extends FileLoader

protected function loadResource(string $resource): array
{
if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) || filter_var(\ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOL))) {
if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true) || filter_var(\ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOL))) {
self::$cache = null;
}

Expand Down

0 comments on commit babf310

Please sign in to comment.