Issues (19)

src/Backend.php (1 issue)

1
<?php
2
declare(strict_types=1);
3
4
namespace Bdelespierre\LaravelBladeLinter;
5
6
interface Backend
7
{
8
    /**
9
     * @param \SplFileInfo $file
10
     * @param string $code
11
     * @return list<ErrorRecord>
0 ignored issues
show
The type Bdelespierre\LaravelBladeLinter\list 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...
12
     */
13
    public function analyze(\SplFileInfo $file, string $code): array;
14
15
    public static function name(): string;
16
}
17