Completed
Push — cs ( 79bb03 )
by Arnaud
06:02
created
Labels
Severity
1
<?php
2
3
use Sami\Sami;
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...
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