Issues (4)

config/sami.php (1 issue)

Labels
Severity
1
<?php
2
3
$dir = __DIR__ . '/../src';
4
5
$iterator = Symfony\Component\Finder\Finder::create()
6
    ->files()
7
    ->name('*.php')
8
    ->in($dir);
9
10
$options = [
11
    'theme'                => 'default',
12
    'title'                => 'Laravel Tactician API Documentation',
13
    'build_dir'            => __DIR__ . '/../build/laravelTactician',
14
    'cache_dir'            => __DIR__ . '/../cache/laravelTactician',
15
];
16
17
$sami = new Sami\Sami($iterator, $options);
0 ignored issues
show
The type Sami\Sami 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...
18
19
return $sami;
20