Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Core/test/CoreTest/Listener/LanguageRouteListener/BaseTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function testDetach()
73 73
     {
74
-    	$callableListener = [new CallableListenerMock(),'doSomething'];
74
+        $callableListener = [new CallableListenerMock(),'doSomething'];
75 75
     	
76 76
         $events = $this
77 77
             ->getMockBuilder(EventManager::class)
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
             ->getMock();
81 81
 
82 82
         $events
83
-	        ->expects($this->any())
84
-	        ->method('attach')
85
-	        ->will(
86
-	        	$this->onConsecutiveCalls($callableListener, $callableListener)
87
-	        )
83
+            ->expects($this->any())
84
+            ->method('attach')
85
+            ->will(
86
+                $this->onConsecutiveCalls($callableListener, $callableListener)
87
+            )
88 88
         ;
89 89
 
90 90
         $events
@@ -103,5 +103,5 @@  discard block
 block discarded – undo
103 103
 
104 104
 class CallableListenerMock
105 105
 {
106
-	public function doSomething(){}
106
+    public function doSomething(){}
107 107
 }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Listener/AjaxRouteListenerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@
 block discarded – undo
110 110
         $results->push($result1);
111 111
         $this->ajaxEventManagerMock->expects($this->once())->method('getEvent')->with('test', $this->target)->willReturn(new AjaxEvent());
112 112
         $this->ajaxEventManagerMock->expects($this->once())->method('triggerEventUntil')
113
-                                   ->with($this->isInstanceOf('\Closure'), $this->isInstanceOf(AjaxEvent::class))
114
-                                   ->willReturn($results);
113
+                                    ->with($this->isInstanceOf('\Closure'), $this->isInstanceOf(AjaxEvent::class))
114
+                                    ->willReturn($results);
115 115
 
116 116
         $response = $this->target->onRoute($event);
117 117
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Collection/IdentityWrapperTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $entry = 'value';
78 78
         $count = count($this->wrappedCollection);
79
-		$this->identityWrapper->add($entry);
79
+        $this->identityWrapper->add($entry);
80 80
         $this->assertSame($count + 1, count($this->identityWrapper));
81 81
         $this->assertSame($count + 1, count($this->wrappedCollection));
82 82
         $this->assertTrue($this->identityWrapper->contains($entry));
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     public function testGetValues()
182 182
     {
183 183
         $expected = array_values($this->entries);
184
-		$this->assertSame($expected, $this->identityWrapper->getValues());
184
+        $this->assertSame($expected, $this->identityWrapper->getValues());
185 185
         $this->assertSame($expected, $this->wrappedCollection->getValues());
186 186
     }
187 187
 
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
     public function testFirst()
235 235
     {
236 236
         $expected = reset($this->entries);
237
-		$this->assertSame($expected, $this->identityWrapper->first());
238
-		$this->assertSame($expected, $this->wrappedCollection->first());
237
+        $this->assertSame($expected, $this->identityWrapper->first());
238
+        $this->assertSame($expected, $this->wrappedCollection->first());
239 239
     }
240 240
 
241 241
     /**
@@ -244,8 +244,8 @@  discard block
 block discarded – undo
244 244
     public function testLast()
245 245
     {
246 246
         $expected = end($this->entries);
247
-		$this->assertSame($expected, $this->identityWrapper->last());
248
-		$this->assertSame($expected, $this->wrappedCollection->last());
247
+        $this->assertSame($expected, $this->identityWrapper->last());
248
+        $this->assertSame($expected, $this->wrappedCollection->last());
249 249
     }
250 250
 
251 251
     /**
@@ -324,9 +324,9 @@  discard block
 block discarded – undo
324 324
             return $value === $searchValue;
325 325
         };
326 326
         $filtered = $this->identityWrapper->filter($filter);
327
-		$this->assertInstanceOf(IdentityWrapper::class, $filtered);
328
-		$this->assertNotSame($this->identityWrapper, $filtered);
329
-		$this->assertSame(array_filter($this->entries, $filter), $filtered->toArray());
327
+        $this->assertInstanceOf(IdentityWrapper::class, $filtered);
328
+        $this->assertNotSame($this->identityWrapper, $filtered);
329
+        $this->assertSame(array_filter($this->entries, $filter), $filtered->toArray());
330 330
     }
331 331
 
332 332
     /**
Please login to merge, or discard this patch.
module/Core/test/CoreTest/EventManager/ListenerAggregateTraitTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,9 +119,9 @@
 block discarded – undo
119 119
  */
120 120
 abstract class BaseTestLatt
121 121
 {
122
-	public function testProp(){}
122
+    public function testProp(){}
123 123
 	
124
-	public function testProp2(){}
124
+    public function testProp2(){}
125 125
 }
126 126
 
127 127
 class Latt_Simple extends BaseTestLatt
Please login to merge, or discard this patch.
module/Core/test/CoreTest/EventManager/EventManager/TriggerTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
  */
26 26
 class TriggerTest extends \PHPUnit_Framework_TestCase
27 27
 {
28
-	/**
29
-	 * @var TriggerTestEventManagerMock
30
-	 */
28
+    /**
29
+     * @var TriggerTestEventManagerMock
30
+     */
31 31
     protected $target;
32 32
 
33 33
     public function setUp()
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Mock/ServiceManager/PluginManagerMock.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     //public function setServiceLocatorDeprecated(ContainerInterface $container, $count = 1)
53 53
     //{
54 54
     //    $this->setExpectedCallCount('getServiceLocator', $count);
55
-	//
55
+    //
56 56
     //    return parent::setServiceLocator($container);
57 57
     //}
58 58
 
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Mock/ServiceManager/Config.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
  */
22 22
 class Config extends ZfConfig
23 23
 {
24
-	public function __construct( array $config = [] ) {
25
-		parent::__construct( $config );
26
-		$this->config = array_merge($this->config,$config);
27
-	}
24
+    public function __construct( array $config = [] ) {
25
+        parent::__construct( $config );
26
+        $this->config = array_merge($this->config,$config);
27
+    }
28 28
 	
29
-	public function configureServiceManager(ServiceManager $serviceManager)
29
+    public function configureServiceManager(ServiceManager $serviceManager)
30 30
     {
31 31
         /* @var ServiceManagerMock $serviceManager */
32 32
         parent::configureServiceManager($serviceManager);
Please login to merge, or discard this patch.
Core/test/CoreTestUtils/Mock/ServiceManager/CreateInstanceFactory.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -53,27 +53,27 @@  discard block
 block discarded – undo
53 53
         $this->args  = $args;
54 54
     }
55 55
 	
56
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
57
-	{
58
-		if (empty($this->args)) {
59
-			return new $this->class;
60
-		}
56
+    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
57
+    {
58
+        if (empty($this->args)) {
59
+            return new $this->class;
60
+        }
61 61
 		
62
-		$reflection = new \ReflectionClass($this->class);
63
-		$args       = array_map(
64
-			function ($arg) use ($container) {
65
-				return is_string($arg) && 0 === strpos($arg, '@') ? $container->get(substr($arg, 1)) : $arg;
66
-			},
67
-			$this->args
68
-		);
62
+        $reflection = new \ReflectionClass($this->class);
63
+        $args       = array_map(
64
+            function ($arg) use ($container) {
65
+                return is_string($arg) && 0 === strpos($arg, '@') ? $container->get(substr($arg, 1)) : $arg;
66
+            },
67
+            $this->args
68
+        );
69 69
 		
70
-		$instance = $reflection->newInstanceArgs($args);
70
+        $instance = $reflection->newInstanceArgs($args);
71 71
 		
72
-		return $instance;
73
-	}
72
+        return $instance;
73
+    }
74 74
 	
75 75
 	
76
-	/**
76
+    /**
77 77
      * Creates a service instance.
78 78
      *
79 79
      * @param ServiceLocatorInterface $serviceLocator
@@ -82,6 +82,6 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function createService(ServiceLocatorInterface $serviceLocator)
84 84
     {
85
-		return $this($serviceLocator,$this->class);
85
+        return $this($serviceLocator,$this->class);
86 86
     }
87 87
 }
88 88
\ No newline at end of file
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/AssertUsesTraitsTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         if (!is_array($traits)) {
49 49
             throw \PHPUnit_Util_InvalidArgumentHelper::factory(
50
-                                                     1,
51
-                                                     'array or ArrayAccess'
50
+                                                        1,
51
+                                                        'array or ArrayAccess'
52 52
             );
53 53
         }
54 54
 
Please login to merge, or discard this patch.