@@ -17,27 +17,27 @@ |
||
| 17 | 17 | |
| 18 | 18 | protected function setUp() |
| 19 | 19 | { |
| 20 | - if( !class_exists( '\Illuminate\Http\Response' ) ) { |
|
| 21 | - $this->markTestSkipped( '\Illuminate\Http\Response is not available' ); |
|
| 20 | + if (!class_exists('\Illuminate\Http\Response')) { |
|
| 21 | + $this->markTestSkipped('\Illuminate\Http\Response is not available'); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - if( !class_exists( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory' ) ) { |
|
| 25 | - $this->markTestSkipped( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory is not available' ); |
|
| 24 | + if (!class_exists('\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory')) { |
|
| 25 | + $this->markTestSkipped('\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory is not available'); |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | $view = new \Aimeos\MW\View\Standard(); |
| 29 | - $this->object = new \Aimeos\MW\View\Helper\Response\Laravel5( $view ); |
|
| 29 | + $this->object = new \Aimeos\MW\View\Helper\Response\Laravel5($view); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 | protected function tearDown() |
| 34 | 34 | { |
| 35 | - unset( $this->object, $this->mock ); |
|
| 35 | + unset($this->object, $this->mock); |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | public function testTransform() |
| 40 | 40 | { |
| 41 | - $this->assertInstanceOf( '\Aimeos\MW\View\Helper\Response\Laravel5', $this->object->transform() ); |
|
| 41 | + $this->assertInstanceOf('\Aimeos\MW\View\Helper\Response\Laravel5', $this->object->transform()); |
|
| 42 | 42 | } |
| 43 | 43 | } |