Skip to content

Commit 13c75f5

Browse files
committed
Merge branch '2.5'
* 2.5: Update validators.eu.xlf fixed CS remove unused imports [Validator] Added markObjectAsInitialized() and isObjectInitialized() to ExecutionContextInterface [Validator] Fixed doc block [Routing] simplify the XML schema file Unify null comparisons [EventDispatcher] don't count empty listeners [Process] Fix unit tests in sigchild environment [Process] fix signal handling in wait() [BrowserKit] refactor code and fix unquoted regex Fixed server HTTP_HOST port uri conversion [HttpFoundation] moved test file to the right directory [Validator] Made sure that context changes don't leak out of (Contextual)ValidatorInterface [MonologBridge] fixed Console handler priorities Bring code into standard [Process] Add test to verify fix for issue #11421 [Process] Fixes issue #11421 [DependencyInjection] Pass a Scope instance instead of a scope name.
2 parents 2fd964e + ae573e4 commit 13c75f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/PhpFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function load($resource, $locale, $domain = 'messages')
3939
throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource));
4040
}
4141

42-
$messages = require($resource);
42+
$messages = require $resource;
4343

4444
$catalogue = parent::load($messages, $locale, $domain);
4545
$catalogue->addResource(new FileResource($resource));

0 commit comments

Comments
 (0)