thephpleague /
oauth2-server
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * @author Alex Bilbie <[email protected]> |
||
| 5 | * @copyright Copyright (c) Alex Bilbie |
||
| 6 | * @license http://mit-license.org/ |
||
| 7 | * |
||
| 8 | * @link https://github.com/thephpleague/oauth2-server |
||
| 9 | */ |
||
| 10 | |||
| 11 | declare(strict_types=1); |
||
| 12 | |||
| 13 | namespace League\OAuth2\Server; |
||
| 14 | |||
| 15 | use League\OAuth2\Server\Entities\AccessTokenEntityInterface; |
||
| 16 | use Psr\Http\Message\ServerRequestInterface; |
||
| 17 | use SensitiveParameter; |
||
|
0 ignored issues
–
show
|
|||
| 18 | |||
| 19 | class RequestAccessTokenEvent extends RequestEvent |
||
| 20 | { |
||
| 21 | 23 | public function __construct( |
|
| 22 | string $name, |
||
| 23 | ServerRequestInterface $request, |
||
| 24 | #[SensitiveParameter] |
||
| 25 | private AccessTokenEntityInterface $accessToken |
||
| 26 | ) { |
||
| 27 | 23 | parent::__construct($name, $request); |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @codeCoverageIgnore |
||
| 32 | */ |
||
| 33 | public function getAccessToken(): AccessTokenEntityInterface |
||
| 34 | { |
||
| 35 | return $this->accessToken; |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths