Skip to content

Commit

Permalink
fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 23, 2012
1 parent dd7efb7 commit def4323
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -66,7 +66,7 @@ public function testLoadFullConfiguration($format)

// 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');
}

Expand Down
Expand Up @@ -109,7 +109,7 @@ public function guessTypeForConstraint(Constraint $constraint)
return new TypeGuess('text', array(), Guess::LOW_CONFIDENCE);
}
break;

case 'Symfony\Component\Validator\Constraints\Country':
return new TypeGuess('country', array(), Guess::HIGH_CONFIDENCE);

Expand Down
Expand Up @@ -98,7 +98,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
$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 {
Expand All @@ -110,7 +110,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
}
} 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 {
Expand Down

0 comments on commit def4323

Please sign in to comment.