Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class SimpleBatchUploadTest extends \MediaWikiTestCase { |
||
13 | |||
14 | protected function setUp() { |
||
15 | parent::setUp(); |
||
16 | $this->setMwGlobals( |
||
17 | [ |
||
18 | 'wgSimpleBatchUploadMaxFilesPerBatch' => [ |
||
19 | '*' => 1, |
||
20 | 'user' => 2, |
||
21 | 'sysop' => 3 |
||
22 | ] |
||
23 | ] |
||
24 | ); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @covers SimpleBatchUpload\SimpleBatchUpload::detectMaxAllowedUploadsPerBatch |
||
29 | * @dataProvider provideTestDetectMaxAllowedUploadsPerBatch |
||
30 | */ |
||
31 | public function testDetectMaxAllowedUploadsPerBatch( $groups, $expectation ) { |
||
41 | } |
||
42 | |||
43 | public static function provideTestDetectMaxAllowedUploadsPerBatch() { |
||
51 | ]; |
||
52 | } |
||
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