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:
commit
0251c939b3
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue