Completed
Push — develop ( a73e2c...030f10 )
by Carsten
28:43 queued 13:31
created
module/Geo/test/TestConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     //     ),
59 59
     // )
60 60
 
61
-   // Initial configuration with which to seed the ServiceManager.
62
-   // Should be compatible with Zend\ServiceManager\Config.
63
-   // 'service_manager' => array(),
61
+    // Initial configuration with which to seed the ServiceManager.
62
+    // Should be compatible with Zend\ServiceManager\Config.
63
+    // 'service_manager' => array(),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
module/Geo/test/GeoTest/Form/GeoSelectTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                         'data-placeholder' => 'Location',
45 45
                         'data-autoinit' => false,
46 46
                         'class' => 'geoselect',
47
-                         'data-clear-on-reset' => true
47
+                            'data-clear-on-reset' => true
48 48
                     ]],
49 49
                     'count' => 1
50 50
                 ],
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,13 +52,13 @@  discard block
 block discarded – undo
52 52
         ],
53 53
     ];
54 54
 
55
-    private $inheritance = [ Select::class, HeadscriptProviderInterface::class, HydratorStrategyProviderInterface::class ];
55
+    private $inheritance = [Select::class, HeadscriptProviderInterface::class, HydratorStrategyProviderInterface::class];
56 56
 
57
-    private $traits = [ HydratorStrategyProviderTrait::class ];
57
+    private $traits = [HydratorStrategyProviderTrait::class];
58 58
 
59 59
     private $attributes = [
60 60
         'disableInArrayValidator' => true,
61
-        'headscripts' => [ 'modules/Geo/js/geoselect.js' ],
61
+        'headscripts' => ['modules/Geo/js/geoselect.js'],
62 62
     ];
63 63
 
64 64
     public function propertiesProvider()
@@ -66,13 +66,13 @@  discard block
 block discarded – undo
66 66
         return [
67 67
             ['value', [
68 68
                 'value' => 'value',
69
-                'post'  => function () {
69
+                'post'  => function() {
70 70
                     $this->assertEquals('value', $this->target->getAttribute('data-val'));
71 71
                 },
72 72
             ]],
73 73
             ['value', [
74 74
                 'value' => ['one', 'two'],
75
-                'post' => function () {
75
+                'post' => function() {
76 76
                     $this->assertEquals(Json::encode(['one', 'two']), $this->target->getAttribute('data-val'));
77 77
                 },
78 78
             ]],
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Factory/Form/AttachmentsFormFactoryTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,8 @@
 block discarded – undo
103 103
             ->getMockBuilder('\Core\Form\Form')
104 104
             ->disableOriginalConstructor()
105 105
             ->setMethods(['setIsDisableCapable', 'setIsDisableElementsCapable',
106
-                          'setIsDescriptionsEnabled', 'setDescription', 'setParam',
107
-                          'setLabel', 'get'])
106
+                            'setIsDescriptionsEnabled', 'setDescription', 'setParam',
107
+                            'setLabel', 'get'])
108 108
             ->getMock();
109 109
 
110 110
         $form->expects($this->once())->method('setIsDisableCapable')->with(false)->will($this->returnSelf());
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         '@testDefaultPropertyValues' => AttachmentsFormFactory::class,
39 39
     ];
40 40
 
41
-    private $inheritance = [ FileUploadFactory::class ];
41
+    private $inheritance = [FileUploadFactory::class];
42 42
 
43 43
     private $attributes = [
44 44
         'fileElement' => 'Core/FileUpload',
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
     public function provideTypes()
62 62
     {
63 63
         return [
64
-            [ null ],
65
-            [ ['text/plain'] ],
64
+            [null],
65
+            [['text/plain']],
66 66
         ];
67 67
     }
68 68
 
Please login to merge, or discard this patch.
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.
Cv/test/CvTest/Repository/Event/UpdateFilesPermissionsSubscriberTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
         '@testGetFilesAppendsContactImage' => UfpsMock::class,
42 42
     ];
43 43
 
44
-    private $inheritance = [ AbstractUpdateFilesPermissionsSubscriber::class ];
44
+    private $inheritance = [AbstractUpdateFilesPermissionsSubscriber::class];
45 45
 
46 46
     public function testDefaultAttributesValues()
47 47
     {
48 48
         $this->assertAttributeEquals(Cv::class, 'targetDocument', $this->target);
49
-        $this->assertAttributeEquals([ 'attachments' ], 'filesProperties', $this->target);
49
+        $this->assertAttributeEquals(['attachments'], 'filesProperties', $this->target);
50 50
     }
51 51
 
52 52
     public function testGetFilesAppendsContactImage()
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.