| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public static function provideDuration(): array |
||
| 41 | { |
||
| 42 | return [ |
||
| 43 | [true, 'P2Y6M5DT12H35M30S'], |
||
| 44 | [true, 'P1DT2H'], |
||
| 45 | [true, 'P1W'], |
||
| 46 | [true, 'P20M'], |
||
| 47 | [true, 'PT20M'], |
||
| 48 | [true, 'P0Y20M0D'], |
||
| 49 | [true, 'P0Y'], |
||
| 50 | [true, '-P60D'], |
||
| 51 | [true, 'PT1M30.5S'], |
||
| 52 | [true, 'P15.5Y'], |
||
| 53 | [true, 'P15,5Y'], |
||
| 54 | [false, 'P-20M'], |
||
| 55 | [false, 'P20MT'], |
||
| 56 | [false, 'P1YM5D'], |
||
| 57 | [false, 'P1D2H'], |
||
| 58 | [false, '1Y2M'], |
||
| 59 | [false, 'P2M1Y'], |
||
| 60 | [false, 'P'], |
||
| 61 | [false, 'PT15.S'], |
||
| 62 | // Trailing newlines are forbidden |
||
| 63 | [false, "P20M\n"], |
||
| 64 | ]; |
||
| 67 |
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