Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function testMakeLink() |
||
18 | { |
||
19 | $sut = new MapGenerator(); |
||
20 | |||
21 | $long1 = -4; |
||
22 | $lat1 = -1.5; |
||
23 | $long2 = 4; |
||
24 | $lat2 = 1.5; |
||
25 | $latitude = 0; |
||
26 | $longitude = 0; |
||
27 | $link = "https://www.openstreetmap.org/export/embed.html?bbox=${long1}%2C${lat1}%2C${long2}%2C${lat2}&layer=mapnik&marker=${latitude}%2C${longitude}"; |
||
28 | |||
29 | $result = $sut->MakeLink($latitude, $longitude); |
||
30 | |||
31 | $this->assertEquals($link, $result); |
||
32 | } |
||
34 |
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