Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class FlowTest extends \PHPUnit\Framework\TestCase |
||
|
|||
13 | { |
||
14 | private $object; |
||
15 | private $mock; |
||
16 | |||
17 | |||
18 | protected function setUp() |
||
19 | { |
||
20 | if( class_exists( 'Neos\Cache\Frontend\StringFrontend' ) === false ) { |
||
21 | $this->markTestSkipped( 'Class \\Neos\\Cache\\Frontend\\StringFrontend not found' ); |
||
22 | } |
||
23 | |||
24 | $localeItem = $this->getMockBuilder( \Aimeos\MShop\Locale\Item\Standard::class ) |
||
25 | ->setMethods( ['getSiteId']) |
||
26 | ->getMock(); |
||
27 | |||
28 | $this->mock = $this->getMockBuilder( 'Neos\Cache\Frontend\StringFrontend' ) |
||
29 | ->disableOriginalConstructor() |
||
30 | ->getMock(); |
||
31 | |||
32 | $context = \TestHelper::getContext(); |
||
33 | $context->setLocale( $localeItem ); |
||
34 | |||
35 | $this->object = new \Aimeos\MAdmin\Cache\Proxy\Flow( $context, $this->mock ); |
||
36 | } |
||
37 | |||
38 | |||
39 | protected function tearDown() |
||
42 | } |
||
43 | |||
44 | |||
45 | public function testGetObject() |
||
53 | } |
||
54 | } |
||
55 |
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