1 | <?php |
||
2 | |||
3 | use Sami\Sami; |
||
0 ignored issues
–
show
|
|||
4 | use Symfony\Component\Finder\Finder; |
||
5 | |||
6 | $iterator = Finder::create() |
||
7 | ->files() |
||
8 | ->name('*.php') |
||
9 | ->in(__DIR__ . '/src') |
||
10 | ; |
||
11 | |||
12 | return new Sami($iterator, [ |
||
13 | 'title' => 'DocBlock API Documentation', |
||
14 | 'build_dir' => __DIR__ . '/api', |
||
15 | 'default_opened_level' => 2 |
||
16 | ]); |
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