mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Ignore error_log messages in code coverage
This commit is contained in:
parent
107cfc3678
commit
e123fe82d0
@ -138,7 +138,9 @@ class AuthorizationServer implements EmitterAwareInterface
|
||||
$grantType->setEmitter($this->getEmitter());
|
||||
|
||||
if ($this->encryptionKey === null) {
|
||||
// @codeCoverageIgnoreStart
|
||||
error_log(self::ENCRYPTION_KEY_ERROR);
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
$grantType->setEncryptionKey($this->encryptionKey);
|
||||
|
||||
@ -158,7 +160,9 @@ class AuthorizationServer implements EmitterAwareInterface
|
||||
public function validateAuthorizationRequest(ServerRequestInterface $request)
|
||||
{
|
||||
if ($this->encryptionKey === null) {
|
||||
// @codeCoverageIgnoreStart
|
||||
error_log(self::ENCRYPTION_KEY_ERROR);
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
foreach ($this->enabledGrantTypes as $grantType) {
|
||||
|
Loading…
Reference in New Issue
Block a user