| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SimpleBatchUploadTest extends \MediaWikiTestCase { |
||
|
|
|||
| 11 | |||
| 12 | private $testConfig = [ |
||
| 13 | '*' => 1, |
||
| 14 | 'user' => 2, |
||
| 15 | 'sysop' => 3 |
||
| 16 | ]; |
||
| 17 | |||
| 18 | protected function setUp() { |
||
| 19 | parent::setUp(); |
||
| 20 | $this->setMwGlobals( [ |
||
| 21 | 'wgSimpleBatchUploadMaxFilesPerBatch' => $this->testConfig |
||
| 22 | ] ); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @covers SimpleBatchUpload\SimpleBatchUpload::getMaxFilesPerBatch |
||
| 27 | */ |
||
| 28 | public function testgetMaxFilesPerBatch() { |
||
| 36 | } |
||
| 37 | |||
| 39 |
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