@@ -26,8 +26,8 @@ |
||
26 | 26 | * |
27 | 27 | * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers |
28 | 28 | */ |
29 | - public function __construct( \Aimeos\MW\View\Iface $view ) |
|
29 | + public function __construct(\Aimeos\MW\View\Iface $view) |
|
30 | 30 | { |
31 | - parent::__construct( $view, new \Zend\Diactoros\Response() ); |
|
31 | + parent::__construct($view, new \Zend\Diactoros\Response()); |
|
32 | 32 | } |
33 | 33 | } |
@@ -17,23 +17,23 @@ |
||
17 | 17 | |
18 | 18 | protected function setUp() |
19 | 19 | { |
20 | - if( !class_exists( '\Zend\Diactoros\Response' ) ) { |
|
21 | - $this->markTestSkipped( '\Zend\Diactoros\Response is not available' ); |
|
20 | + if (!class_exists('\Zend\Diactoros\Response')) { |
|
21 | + $this->markTestSkipped('\Zend\Diactoros\Response is not available'); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | $view = new \Aimeos\MW\View\Standard(); |
25 | - $this->object = new \Aimeos\MW\View\Helper\Response\Symfony2( $view ); |
|
25 | + $this->object = new \Aimeos\MW\View\Helper\Response\Symfony2($view); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | |
29 | 29 | public function testTransform() |
30 | 30 | { |
31 | - $this->assertInstanceOf( '\Aimeos\MW\View\Helper\Response\Symfony2', $this->object->transform() ); |
|
31 | + $this->assertInstanceOf('\Aimeos\MW\View\Helper\Response\Symfony2', $this->object->transform()); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | |
35 | 35 | public function testCreateStream() |
36 | 36 | { |
37 | - $this->assertInstanceOf( '\Psr\Http\Message\StreamInterface', $this->object->createStream( __FILE__ ) ); |
|
37 | + $this->assertInstanceOf('\Psr\Http\Message\StreamInterface', $this->object->createStream(__FILE__)); |
|
38 | 38 | } |
39 | 39 | } |