fixed CS
This commit is contained in:
parent
dd7efb7f36
commit
def4323dc8
@ -66,7 +66,7 @@ class TwigExtensionTest extends TestCase
|
||||
|
||||
// Yaml and Php specific configs
|
||||
if (in_array($format, array('yml', 'php'))) {
|
||||
$this->assertEquals('bad', $calls[2][1][0], '->load() registers variables as Twig globals');
|
||||
$this->assertEquals('bad', $calls[2][1][0], '->load() registers variables as Twig globals');
|
||||
$this->assertEquals(array('key' => 'foo'), $calls[2][1][1], '->load() registers variables as Twig globals');
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface
|
||||
return new TypeGuess('text', array(), Guess::LOW_CONFIDENCE);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case 'Symfony\Component\Validator\Constraints\Country':
|
||||
return new TypeGuess('country', array(), Guess::HIGH_CONFIDENCE);
|
||||
|
||||
|
@ -98,7 +98,7 @@ class ExceptionListener
|
||||
$token = $this->context->getToken();
|
||||
if (!$this->authenticationTrustResolver->isFullFledged($token)) {
|
||||
if (null !== $this->logger) {
|
||||
$this->logger->debug('Access is denied (user is not fully authenticated) by '.$exception->getFile().' at line '.$exception->getLine().'; redirecting to authentication entry point');
|
||||
$this->logger->debug(sprintf('Access is denied (user is not fully authenticated) by "%s" at line %s; redirecting to authentication entry point', $exception->getFile(), $exception->getLine()));
|
||||
}
|
||||
|
||||
try {
|
||||
@ -110,7 +110,7 @@ class ExceptionListener
|
||||
}
|
||||
} else {
|
||||
if (null !== $this->logger) {
|
||||
$this->logger->debug('Access is denied (and user is neither anonymous, nor remember-me) by '.$exception->getFile().' at line '.$exception->getLine());
|
||||
$this->logger->debug(sprintf('Access is denied (and user is neither anonymous, nor remember-me) by "%s" at line %s', $exception->getFile(), $exception->getLine()));
|
||||
}
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user