Conditions | 3 |
Paths | 4 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | protected function setUp() |
||
19 | { |
||
20 | if( !class_exists( '\Symfony\Component\HttpFoundation\Response' ) ) { |
||
21 | $this->markTestSkipped( '\Symfony\Component\HttpFoundation\Response is not available' ); |
||
22 | } |
||
23 | |||
24 | if( !class_exists( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory' ) ) { |
||
25 | $this->markTestSkipped( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory is not available' ); |
||
26 | } |
||
27 | |||
28 | $view = new \Aimeos\MW\View\Standard(); |
||
29 | $request = new \Symfony\Component\HttpFoundation\Response( 'Content' ); |
||
30 | $this->object = new \Aimeos\MW\View\Helper\Response\Symfony2( $view, $request ); |
||
31 | } |
||
32 | |||
45 |
This check marks private properties in classes that are never used. Those properties can be removed.