merged branch jakzal/bugfix/interface-check (PR #8143)

This PR was merged into the 2.3 branch.

Discussion
----------

[Security] Fixed the check if an interface exists.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

re #8136

Commits
-------

fd151fd [Security] Fixed the check if an interface exists.
This commit is contained in:
Fabien Potencier 2013-05-27 08:46:25 +02:00
commit 0251c939b3
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
$this->markTestSkipped('The "HttpFoundation" component is not available');
}
if (!class_exists('Psr\Log\LoggerInterface')) {
if (!interface_exists('Psr\Log\LoggerInterface')) {
$this->markTestSkipped('The "LoggerInterface" is not available');
}