Completed
Push — master ( 811327...4aef6e )
by Carsten
14:04 queued 19s
created
module/Cv/test/CvTest/Entity/AttachmentTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
         ]
35 35
     ];
36 36
 
37
-    private $inheritance = [ FileEntity::class ];
37
+    private $inheritance = [FileEntity::class];
38 38
 
39 39
     private $properties = [
40
-        [ 'uri', [ 'ignore_setter' => true, 'value' => "/file/Cv.Attachment/test/name" ]]
40
+        ['uri', ['ignore_setter' => true, 'value' => "/file/Cv.Attachment/test/name"]]
41 41
     ];
42 42
 
43 43
     private function setupSetterGetterTarget()
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/PreferredJobTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,14 +25,14 @@
 block discarded – undo
25 25
 
26 26
     private $target = PreferredJob::class;
27 27
 
28
-    private $inheritance = [ AbstractIdentifiableEntity::class, PreferredJobInterface::class ];
28
+    private $inheritance = [AbstractIdentifiableEntity::class, PreferredJobInterface::class];
29 29
 
30 30
     private $properties = [
31
-        [ 'typeOfApplication', [ 'default' => [], 'value' => ['temporary']]],
32
-        [ 'desiredJob', 'Software Developer' ],
33
-        [ 'desiredLocation', 'SomeCity' ],
34
-        [ 'desiredLocations', [ '@default' => ArrayCollection::class, '@value' => ArrayCollection::class]],
35
-        [ 'willingnessToTravel', 'Yes' ],
36
-        [ 'expectedSalary', '1000 USD' ],
31
+        ['typeOfApplication', ['default' => [], 'value' => ['temporary']]],
32
+        ['desiredJob', 'Software Developer'],
33
+        ['desiredLocation', 'SomeCity'],
34
+        ['desiredLocations', ['@default' => ArrayCollection::class, '@value' => ArrayCollection::class]],
35
+        ['willingnessToTravel', 'Yes'],
36
+        ['expectedSalary', '1000 USD'],
37 37
     ];
38 38
 }
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/ContactTest.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
         '@testConstructorCallsInheritWhenUserInfoIsPassed' => false,
36 36
     ];
37 37
 
38
-    private $inheritance = [ Info::class, InfoInterface::class ];
38
+    private $inheritance = [Info::class, InfoInterface::class];
39 39
 
40 40
 
41 41
     public function testConstructorCallsInheritWhenUserInfoIsPassed()
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/NativeLanguageTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
 
33 33
     private $target = NativeLanguage::class;
34 34
 
35
-    private $inheritance = [ 'Core\Entity\AbstractEntity' ];
35
+    private $inheritance = ['Core\Entity\AbstractEntity'];
36 36
 
37 37
     private $properties = [
38
-        [ 'language', 'Some Language' ],
39
-        [ 'language', [ '@value' => NativeLanguageTestEnglish::class, 'expect' => 'English' ]]
38
+        ['language', 'Some Language'],
39
+        ['language', ['@value' => NativeLanguageTestEnglish::class, 'expect' => 'English']]
40 40
     ];
41 41
 }
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/SkillTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@
 block discarded – undo
28 28
 
29 29
     protected $target = Skill::class;
30 30
 
31
-    protected $inheritance = [ '\Core\Entity\AbstractIdentifiableEntity' ];
31
+    protected $inheritance = ['\Core\Entity\AbstractIdentifiableEntity'];
32 32
 
33 33
     public function propertiesProvider()
34 34
     {
35 35
         $options = [
36
-            'default' => '@' . ArrayCollection::class,
36
+            'default' => '@'.ArrayCollection::class,
37 37
             'value' => new ArrayCollection(),
38 38
         ];
39 39
 
40 40
         return [
41
-            [ 'nativeLanguages', $options ],
42
-            [ 'languageSkills',  $options ],
43
-            [ 'computerSkills',  $options ],
41
+            ['nativeLanguages', $options],
42
+            ['languageSkills', $options],
43
+            ['computerSkills', $options],
44 44
         ];
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Options/ModuleOptionsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
 
30 30
     private $target = ModuleOptions::class;
31 31
 
32
-    private $inheritance = [ AbstractOptions::class ];
32
+    private $inheritance = [AbstractOptions::class];
33 33
 
34 34
     private $properties = [
35
-        ['attachmentsMaxSize', ['value' => '1234', 'default' => 5000000] ],
35
+        ['attachmentsMaxSize', ['value' => '1234', 'default' => 5000000]],
36 36
         ['attachmentsMimeType', [
37 37
             'value' => ['mime/type'],
38 38
             'default' => [
39
-                'image','applications/pdf',
39
+                'image', 'applications/pdf',
40 40
                 'application/x-pdf',
41 41
                 'application/acrobat',
42 42
                 'applications/vnd.pdf',
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Form/NativeLanguageFieldsetTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -152,17 +152,17 @@
 block discarded – undo
152 152
             'mock' => [
153 153
                 'add',
154 154
                 'setName' => ['with' => 'nativeLanguages', 'count' => 1, 'return' => '__self__'],
155
-                'setHydrator' => ['@with' => ['isInstanceOf', EntityHydrator::class ], 'count' => 1, 'return' => '__self__'],
156
-                'setObject' => ['@with' => ['isInstanceOf', NativeLanguage::class ], 'count' => 1, 'return' => '__self__'],
155
+                'setHydrator' => ['@with' => ['isInstanceOf', EntityHydrator::class], 'count' => 1, 'return' => '__self__'],
156
+                'setObject' => ['@with' => ['isInstanceOf', NativeLanguage::class], 'count' => 1, 'return' => '__self__'],
157 157
                 'setLabel' => ['with' => 'Native Language', 'count' => 1]
158 158
             ],
159 159
             'args' => false,
160 160
         ],
161 161
     ];
162 162
 
163
-    private $inheritance = [ Fieldset::class, EmptySummaryAwareInterface::class ];
163
+    private $inheritance = [Fieldset::class, EmptySummaryAwareInterface::class];
164 164
 
165
-    private $traits = [ EmptySummaryAwareTrait::class ];
165
+    private $traits = [EmptySummaryAwareTrait::class];
166 166
 
167 167
     private function getDefaultAttributes()
168 168
     {
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Form/EmploymentFormTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         ],
46 46
     ];
47 47
 
48
-    private $inheritance = [ SummaryForm::class ];
48
+    private $inheritance = [SummaryForm::class];
49 49
 
50 50
     private $attributes = [
51 51
         'baseFieldset' => 'EmploymentFieldset',
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Form/EducationFormTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         ],
46 46
     ];
47 47
 
48
-    private $inheritance = [ SummaryForm::class ];
48
+    private $inheritance = [SummaryForm::class];
49 49
 
50 50
     private $attributes = [
51 51
         'baseFieldset' => 'EducationFieldset',
Please login to merge, or discard this patch.