Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
18 | class ConnectionTest extends \PHPUnit\Framework\TestCase |
||
|
|||
19 | { |
||
20 | protected $shortUri = 'http://api.dev'; |
||
21 | |||
22 | protected $fixedUri = 'http://api.dev/'; |
||
23 | |||
24 | protected function setUp() |
||
25 | { |
||
26 | $this->db = new Connection(); |
||
27 | } |
||
28 | |||
29 | protected function tearDown() |
||
30 | { |
||
31 | } |
||
32 | |||
33 | public function testShortBaseUri() |
||
34 | { |
||
35 | $this->db->baseUri = $this->shortUri; |
||
36 | $this->assertSame($this->fixedUri, $this->db->getBaseUri()); |
||
37 | } |
||
38 | |||
39 | public function testFixedBaseUri() |
||
43 | } |
||
44 | } |
||
45 |
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