Issues (108)

src/AnchorInterface.php (2 issues)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Resource;
6
7
/**
8
 * @psalm-import-type MethodUri from Types
9
 * @psalm-import-type Query from Types
10
 */
11
interface AnchorInterface
12
{
13
    /**
14
     * Return linked request with hyper reference
15
     *
16
     * @param string          $rel     Relation
17
     * @param AbstractRequest $request Resource request
18
     * @param Query           $query   Resource parameters
0 ignored issues
show
The type BEAR\Resource\Query 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
     *
20
     * @return MethodUri [$method, $uri]
0 ignored issues
show
The type BEAR\Resource\MethodUri 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
21
     */
22
    public function href(string $rel, AbstractRequest $request, array $query);
23
}
24