1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace BEAR\Package\Provide\Router; |
||
6 | |||
7 | use BEAR\Sunday\Extension\Router\RouterInterface; |
||
8 | |||
9 | /** |
||
10 | * @psalm-import-type Globals from RouterInterface |
||
11 | * @psalm-import-type Server from RouterInterface |
||
12 | */ |
||
13 | interface WebRouterInterface extends RouterInterface |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | * |
||
18 | * @param Globals $globals |
||
0 ignored issues
–
show
|
|||
19 | * @param Server $server |
||
0 ignored issues
–
show
The type
BEAR\Package\Provide\Router\Server was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
20 | */ |
||
21 | public function match(array $globals, array $server); |
||
22 | } |
||
23 |
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