ProgMiner /
maintenance-screen
| 1 | <?php |
||
| 2 | |||
| 3 | use Sami\RemoteRepository\GitHubRemoteRepository; |
||
|
0 ignored issues
–
show
|
|||
| 4 | use Sami\Version\GitVersionCollection; |
||
|
0 ignored issues
–
show
The type
Sami\Version\GitVersionCollection 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 5 | use Symfony\Component\Finder\Finder; |
||
|
0 ignored issues
–
show
The type
Symfony\Component\Finder\Finder 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 6 | 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 7 | |||
| 8 | $iterator = Finder::create() |
||
| 9 | ->files() |
||
| 10 | ->name('*.php') |
||
| 11 | ->in(realpath(__DIR__ . DIRECTORY_SEPARATOR . 'lib')); |
||
| 12 | |||
| 13 | // Sami doesnt seem to write out the docs folder for v1 and v2. |
||
| 14 | $versions = GitVersionCollection::create(realpath(__DIR__)) |
||
| 15 | //->addFromTags('v1.*') |
||
| 16 | //->addFromTags('v2.*') |
||
| 17 | ->addFromTags('v3.*') |
||
| 18 | ->addFromTags('v4.*') |
||
| 19 | ->add('master', 'master branch'); |
||
| 20 | |||
| 21 | return new Sami($iterator, [ |
||
| 22 | 'title' => 'Maintenance screen API', |
||
| 23 | 'versions' => $versions, |
||
| 24 | 'build_dir' => __DIR__.'/docs/%version%', |
||
| 25 | 'cache_dir' => __DIR__ . '/sami-cache/%version%', |
||
| 26 | 'insert_todos' => true, |
||
| 27 | 'remote_repository' => new GitHubRemoteRepository('ProgMiner/maintenance-screen', realpath(__DIR__)), |
||
| 28 | ]); |
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