Passed
Push — master ( 0fbfd0...0a4722 )
by Carsten
11:27
created
module/Jobs/test/JobsTest/Form/OrganizationSelectTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function testSetAndGetHeadscripts()
53 53
     {
54
-        $this->assertEquals([ 'modules/Jobs/js/form.organization-select.js' ], $this->target->getHeadscripts());
55
-        $this->assertSame($this->target, $this->target->setHeadscripts([ 'script1' ]), 'Fluent interface broken on "setHeadscripts"');
56
-        $this->assertEquals([ 'script1' ], $this->target->getHeadscripts());
54
+        $this->assertEquals(['modules/Jobs/js/form.organization-select.js'], $this->target->getHeadscripts());
55
+        $this->assertSame($this->target, $this->target->setHeadscripts(['script1']), 'Fluent interface broken on "setHeadscripts"');
56
+        $this->assertEquals(['script1'], $this->target->getHeadscripts());
57 57
     }
58 58
 
59 59
     public function testSetsDefaultAttributesOnInit()
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
         ]);
79 79
 
80 80
         return [
81
-            [ [ $org1 ], false ],
82
-            [ [ $org1 ], true ],
81
+            [[$org1], false],
82
+            [[$org1], true],
83 83
         ];
84 84
     }
85 85
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CustomerNoteTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     private $target = CustomerNote::class;
30 30
 
31
-    private $inheritance = [ SummaryForm::class ];
31
+    private $inheritance = [SummaryForm::class];
32 32
 
33 33
     private $attributes = [
34 34
         'baseFieldset' => 'Jobs/CustomerNoteFieldset',
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/BaseFieldsetTest.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
     ];
36 36
 
37
-    private $inheritance = [ Fieldset::class ];
37
+    private $inheritance = [Fieldset::class];
38 38
 
39 39
     public function testInitialize()
40 40
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/ListFilterPersonalTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     public function testConstructor()
21 21
     {
22
-        $target= new ListFilterPersonalFieldset();
22
+        $target = new ListFilterPersonalFieldset();
23 23
         $this->assertInstanceOf('Jobs\Form\ListFilterPersonalFieldset', $target);
24 24
     }
25 25
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CustomerNoteFieldsetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         ],
40 40
     ];
41 41
 
42
-    private $inheritance = [ MetaDataFieldset::class, ViewPartialProviderInterface::class ];
42
+    private $inheritance = [MetaDataFieldset::class, ViewPartialProviderInterface::class];
43 43
 
44 44
     private $attributes = [
45 45
         'defaultPartial' => 'jobs/form/customer-note'
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/ClassificationsFieldsetTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,14 +36,14 @@
 block discarded – undo
36 36
     private $target = [
37 37
         ClassificationsFieldset::class,
38 38
         '@testInitialize' => [
39
-            'mock' => ['setName' => ['with' => 'classifications'], 'add' ],
39
+            'mock' => ['setName' => ['with' => 'classifications'], 'add'],
40 40
         ],
41 41
     ];
42 42
 
43
-    private $inheritance = [ Fieldset::class ];
43
+    private $inheritance = [Fieldset::class];
44 44
 
45 45
     private $properties = [
46
-        ['hydrator', ['ignore_setter' => true, 'ignore_getter' => true, 'default@' => EntityHydrator::class ]],
46
+        ['hydrator', ['ignore_setter' => true, 'ignore_getter' => true, 'default@' => EntityHydrator::class]],
47 47
     ];
48 48
 
49 49
     public function testInitialize()
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/ListFilterAdminTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testConstructor()
21 21
     {
22
-        $target= new ListFilterAdminFieldset();
22
+        $target = new ListFilterAdminFieldset();
23 23
         $this->assertInstanceOf('Jobs\Form\ListFilterAdminFieldset', $target);
24 24
     }
25 25
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                  ),
46 46
                  'attributes' => array(
47 47
                      'value' => Status::CREATED,
48
-                     'data-searchbox'  => -1,  // hide the search box
48
+                     'data-searchbox'  => -1, // hide the search box
49 49
                      'data-allowclear' => 'false', // allow to clear a selected value
50 50
                  )
51 51
         ];
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/ListFilterBaseTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     public function testConstructor()
21 21
     {
22
-        $target= new ListFilterBaseFieldset();
22
+        $target = new ListFilterBaseFieldset();
23 23
         $this->assertInstanceOf('Jobs\Form\ListFilterBaseFieldset', $target);
24 24
     }
25 25
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $add1 = ['type' => 'Hidden',
34 34
                  'name' => 'page',
35
-                 'attributes' => ['value' => 1,]
35
+                 'attributes' => ['value' => 1, ]
36 36
         ];
37 37
 
38 38
         $add2 = [
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CategoriesContainerTest.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
     ];
36 36
 
37
-    private $inheritance = [ WizardContainer::class ];
37
+    private $inheritance = [WizardContainer::class];
38 38
 
39 39
     public function testInitialize()
40 40
     {
Please login to merge, or discard this patch.