Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Cv/test/CvTest/Factory/Form/CvContactImageFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     private $target = CvContactImageFactory::class;
32 32
 
33
-    private $inheritance = [ UserImageFactory::class ];
33
+    private $inheritance = [UserImageFactory::class];
34 34
 
35 35
     private $attributes = [
36 36
         'fileEntityClass' => 'Cv\Entity\ContactImage',
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Controller/ViewControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @var array
52 52
      */
53
-    private $inheritance = [ AbstractActionController::class ];
53
+    private $inheritance = [AbstractActionController::class];
54 54
 
55 55
     /**
56 56
      *
Please login to merge, or discard this patch.
Cv/test/CvTest/Repository/Event/DeleteRemovedAttachmentsSubscriberTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
 
38 38
     private $target = DeleteRemovedAttachmentsSubscriber::class;
39 39
 
40
-    private $inheritance = [ EventSubscriber::class ];
40
+    private $inheritance = [EventSubscriber::class];
41 41
 
42 42
     private $properties = [
43
-        ['subscribedEvents', ['default' => ['postRemoveEntity']] ]
43
+        ['subscribedEvents', ['default' => ['postRemoveEntity']]]
44 44
     ];
45 45
 
46 46
     public function testCallbackReturnsNullIfTargetIsNotAnAttachmentEntity()
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/EmploymentTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     private $target = Employment::class;
28 28
 
29
-    private $inheritance = [ 'Core\Entity\AbstractIdentifiableEntity' ];
29
+    private $inheritance = ['Core\Entity\AbstractIdentifiableEntity'];
30 30
 
31 31
     private $properties = [
32 32
         ['startDate', '01-01-2001'],
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/LanguageTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     private $target = Language::class;
36 36
 
37
-    private $inheritance = [ AbstractIdentifiableEntity::class , LanguageInterface::class ];
37
+    private $inheritance = [AbstractIdentifiableEntity::class, LanguageInterface::class];
38 38
 
39 39
     private $properties = [
40 40
         ['language', 'English'],
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.