Passed
Push — master ( 0fbfd0...0a4722 )
by Carsten
11:27
created
module/Core/test/CoreTest/Entity/Status/AbstractSortableStatusTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         ],
36 36
     ];
37 37
 
38
-    private $inheritance = [ AbstractStatus::class ];
38
+    private $inheritance = [AbstractStatus::class];
39 39
 
40 40
     public function xtestGetStatesSortsMap()
41 41
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/Status/AbstractStatusTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     private $target = [
36 36
         Ast_ConcreteStatus::class,
37
-        [ Ast_ConcreteStatus::TEST ],
37
+        [Ast_ConcreteStatus::TEST],
38 38
         '@testInheritance' => [
39 39
             'class' => AbstractStatus::class,
40 40
             'as_reflection' => true
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         '@testConstruction' => false,
45 45
     ];
46 46
 
47
-    private $inheritance = [ StatusInterface::class ];
47
+    private $inheritance = [StatusInterface::class];
48 48
 
49 49
     public function testGetStates()
50 50
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/AttachableEntityTraitTest.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
             ->getMock();
92 92
         $attachableEntityManager->expects($this->once())
93 93
             ->method('setReferences')
94
-            ->with($this->callback(function ($references) {
94
+            ->with($this->callback(function($references) {
95 95
                 return is_array($references);
96 96
             }))
97 97
             ->willReturnSelf();
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/ImageSetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         '@testSetImagesWithPermissions' => ['mock' => ['clear' => 1, 'set' => 0, 'setPermissions']],
44 44
     ];
45 45
 
46
-    private $inheritance = [ ImageSetInterface::class ];
46
+    private $inheritance = [ImageSetInterface::class];
47 47
 
48 48
     /**
49 49
      * @covers ::__construct
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/AttachableEntityManagerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,8 +206,8 @@
 block discarded – undo
206 206
     public function provideTestCreateAttachedEntityData()
207 207
     {
208 208
         return [
209
-            ['EntityClass' ],
210
-            ['EntityClass', 'testkey' ],
209
+            ['EntityClass'],
210
+            ['EntityClass', 'testkey'],
211 211
             ['EntityClass', ['param' => 'value']],
212 212
             ['EntityClass', ['param' => 'value'], 'testkey'],
213 213
         ];
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/PermissionsTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -183,14 +183,14 @@
 block discarded – undo
183 183
     public function provideRolePermissionsData()
184 184
     {
185 185
         return [
186
-            [ 'user', 'user', false, true ],
187
-            [ 'recruiter', 'user', false, false ],
188
-            [ 'all', 'irrelevant', false, true ],
189
-            [ 'user', 'user', true, true ],
190
-            [ 'recruiter', 'user', true, false],
191
-            [ 'all', 'irrelevant', true, true ],
192
-            [ 'testUser', null, true, true ],
193
-            [ 'anonymous', null, true, false ],
186
+            ['user', 'user', false, true],
187
+            ['recruiter', 'user', false, false],
188
+            ['all', 'irrelevant', false, true],
189
+            ['user', 'user', true, true],
190
+            ['recruiter', 'user', true, false],
191
+            ['all', 'irrelevant', true, true],
192
+            ['testUser', null, true, true],
193
+            ['anonymous', null, true, false],
194 194
         ];
195 195
     }
196 196
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Entity/Tree/AbstractLeafsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,15 +47,15 @@
 block discarded – undo
47 47
         ]
48 48
     ];
49 49
 
50
-    private $inheritance = [ LeafsInterface::class ];
50
+    private $inheritance = [LeafsInterface::class];
51 51
 
52
-    private $traits = [ EntityTrait::class ];
52
+    private $traits = [EntityTrait::class];
53 53
 
54 54
     public function propertiesProvider()
55 55
     {
56 56
 
57 57
         return [
58
-            [ 'items', ['default' => new ArrayCollection(), 'value' => new \Doctrine\Common\Collections\ArrayCollection()]],
58
+            ['items', ['default' => new ArrayCollection(), 'value' => new \Doctrine\Common\Collections\ArrayCollection()]],
59 59
         ];
60 60
     }
61 61
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Options/FieldsetCustomizationOptionsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         '@testCopyArrayValues' => Fcot_Mock::class,
42 42
     ];
43 43
 
44
-    private $inheritance = [ AbstractOptions::class ];
44
+    private $inheritance = [AbstractOptions::class];
45 45
 
46 46
     public function propertiesProvider()
47 47
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
            'fields' => [
128 128
                'field' => [
129 129
                    'attributes' => ['attr' => 'attrVal'],
130
-                   'options' => ['opt1' => 'optVal' ],
130
+                   'options' => ['opt1' => 'optVal'],
131 131
                    'label' => 'label',
132 132
                    'required' => true,
133 133
                    'type' => 'ElementType',
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Options/Exception/MissingOptionExceptionTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     protected $target = [
31 31
         'class' => '\Core\Options\Exception\MissingOptionException',
32
-        'args' => [ 'testOptionKey', 'TestTarget' ]
32
+        'args' => ['testOptionKey', 'TestTarget']
33 33
     ];
34 34
 
35 35
     protected $inheritance = [
@@ -44,29 +44,29 @@  discard block
 block discarded – undo
44 44
         $target2 = new MissingOptionException('-', new \stdClass());
45 45
 
46 46
         return [
47
-            [ 'OptionKey', [
47
+            ['OptionKey', [
48 48
                 'value' => 'testOptionKey',
49 49
                 'ignore_setter' => true,
50 50
             ]],
51
-            [ 'target', [
51
+            ['target', [
52 52
                 'value' => 'TestTarget',
53 53
                 'ignore_setter' => true,
54 54
             ]],
55
-            [ 'targetFQCN', [
55
+            ['targetFQCN', [
56 56
                 'value' => 'stdClass',
57 57
                 'target' => $target2,
58 58
                 'ignore_setter' => true,
59 59
             ]],
60
-            [ 'targetFQCN', [
60
+            ['targetFQCN', [
61 61
                 'value' => 'TestTarget',
62 62
                 'ignore_setter' => true,
63 63
             ]],
64
-            [ 'previous', [
64
+            ['previous', [
65 65
                 'value' => $ex,
66 66
                 'target' => $target,
67 67
                 'ignore_setter' => true,
68 68
             ]],
69
-            [ 'message', [
69
+            ['message', [
70 70
                 'value' => 'Missing value for option "testOptionKey" in "TestTarget"',
71 71
                 'ignore_setter' => true,
72 72
             ]]
Please login to merge, or discard this patch.