| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class FetchOrderTest extends PHPUnit_Framework_TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param array $input |
||
| 12 | * @param string $url |
||
| 13 | * @param string $xml |
||
| 14 | * @param string $method |
||
| 15 | * @param bool $isExpectXml |
||
| 16 | * @param array $headers |
||
| 17 | * |
||
| 18 | * @return void |
||
| 19 | * |
||
| 20 | * @dataProvider dataResults |
||
| 21 | */ |
||
| 22 | public function testResults(array $input, $url, $xml, $headers, $method, $isExpectXml) |
||
| 23 | { |
||
| 24 | $builder = new FetchOrder($input[0]); |
||
| 25 | |||
| 26 | $this->assertSame($url, $builder->getUrl()); |
||
| 27 | $this->assertSame($method, $builder->getMethod()); |
||
| 28 | $this->assertSame($xml, $builder->getXml()); |
||
| 29 | $this->assertSame($isExpectXml, $builder->isExpectXml()); |
||
| 30 | $this->assertSame($headers, $builder->getHeaders()); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function dataResults() |
||
| 43 | ), |
||
| 44 | ); |
||
| 47 |
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