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 | return new Sami($iterator, [ |
||
12 | 'title' => 'Cecil API', |
||
13 | 'build_dir' => __DIR__.'/docs/api/%version%', |
||
14 | 'cache_dir' => __DIR__.'/docs/api/cache/%version%', |
||
15 | ]); |
||
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