| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2.004 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 1 | #[Override] |
|
| 23 | public function createKnArchiveItem(KnPostArchiv $post, User $user, ?RpgPlotArchiv $plot = null): KnArchiveItemInterface |
||
| 24 | { |
||
| 25 | 1 | $item = new KnArchiveItem( |
|
| 26 | 1 | $this->bbcodeParser, |
|
| 27 | 1 | $this->statusBarFactory, |
|
| 28 | 1 | $post, |
|
| 29 | 1 | $this->knCommentArchivRepository |
|
| 30 | 1 | ); |
|
| 31 | 1 | if ($plot !== null) { |
|
| 32 | $item->setPlot($plot); |
||
| 33 | } |
||
| 34 | 1 | return $item; |
|
| 35 | } |
||
| 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