Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Core/test/CoreTestUtils/TestCase/InitValueTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,24 +27,24 @@
 block discarded – undo
27 27
     {
28 28
         /* @var $this \PHPUnit\Framework\TestCase */
29 29
 
30
-        $getter = 'get' . $propName;
30
+        $getter = 'get'.$propName;
31 31
         if (is_object($expectedValue)) {
32 32
             $this->assertInstanceOf(
33 33
                 get_class($expectedValue),
34 34
                 $object->$getter(),
35
-                '::' . $getter . '() init value should return a type of ' . get_class($expectedValue)
35
+                '::'.$getter.'() init value should return a type of '.get_class($expectedValue)
36 36
             );
37 37
         } elseif (is_array($expectedValue)) {
38 38
             $this->assertSame(
39 39
                 $expectedValue,
40 40
                 $object->$getter(),
41
-                '::' . $getter . '() init value should return an empty array'
41
+                '::'.$getter.'() init value should return an empty array'
42 42
             );
43 43
         } else {
44 44
             $this->assertEquals(
45 45
                 $expectedValue,
46 46
                 $object->$getter(),
47
-                '::' . $getter . '() init value should return ' . $expectedValue
47
+                '::'.$getter.'() init value should return '.$expectedValue
48 48
             );
49 49
         }
50 50
     }
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/TestDefaultAttributesTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     {
46 46
         if (!property_exists($this, 'target') || !is_object($this->target)) {
47 47
             throw new \PHPUnit_Framework_Exception(
48
-                self::class . ': ' . static::class
48
+                self::class.': '.static::class
49 49
                 . ' must define the property $target and its value must be an object.'
50 50
             );
51 51
         }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         if (!is_array($attributes)) {
57 57
             throw new \PHPUnit_Framework_Exception(
58
-                self::class . ': ' . static::class . ': Invalid format of attributes. Must be an array of attribute => value pairs.'
58
+                self::class.': '.static::class.': Invalid format of attributes. Must be an array of attribute => value pairs.'
59 59
             );
60 60
         }
61 61
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         if (!property_exists($this, 'attributes')) {
68 68
             throw new \PHPUnit_Framework_Exception(
69
-                self::class . ': ' . static::class
69
+                self::class.': '.static::class
70 70
                 . ' must define the property $attributes with an array of attribute => value pairs.'
71 71
             );
72 72
         }
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Constraint/UsesTraits.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     protected function failureDescription($other): string
81 81
     {
82 82
         $name = $other instanceof \ReflectionClass ? $other->getName() : (is_string($other) ? $other : get_class($other));
83
-        return $name . ' ' . $this->toString();
83
+        return $name.' '.$this->toString();
84 84
     }
85 85
 
86 86
     protected function additionalFailureDescription($other): string
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Constraint/ExtendsOrImplements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     protected function failureDescription($other): string
83 83
     {
84
-        return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)) . ' ' . $this->toString();
84
+        return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)).' '.$this->toString();
85 85
     }
86 86
 
87 87
     protected function additionalFailureDescription($other): string
Please login to merge, or discard this patch.
Core/test/CoreTestUtils/Mock/ServiceManager/CreateInstanceFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         
64 64
         $reflection = new \ReflectionClass($this->class);
65 65
         $args       = array_map(
66
-            function ($arg) use ($container) {
66
+            function($arg) use ($container) {
67 67
                 return is_string($arg) && 0 === strpos($arg, '@') ? $container->get(substr($arg, 1)) : $arg;
68 68
             },
69 69
             $this->args
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Mock/ServiceManager/PluginManagerMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
                                 $methodName,
176 176
                                 '*' == $name ? '' : $name,
177 177
                                 $count,
178
-                                null === $options ? '' : ' with options hash ' . $optHash,
178
+                                null === $options ? '' : ' with options hash '.$optHash,
179 179
                                 $actual
180 180
                             )
181 181
                         );
Please login to merge, or discard this patch.
test/OrganizationsTest/Auth/Dependency/EmployeeListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.
Organizations/test/OrganizationsTest/Auth/Dependency/ListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Auth/Dependency/ListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.