Completed
Push — master ( 815faa...197710 )
by Aimeos
07:55
created
lib/mshoplib/tests/Perf/ProductTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 		}
50 50
 
51 51
 		$stop = microtime( true );
52
-		echo "\n    product detail: " . ( ( $stop - $start ) * 1000 ) . " msec\n";
52
+		echo "\n    product detail: ".( ( $stop - $start ) * 1000 )." msec\n";
53 53
 	}
54 54
 
55 55
 }
Please login to merge, or discard this patch.
lib/mwlib/src/MW/Filesystem/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 			throw new \Aimeos\MW\Filesystem\Exception( 'File system not configured' );
33 33
 		}
34 34
 
35
-		$classname = '\\Aimeos\\MW\\Filesystem\\' . ucfirst( (string) $config['adapter'] );
35
+		$classname = '\\Aimeos\\MW\\Filesystem\\'.ucfirst( (string) $config['adapter'] );
36 36
 
37 37
 		if( !class_exists( $classname ) ) {
38 38
 			throw new \Aimeos\MW\Filesystem\Exception( sprintf( 'File system "%1$s" not found', $config['adapter'] ) );
Please login to merge, or discard this patch.
lib/mwlib/src/MW/Filesystem/Manager/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	 */
63 63
 	protected function getConfig( $name )
64 64
 	{
65
-		if( ( $conf = $this->config->get( 'resource/' . $name ) ) !== null ) {
65
+		if( ( $conf = $this->config->get( 'resource/'.$name ) ) !== null ) {
66 66
 			return $conf;
67 67
 		}
68 68
 
Please login to merge, or discard this patch.
lib/mwlib/src/MW/MQueue/Queue/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	 */
37 37
 	public function __construct( \Aimeos\MW\DB\Connection\Iface $conn, $queue, $sql, $rtime )
38 38
 	{
39
-		$this->cname = md5( microtime(true) . getmypid() );
39
+		$this->cname = md5( microtime( true ).getmypid() );
40 40
 		$this->conn = $conn;
41 41
 		$this->queue = $queue;
42 42
 		$this->sql = $sql;
Please login to merge, or discard this patch.
lib/mwlib/src/MW/MQueue/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 			throw new \Aimeos\MW\MQueue\Exception( 'Message queue not configured' );
33 33
 		}
34 34
 
35
-		$classname = '\\Aimeos\\MW\\MQueue\\' . ucfirst( (string) $config['adapter'] );
35
+		$classname = '\\Aimeos\\MW\\MQueue\\'.ucfirst( (string) $config['adapter'] );
36 36
 
37 37
 		if( !class_exists( $classname ) ) {
38 38
 			throw new \Aimeos\MW\MQueue\Exception( sprintf( 'Message queue "%1$s" not found', $config['adapter'] ) );
Please login to merge, or discard this patch.
lib/mwlib/src/MW/MQueue/Manager/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	 */
67 67
 	protected function getConfig( &$resource )
68 68
 	{
69
-		if( ( $conf = $this->config->get( 'resource/' . $resource ) ) !== null ) {
69
+		if( ( $conf = $this->config->get( 'resource/'.$resource ) ) !== null ) {
70 70
 			return $conf;
71 71
 		}
72 72
 
Please login to merge, or discard this patch.
lib/mwlib/src/MW/View/Standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
 		{
63 63
 			if( ctype_alnum( $name ) === false )
64 64
 			{
65
-				$classname = is_string( $name ) ? '\\Aimeos\\MW\\View\\Helper\\' . $name : '<not a string>';
65
+				$classname = is_string( $name ) ? '\\Aimeos\\MW\\View\\Helper\\'.$name : '<not a string>';
66 66
 				throw new \Aimeos\MW\View\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) );
67 67
 			}
68 68
 
69 69
 			$iface = '\\Aimeos\\MW\\View\\Helper\\Iface';
70
-			$classname = '\\Aimeos\\MW\\View\\Helper\\' . ucfirst( $name ) . '\\Standard';
70
+			$classname = '\\Aimeos\\MW\\View\\Helper\\'.ucfirst( $name ).'\\Standard';
71 71
 
72 72
 			if( class_exists( $classname ) === false ) {
73 73
 				throw new \Aimeos\MW\View\Exception( sprintf( 'Class "%1$s" not available', $classname ) );
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 			{
250 250
 				foreach( $relPaths as $relPath )
251 251
 				{
252
-					$absPath = $path . $ds . $relPath . $ds . $file;
252
+					$absPath = $path.$ds.$relPath.$ds.$file;
253 253
 					if( $ds !== '/' ) {
254 254
 						$absPath = str_replace( '/', $ds, $absPath );
255 255
 					}
Please login to merge, or discard this patch.
lib/mwlib/src/MW/View/Helper/Content/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 	public function transform( $url )
55 55
 	{
56 56
 		if( strncmp( $url, 'http', 4 ) !== 0 && strncmp( $url, 'data', 4 ) !== 0 ) {
57
-			$url = $this->baseurl . ( $url && $url[0] === '/' ? $url : '/' . $url );
57
+			$url = $this->baseurl.( $url && $url[0] === '/' ? $url : '/'.$url );
58 58
 		}
59 59
 
60 60
 		return $this->enc->attr( $url );
Please login to merge, or discard this patch.
lib/mwlib/src/MW/View/Helper/Formparam/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 		}
57 57
 
58 58
 		foreach( $names as $name ) {
59
-			$result .= '[' . $name . ']';
59
+			$result .= '['.$name.']';
60 60
 		}
61 61
 
62 62
 		return $result;
Please login to merge, or discard this patch.