Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class RefactorTest extends TestCase { |
||
6 | /** |
||
7 | * Code Igniter Instance. |
||
8 | * @var object |
||
9 | */ |
||
10 | private static $ci; |
||
11 | /** |
||
12 | * Package name for simplicity |
||
13 | * @var string |
||
14 | */ |
||
15 | private const PACKAGE = "francis94c/refactor-ci"; |
||
16 | |||
17 | /** |
||
18 | * Prerquisites for the Unit Tests. |
||
19 | * |
||
20 | * @covers JWT::__construct |
||
21 | */ |
||
22 | public static function setUpBeforeClass(): void { |
||
24 | } |
||
25 | /** |
||
26 | * [testLoadPackage description] |
||
27 | */ |
||
28 | public function testLoadPackage():void { |
||
29 | self::$ci->load->package(self::PACKAGE); |
||
30 | $this->assertTrue(isset(self::$ci->refactor)); |
||
31 | } |
||
32 | /** |
||
33 | * [testDirectUnsetRule description] |
||
34 | * |
||
35 | * @depends testLoadPackage |
||
36 | */ |
||
37 | public function testDirectUnsetRule():void { |
||
55 | } |
||
56 | } |
||
57 |
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