mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-01 01:40:21 +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());
|
$grantType->setEmitter($this->getEmitter());
|
||||||
|
|
||||||
if ($this->encryptionKey === null) {
|
if ($this->encryptionKey === null) {
|
||||||
|
// @codeCoverageIgnoreStart
|
||||||
error_log(self::ENCRYPTION_KEY_ERROR);
|
error_log(self::ENCRYPTION_KEY_ERROR);
|
||||||
|
// @codeCoverageIgnoreEnd
|
||||||
}
|
}
|
||||||
$grantType->setEncryptionKey($this->encryptionKey);
|
$grantType->setEncryptionKey($this->encryptionKey);
|
||||||
|
|
||||||
@ -158,7 +160,9 @@ class AuthorizationServer implements EmitterAwareInterface
|
|||||||
public function validateAuthorizationRequest(ServerRequestInterface $request)
|
public function validateAuthorizationRequest(ServerRequestInterface $request)
|
||||||
{
|
{
|
||||||
if ($this->encryptionKey === null) {
|
if ($this->encryptionKey === null) {
|
||||||
|
// @codeCoverageIgnoreStart
|
||||||
error_log(self::ENCRYPTION_KEY_ERROR);
|
error_log(self::ENCRYPTION_KEY_ERROR);
|
||||||
|
// @codeCoverageIgnoreEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->enabledGrantTypes as $grantType) {
|
foreach ($this->enabledGrantTypes as $grantType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user