| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 58 | public function ensureHeldBy(object $monoid): object |
||
| 59 | { |
||
| 60 | Assert::assertTrue(($this->equals)( |
||
| 61 | $monoid->identity(), |
||
| 62 | $monoid->identity(), |
||
| 63 | )); |
||
| 64 | Assert::assertTrue(($this->equals)( |
||
| 65 | $this->value, |
||
| 66 | $monoid->combine($monoid->identity(), $this->value), |
||
| 67 | )); |
||
| 68 | Assert::assertTrue(($this->equals)( |
||
| 69 | $this->value, |
||
| 70 | $monoid->combine($this->value, $monoid->identity()), |
||
| 71 | )); |
||
| 72 | // make sure the identiy is not altered after using a concrete value |
||
| 73 | Assert::assertTrue(($this->equals)( |
||
| 74 | $monoid->identity(), |
||
| 75 | $monoid->identity(), |
||
| 76 | )); |
||
| 77 | |||
| 78 | return $monoid; |
||
| 79 | } |
||
| 81 |
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