@@ -54,8 +54,8 @@ |
||
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 |
@@ -184,7 +184,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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) { |
@@ -274,7 +274,7 @@ |
||
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 | } |
@@ -35,7 +35,7 @@ |
||
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); |
@@ -58,7 +58,7 @@ |
||
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 |
@@ -44,7 +44,7 @@ |
||
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 | ], |
@@ -58,19 +58,19 @@ |
||
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([ |
@@ -37,7 +37,7 @@ |
||
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); |
@@ -103,8 +103,8 @@ |
||
103 | 103 | ->getMockBuilder('\Core\Form\Form') |
104 | 104 | ->disableOriginalConstructor() |
105 | 105 | ->setMethods(['setIsDisableCapable', 'setIsDisableElementsCapable', |
106 | - 'setIsDescriptionsEnabled', 'setDescription', 'setParam', |
|
107 | - 'setLabel', 'get']) |
|
106 | + 'setIsDescriptionsEnabled', 'setDescription', 'setParam', |
|
107 | + 'setLabel', 'get']) |
|
108 | 108 | ->getMock(); |
109 | 109 | |
110 | 110 | $form->expects($this->once())->method('setIsDisableCapable')->with(false)->will($this->returnSelf()); |