Passed
Push — master ( 379a1e...d9f573 )
by Aimeos
03:42
created
lib/custom/src/MW/View/Helper/Request/Flow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 		$uri = (string) $nativeRequest->getUri();
92 92
 		$method = $nativeRequest->getMethod();
93 93
 
94
-		$body = new Stream('php://temp', 'wb+');
94
+		$body = new Stream( 'php://temp', 'wb+' );
95 95
 		$body->write( $nativeRequest->getContent() );
96 96
 
97 97
 		return new ServerRequest( $server, $files, $uri, $method, $body, $headers, $cookies, $query, $post );
Please login to merge, or discard this patch.
lib/custom/tests/MAdmin/Cache/Proxy/FlowTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 		}
23 23
 
24 24
 		$localeItem = $this->getMockBuilder( \Aimeos\MShop\Locale\Item\Standard::class )
25
-			->setMethods( ['getSiteId'])
25
+			->setMethods( ['getSiteId'] )
26 26
 			->getMock();
27 27
 
28 28
 		$this->mock = $this->getMockBuilder( 'Neos\Cache\Frontend\StringFrontend' )
Please login to merge, or discard this patch.
lib/custom/tests/MW/View/Helper/Url/FlowTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	public function testTransform()
42 42
 	{
43 43
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
44
-			->will( $this->returnValue( '/shop/catalog/lists') );
44
+			->will( $this->returnValue( '/shop/catalog/lists' ) );
45 45
 
46 46
 		$this->assertEquals( '/shop/catalog/lists', $this->object->transform( 'shop', 'catalog', 'lists' ) );
47 47
 	}
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	public function testTransformSlashes()
51 51
 	{
52 52
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
53
-			->will( $this->returnValue( '/shop/catalog/lists?test=a%2Fb') );
53
+			->will( $this->returnValue( '/shop/catalog/lists?test=a%2Fb' ) );
54 54
 
55 55
 		$this->assertEquals( '/shop/catalog/lists?test=a%2Fb', $this->object->transform( 'shop', 'catalog', 'lists', array( 'test' => 'a/b' ) ) );
56 56
 	}
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	public function testTransformArrays()
60 60
 	{
61 61
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
62
-			->will( $this->returnValue( '/shop/catalog/list?test%5B0%5D=a&test%5B1%5D=b') );
62
+			->will( $this->returnValue( '/shop/catalog/list?test%5B0%5D=a&test%5B1%5D=b' ) );
63 63
 
64 64
 		$this->assertEquals( '/shop/catalog/list?test%5B0%5D=a&test%5B1%5D=b', $this->object->transform( 'shop', 'catalog', 'lists', array( 'test' => array( 'a', 'b' ) ) ) );
65 65
 	}
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	public function testTransformTrailing()
69 69
 	{
70 70
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
71
-			->will( $this->returnValue( '/shop/catalog/lists#a/b') );
71
+			->will( $this->returnValue( '/shop/catalog/lists#a/b' ) );
72 72
 
73 73
 		$this->assertEquals( '/shop/catalog/lists#a/b', $this->object->transform( 'shop', 'catalog', 'lists', [], array( 'a', 'b' ) ) );
74 74
 	}
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	public function testTransformAbsolute()
78 78
 	{
79 79
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
80
-			->will( $this->returnValue( 'http://localhost/shop/catalog/lists') );
80
+			->will( $this->returnValue( 'http://localhost/shop/catalog/lists' ) );
81 81
 
82 82
 		$options = array( 'absoluteUri' => true );
83 83
 		$result = $this->object->transform( 'shop', 'catalog', 'lists', [], [], $options );
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	public function testTransformConfig()
90 90
 	{
91 91
 		$this->buildMock->expects( $this->once() )->method( 'uriFor' )
92
-			->will( $this->returnValue( '/shop/catalog/lists') );
92
+			->will( $this->returnValue( '/shop/catalog/lists' ) );
93 93
 
94 94
 		$options = array( 'package' => 'test', 'subpackage' => 'subtest', 'format' => 'fmt' );
95 95
 		$result = $this->object->transform( 'shop', 'catalog', 'lists', [], [], $options );
Please login to merge, or discard this patch.
lib/custom/tests/TestHelper.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	 * @return \Aimeos\MShop\Context\Item\Iface Context object
54 54
 	 */
55 55
 		private static function createContext( $site )
56
-	{
56
+		{
57 57
 		$ctx = new \Aimeos\MShop\Context\Item\Standard();
58 58
 		$mshop = self::getAimeos();
59 59
 
Please login to merge, or discard this patch.