ProgMiner /
maintenance-screen
| 1 | <?php |
||
| 2 | |||
| 3 | use Sami\RemoteRepository\GitHubRemoteRepository; |
||
| 4 | use Sami\Version\GitVersionCollection; |
||
| 5 | use Sami\Sami; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | use Symfony\Component\Finder\Finder; |
||
| 8 | |||
| 9 | $iterator = Finder::create()-> |
||
| 10 | files()-> |
||
| 11 | name('*.php')-> |
||
| 12 | in(realpath(__DIR__.'/lib')); |
||
| 13 | |||
| 14 | // Sami doesn't seem to write out the docs folder for v1 and v2 |
||
| 15 | $versions = GitVersionCollection::create(realpath(__DIR__))-> |
||
| 16 | // addFromTags('v1.*')-> |
||
| 17 | // addFromTags('v2.*')-> |
||
| 18 | addFromTags('v3.*')-> |
||
| 19 | addFromTags('v4.*')-> |
||
| 20 | add('master', 'master branch'); |
||
| 21 | |||
| 22 | return new Sami($iterator, [ |
||
| 23 | 'title' => 'Maintenance screen API', |
||
| 24 | 'versions' => $versions, |
||
| 25 | |||
| 26 | 'build_dir' => __DIR__.'/docs/%version%', |
||
| 27 | 'cache_dir' => __DIR__.'/sami-cache/%version%', |
||
| 28 | |||
| 29 | 'insert_todos' => true, |
||
| 30 | 'remote_repository' => new GitHubRemoteRepository('ProgMiner/maintenance-screen', realpath(__DIR__)) |
||
| 31 | ]); |
||
| 32 |
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