Passed
Pull Request — master (#600)
by Mathias
13:24
created
CoreTest/Entity/AbstractIdentifiableModificationDateAwareEntityTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function providerCreateDate()
44 44
     {
45 45
         return [
46
-            [ new \DateTime("2010-11-12"), new \DateTime("2010-11-12")],
46
+            [new \DateTime("2010-11-12"), new \DateTime("2010-11-12")],
47 47
             ];
48 48
     }
49 49
 
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
         $timezone = getenv('TIMEZONE');
69 69
         $timezone = new \DateTimeZone($timezone);
70 70
         return [
71
-            [ new \DateTime("2010-11-12"), new \DateTime("2010-11-12", $timezone)],
72
-            [ "2011-12-13" , new \DateTime("2011-12-13", $timezone)]
71
+            [new \DateTime("2010-11-12"), new \DateTime("2010-11-12", $timezone)],
72
+            ["2011-12-13", new \DateTime("2011-12-13", $timezone)]
73 73
         ];
74 74
     }
75 75
 
Please login to merge, or discard this patch.
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.