humbug /
box
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | /* |
||
| 6 | * This file is part of the box project. |
||
| 7 | * |
||
| 8 | * (c) Kevin Herrera <[email protected]> |
||
| 9 | * Théo Fidry <[email protected]> |
||
| 10 | * |
||
| 11 | * This source file is subject to the MIT license that is bundled |
||
| 12 | * with this source code in the file LICENSE. |
||
| 13 | */ |
||
| 14 | |||
| 15 | namespace KevinGH\Box\Phar; |
||
| 16 | |||
| 17 | use function array_map; |
||
| 18 | |||
| 19 | enum DiffMode: string |
||
| 20 | { |
||
| 21 | case FILE_NAME = 'file-name'; |
||
| 22 | case GIT = 'git'; |
||
| 23 | case GNU = 'gnu'; |
||
| 24 | case CHECKSUM = 'checksum'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return list<string> |
||
|
0 ignored issues
–
show
|
|||
| 28 | */ |
||
| 29 | public static function values(): array |
||
| 30 | { |
||
| 31 | return array_map( |
||
|
0 ignored issues
–
show
|
|||
| 32 | static fn (self $enum) => $enum->value, |
||
| 33 | self::cases(), |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
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