| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | 3 | private function newSubject( DIWikiPage $resultPage, array $printRequests, QueryResult $result ): Subject { |
|
| 31 | $propertyValueCollections = []; |
||
| 32 | 3 | ||
| 33 | 3 | foreach ( $printRequests as $printRequest ) { |
|
| 34 | $dataItems = $this->newResultArray( $resultPage, $printRequest, $result )->getContent(); |
||
| 35 | 3 | ||
| 36 | 3 | $propertyValueCollections[] = new PropertyValueCollection( |
|
| 37 | 3 | $printRequest, |
|
| 38 | $dataItems === false ? [] : $dataItems |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | 3 | ||
| 42 | return new Subject( $resultPage, $propertyValueCollections ); |
||
| 43 | } |
||
| 50 |
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