@@ -1,5 +1,5 @@ |
||
1 | 1 | Number of files: |
2 | 2 | <?php |
3 | 3 | $quantity = ( isset( $this->quantity ) ? $this->quantity : 0 ); |
4 | -echo $quantity . ' ' . $this->translate( 'test', 'File', 'Files', $quantity ); |
|
4 | +echo $quantity.' '.$this->translate( 'test', 'File', 'Files', $quantity ); |
|
5 | 5 | ?> |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | |
19 | 19 | protected function setUp() |
20 | 20 | { |
21 | - $this->object = new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles' . DIRECTORY_SEPARATOR . 'php' ) ) ); |
|
21 | + $this->object = new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles'.DIRECTORY_SEPARATOR.'php' ) ) ); |
|
22 | 22 | $this->translate = new \Aimeos\MW\View\Helper\Translate\Standard( $this->object, new \Aimeos\MW\Translation\None( 'en_GB' ) ); |
23 | 23 | } |
24 | 24 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $this->object->addHelper( 'translate', $this->translate ); |
95 | 95 | |
96 | 96 | $ds = DIRECTORY_SEPARATOR; |
97 | - $filenames = array( 'notexisting', __DIR__ . $ds . '_testfiles'. $ds . 'php' . $ds . 'template.php' ); |
|
97 | + $filenames = array( 'notexisting', __DIR__.$ds.'_testfiles'.$ds.'php'.$ds.'template.php' ); |
|
98 | 98 | |
99 | 99 | |
100 | 100 | $this->object->assign( array( 'quantity' => 1 ) ); |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | protected function setUp() |
19 | 19 | { |
20 | 20 | $engines = array( |
21 | - '.php' => new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles' . DIRECTORY_SEPARATOR . 'php' ) ) ), |
|
22 | - '.phtml' => new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles' . DIRECTORY_SEPARATOR . 'phtml' ) ) ), |
|
21 | + '.php' => new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles'.DIRECTORY_SEPARATOR.'php' ) ) ), |
|
22 | + '.phtml' => new \Aimeos\MW\View\Standard( array( __DIR__ => array( '_testfiles'.DIRECTORY_SEPARATOR.'phtml' ) ) ), |
|
23 | 23 | ); |
24 | 24 | |
25 | 25 | $this->object = new \Aimeos\MW\View\Compose( $engines ); |
@@ -98,8 +98,8 @@ discard block |
||
98 | 98 | $this->object->addHelper( 'translate', $this->translate ); |
99 | 99 | |
100 | 100 | $ds = DIRECTORY_SEPARATOR; |
101 | - $phpList = array( 'notexisting', __DIR__ . $ds . '_testfiles' . $ds . 'php' . $ds . 'template.php' ); |
|
102 | - $phtmlList = array( 'notexisting', __DIR__ . $ds . '_testfiles' . $ds . 'phtml' . $ds . 'template.phtml' ); |
|
101 | + $phpList = array( 'notexisting', __DIR__.$ds.'_testfiles'.$ds.'php'.$ds.'template.php' ); |
|
102 | + $phtmlList = array( 'notexisting', __DIR__.$ds.'_testfiles'.$ds.'phtml'.$ds.'template.phtml' ); |
|
103 | 103 | |
104 | 104 | |
105 | 105 | $this->object->assign( array( 'quantity' => 1 ) ); |