| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function test() |
||
| 24 | { |
||
| 25 | $this |
||
| 26 | ->given($test = new \Month) |
||
| 27 | ->then |
||
| 28 | ->integer((int) (string) $test) |
||
| 29 | ->isEqualTo(\Month::__default) |
||
| 30 | ; |
||
| 31 | |||
| 32 | $this |
||
| 33 | ->given($test = new \Month(\Month::SEPTEMBER)) |
||
| 34 | ->then |
||
| 35 | ->integer((int) (string) $test) |
||
| 36 | ->isEqualTo(\Month::SEPTEMBER) |
||
| 37 | ; |
||
| 38 | |||
| 39 | $this |
||
| 40 | ->given($test = new \Month('1', false)) |
||
| 41 | ->then |
||
| 42 | ->integer((int) (string) $test) |
||
| 43 | ->isEqualTo(\Month::JANUARY) |
||
| 44 | ; |
||
| 94 |
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