Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Core/test/CoreTestUtils/TestCase/ServiceManagerMockTrait.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -105,10 +105,10 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function createPluginManagerMock($services = [], $parent = null, $count = 1)
107 107
     {
108
-    	if(is_null($parent)){
109
-    		$parent = $this->getServiceManagerMock();
110
-	    }
111
-    	$arrConfig = array();
108
+        if(is_null($parent)){
109
+            $parent = $this->getServiceManagerMock();
110
+        }
111
+        $arrConfig = array();
112 112
         if (is_array($services)) {
113 113
             $config = new ServiceManagerMockConfig(['mocks' => $services]);
114 114
         } else {
@@ -119,11 +119,11 @@  discard block
 block discarded – undo
119 119
 	    
120 120
         $pluginManagerMock = new PluginManagerMock($parent);
121 121
         if($config instanceof ServiceManagerMockConfig){
122
-	        $config->configureServiceManager($pluginManagerMock);
122
+            $config->configureServiceManager($pluginManagerMock);
123 123
         }
124 124
 
125 125
         //@TODO: [ZF3] Check if removing the lines below is safe
126
-	    //if (null !== $parent) {
126
+        //if (null !== $parent) {
127 127
         //    $pluginManagerMock->setServiceLocator($parent, $count);
128 128
         //}
129 129
 
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/AssertInheritanceTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
54 54
 
55 55
         if (!is_array($parentsAndInterfaces)) {
56 56
             throw \PHPUnit_Util_InvalidArgumentHelper::factory(
57
-                                                     1,
58
-                                                     'array or ArrayAccess'
57
+                                                        1,
58
+                                                        'array or ArrayAccess'
59 59
             );
60 60
         }
61 61
 
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/TestSetterGetterTrait.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         $errTmpl = __METHOD__ . ': ' . get_class($this);
185 185
         if (!property_exists($this, 'target') || (!is_object($this->target) && !isset($spec['target']))) {
186 186
             throw new \PHPUnit_Framework_Exception($errTmpl
187
-                                                   . ' must define the property "target" and the value must be an object.');
187
+                                                    . ' must define the property "target" and the value must be an object.');
188 188
         }
189 189
 
190 190
         if (!is_array($spec)) {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
         if (isset($spec['setter_exception'])) {
236 236
             $this->_setterGetter_assertSetterGetterException($setterMethod, $spec['setter_exception'], $spec['value'],
237
-                                                             $setterArgs
237
+                                                                $setterArgs
238 238
             );
239 239
 
240 240
             return;
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         if (!isset($spec['ignore_setter']) || !$spec['ignore_setter']) {
251 251
             $assert = isset($spec['setter_assert']) ? $spec['setter_assert'] : null;
252 252
             $this->_setterGetter_assertSetterValue($setterMethod, $spec['value'], $setterArgs, $assert,
253
-                                                   array_key_exists('setter_value', $spec)
253
+                                                    array_key_exists('setter_value', $spec)
254 254
                                                        ? $spec['setter_value']
255 255
                                                        : '__FLUENT_INTERFACE__'
256 256
             );
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
 
259 259
         if (isset($spec['getter_exception'])) {
260 260
             $this->_setterGetter_assertSetterGetterException($getterMethod, $spec['getter_exception'], '__GETTER_EXCEPTION__',
261
-                                                             $getterArgs
261
+                                                                $getterArgs
262 262
             );
263 263
 
264 264
             return;
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         } else if (!isset($spec['ignore_getter']) || !$spec['ignore_getter']) {
272 272
             $assert = isset($spec['getter_assert']) ? $spec['getter_assert'] : null;
273 273
             $this->_setterGetter_assertGetterValue($getterMethod, array_key_exists('expect', $spec) ? $spec['expect'] : $spec['value'],
274
-                                                   $getterArgs, $assert
274
+                                                    $getterArgs, $assert
275 275
             );
276 276
         }
277 277
 
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
         }
382 382
 
383 383
         $err = __TRAIT__ . ': ' . get_class($this) . ': Setter ' . get_class($this->target) . '::' . $setter
384
-               . ($expect === $this->target ? ' breaks fluent interface.' : ' does not return expected value.');
384
+                . ($expect === $this->target ? ' breaks fluent interface.' : ' does not return expected value.');
385 385
 
386 386
 
387 387
         if (false === $args) {
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/SetupTargetTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
                                      : (isset($methodSpec['return'])
275 275
                                         ? ('__self__' === $methodSpec['return'] ? $this->returnSelf() : $this->returnValue($methodSpec['return']))
276 276
                                         : null
277
-                                       ),
277
+                                        ),
278 278
                     ];
279 279
                 }
280 280
             }
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/TestUsesTraitsTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         if (!property_exists($this, 'traits') || !property_exists($this, 'target')) {
37 37
             throw new \PHPUnit_Framework_Exception(self::class . ': ' . static::class
38
-                                                   . ' must define the properties $target and $traits.');
38
+                                                    . ' must define the properties $target and $traits.');
39 39
         }
40 40
 
41 41
         $this->assertUsesTraits($this->traits, $this->target);
Please login to merge, or discard this patch.
module/Geo/test/TestConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     //     ),
59 59
     // )
60 60
 
61
-   // Initial configuration with which to seed the ServiceManager.
62
-   // Should be compatible with Zend\ServiceManager\Config.
63
-   // 'service_manager' => array(),
61
+    // Initial configuration with which to seed the ServiceManager.
62
+    // Should be compatible with Zend\ServiceManager\Config.
63
+    // 'service_manager' => array(),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
module/Geo/test/GeoTest/Form/GeoSelectTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                         'data-placeholder' => 'Location',
45 45
                         'data-autoinit' => false,
46 46
                         'class' => 'geoselect',
47
-                         'data-clear-on-reset' => true
47
+                            'data-clear-on-reset' => true
48 48
                     ]],
49 49
                     'count' => 1
50 50
                 ],
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Factory/Controller/ViewControllerFactoryTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -58,19 +58,19 @@
 block discarded – undo
58 58
     public function testInvokeCreatesController()
59 59
     {
60 60
         $repository = $this
61
-	        ->getMockBuilder('\Cv\Repository\Cv')
62
-	        ->disableOriginalConstructor()
63
-	        ->getMock()
61
+            ->getMockBuilder('\Cv\Repository\Cv')
62
+            ->disableOriginalConstructor()
63
+            ->getMock()
64 64
         ;
65 65
         $repositories = $this
66
-	        ->createPluginManagerMock([
67
-	        	'Cv/Cv' => [ 'service' => $repository, 'count_get' => 1 ]
68
-	        ]
69
-	        )
66
+            ->createPluginManagerMock([
67
+                'Cv/Cv' => [ 'service' => $repository, 'count_get' => 1 ]
68
+            ]
69
+            )
70 70
         ;
71 71
         $translator = $this
72
-	        ->getMockBuilder(TranslatorInterface::class)
73
-	        ->getMock()
72
+            ->getMockBuilder(TranslatorInterface::class)
73
+            ->getMock()
74 74
         ;
75 75
 
76 76
         $services = $this->createServiceManagerMock([
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Factory/Form/EducationCollectionFactoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
     public function testInvokation()
39 39
     {
40
-    	$sm = new ServiceManager();
40
+        $sm = new ServiceManager();
41 41
         $container = $this->target->__invoke($sm,'irrelevant');
42 42
 
43 43
         $this->assertInstanceOf(CollectionContainer::class, $container);
Please login to merge, or discard this patch.