gmitirol /
toolkit-pdftk
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * PDFtk wrapper |
||
| 4 | * |
||
| 5 | * @copyright 2014-2018 Institute of Legal Medicine, Medical University of Innsbruck |
||
| 6 | * @author Martin Pircher <[email protected]> |
||
| 7 | * @author Andreas Erhard <[email protected]> |
||
| 8 | * @license LGPL-3.0-only |
||
| 9 | * @link http://www.gerichtsmedizin.at/ |
||
| 10 | * |
||
| 11 | * @package pdftk |
||
| 12 | */ |
||
| 13 | |||
| 14 | use Sami\Sami; |
||
|
1 ignored issue
–
show
|
|||
| 15 | use Sami\Parser\Filter\TrueFilter; |
||
|
1 ignored issue
–
show
The type
Sami\Parser\Filter\TrueFilter 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...
|
|||
| 16 | use Symfony\Component\Finder\Finder; |
||
| 17 | |||
| 18 | $iterator = Finder::create() |
||
| 19 | ->files() |
||
| 20 | ->name('*.php') |
||
| 21 | ->in('src/') |
||
| 22 | ; |
||
| 23 | |||
| 24 | $sami = new Sami($iterator, [ |
||
| 25 | 'build_dir' => __DIR__ . '/build/doc', |
||
| 26 | 'cache_dir' => __DIR__ . '/build/cache', |
||
| 27 | ]); |
||
| 28 | |||
| 29 | $sami['filter'] = new TrueFilter(); |
||
| 30 | |||
| 31 | return $sami; |
||
| 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