Completed
Push — master ( 539bbb...8c7f97 )
by Aimeos
02:43
created
lib/custom/src/MW/View/Helper/Response/Symfony2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/custom/tests/MW/View/Helper/Response/Symfony2Test.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,23 +17,23 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.