Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | 23 | #[Override] |
|
24 | public function addExecuteJS(string $value, JavascriptExecutionTypeEnum $when): void |
||
25 | { |
||
26 | 23 | match ($when) { |
|
27 | 23 | JavascriptExecutionTypeEnum::BEFORE_RENDER => |
|
28 | 6 | self::$execjs[$when->value][] = $value, |
|
29 | 23 | JavascriptExecutionTypeEnum::AFTER_RENDER => |
|
30 | 15 | self::$execjs[$when->value][] = $value, |
|
31 | 23 | JavascriptExecutionTypeEnum::ON_AJAX_UPDATE => |
|
32 | 6 | self::$execjs[$when->value][] = $value |
|
33 | 23 | }; |
|
42 |
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