| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function testDetectMaxAllowedUploadsPerBatch( $groups, $expectation ) { |
||
| 32 | $sbu = new SimpleBatchUpload(); |
||
| 33 | if ( $groups !== false ) { |
||
| 34 | $testUser = self::getTestUser( $groups ); |
||
| 35 | $limit = $sbu->getMaxFilesPerBatch( $testUser->getUser() ); |
||
| 36 | } else { |
||
| 37 | $testUser = User::newFromId( 0 ); |
||
| 38 | $limit = $sbu->getMaxFilesPerBatch( $testUser ); |
||
| 39 | } |
||
| 40 | $this->assertEquals( $expectation, $limit ); |
||
| 41 | } |
||
| 55 |
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