Completed
Push — master ( 4c14c6...4ad177 )
by Mathias
25s queued 15s
created
module/Core/test/CoreTest/Mail/TranslatorAwareMessageTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     public function testSetSubjectDoesNotTranslate()
95 95
     {
96 96
         $translator = $this->getMockBuilder(Translator::class)->disableOriginalConstructor()
97
-                           ->setMethods(['translate'])->getMock();
97
+                            ->setMethods(['translate'])->getMock();
98 98
         $translator->expects($this->never())->method('translate');
99 99
 
100 100
         $this->target->setTranslator($translator);
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Options/FieldsetCustomizationOptionsTest.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -124,18 +124,18 @@
 block discarded – undo
124 124
     private function getPreparedTarget()
125 125
     {
126 126
         return new FieldsetCustomizationOptions([
127
-           'fields' => [
128
-               'field' => [
129
-                   'attributes' => ['attr' => 'attrVal'],
130
-                   'options' => ['opt1' => 'optVal' ],
131
-                   'label' => 'label',
132
-                   'required' => true,
133
-                   'type' => 'ElementType',
134
-                   'priority' => 12,
135
-                   'flags' => ['priority' => 10],
136
-                   'input_filter' => ['test' => 'works'],
137
-               ],
138
-           ],
127
+            'fields' => [
128
+                'field' => [
129
+                    'attributes' => ['attr' => 'attrVal'],
130
+                    'options' => ['opt1' => 'optVal' ],
131
+                    'label' => 'label',
132
+                    'required' => true,
133
+                    'type' => 'ElementType',
134
+                    'priority' => 12,
135
+                    'flags' => ['priority' => 10],
136
+                    'input_filter' => ['test' => 'works'],
137
+                ],
138
+            ],
139 139
         ]);
140 140
     }
141 141
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/Hydrator/MetaDataHydratorTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
     {
50 50
         $expect = ['extract' => 'works'];
51 51
         $object = $this->getMockBuilder(MetaDataProviderInterface::class)
52
-                       ->setMethods(['getMetaData'])
53
-                       ->getMockForAbstractClass();
52
+                        ->setMethods(['getMetaData'])
53
+                        ->getMockForAbstractClass();
54 54
 
55 55
         $object->expects($this->once())->method('getMetaData')->willReturn($expect);
56 56
 
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
     public function testHydrationOfMetaDataProvider()
70 70
     {
71 71
         $object = $this->getMockBuilder(MetaDataProviderInterface::class)
72
-                       ->setMethods(['setMetaData'])
73
-                       ->getMockForAbstractClass();
72
+                        ->setMethods(['setMetaData'])
73
+                        ->getMockForAbstractClass();
74 74
 
75 75
         $object->expects($this->once())->method('setMetaData')->with('key', 'value');
76 76
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/WizardContainerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $labeldContainer->setLabel('testLabel');
43 43
         $topContainer = new Container();
44 44
         $topContainer->setForm('child', [ '__instance__' => $object ])
45
-                     ->setLabel('top');
45
+                        ->setLabel('top');
46 46
 
47 47
         return [
48 48
             /*[ 'Headscripts', [
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Listener/AjaxRouteListenerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@
 block discarded – undo
110 110
         $results->push($result1);
111 111
         $this->ajaxEventManagerMock->expects($this->once())->method('getEvent')->with('test', $this->target)->willReturn(new AjaxEvent());
112 112
         $this->ajaxEventManagerMock->expects($this->once())->method('triggerEventUntil')
113
-                                   ->with($this->isInstanceOf('\Closure'), $this->isInstanceOf(AjaxEvent::class))
114
-                                   ->willReturn($results);
113
+                                    ->with($this->isInstanceOf('\Closure'), $this->isInstanceOf(AjaxEvent::class))
114
+                                    ->willReturn($results);
115 115
 
116 116
         $response = $this->target->onRoute($event);
117 117
 
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/TestUsesTraitsTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         if (!property_exists($this, 'traits') || !property_exists($this, 'target')) {
37 37
             throw new \PHPUnit_Framework_Exception(self::class . ': ' . static::class
38
-                                                   . ' must define the properties $target and $traits.');
38
+                                                    . ' must define the properties $target and $traits.');
39 39
         }
40 40
 
41 41
         $this->assertUsesTraits($this->traits, $this->target);
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Factory/Form/AttachmentsFormFactoryTest.php 1 patch
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.
module/Cv/test/CvTest/Form/SearchFormTest.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -65,41 +65,41 @@
 block discarded – undo
65 65
                 ['cv-list-filter']
66 66
             );
67 67
         $add1 = [
68
-                 'name' => 'l',
69
-                 'type' => 'LocationSelect',
70
-                 'options' => [
71
-                     'label' => 'Location',
72
-                     'span' => 3,
73
-                     'location_entity' => \Cv\Entity\Location::class,
74
-                 ],
75
-                 'attributes' => [
76
-                     'data-width' => '100%',
77
-                 ],
78
-             ];
68
+                    'name' => 'l',
69
+                    'type' => 'LocationSelect',
70
+                    'options' => [
71
+                        'label' => 'Location',
72
+                        'span' => 3,
73
+                        'location_entity' => \Cv\Entity\Location::class,
74
+                    ],
75
+                    'attributes' => [
76
+                        'data-width' => '100%',
77
+                    ],
78
+                ];
79 79
 
80 80
         $add2 = [
81
-                 'name' => 'd',
82
-                 'type' => 'Core\Form\Element\Select',
83
-                 'options' => [
84
-                     'label' => /*@translate*/ 'Distance',
85
-                     'value_options' => [
86
-                         '5' => '5 km',
87
-                         '10' => '10 km',
88
-                         '20' => '20 km',
89
-                         '50' => '50 km',
90
-                         '100' => '100 km'
91
-                     ],
92
-                     'span' => 4,
81
+                    'name' => 'd',
82
+                    'type' => 'Core\Form\Element\Select',
83
+                    'options' => [
84
+                        'label' => /*@translate*/ 'Distance',
85
+                        'value_options' => [
86
+                            '5' => '5 km',
87
+                            '10' => '10 km',
88
+                            '20' => '20 km',
89
+                            '50' => '50 km',
90
+                            '100' => '100 km'
91
+                        ],
92
+                        'span' => 4,
93 93
 
94
-                 ],
95
-                 'attributes' => [
96
-                     'value' => '10',
97
-                     'data-searchbox' => -1,
98
-                     'data-allowclear' => 'false',
99
-                     'data-placeholder' => 'Distance',
100
-                     'data-width' => '100%',
101
-                 ]
102
-             ];
94
+                    ],
95
+                    'attributes' => [
96
+                        'value' => '10',
97
+                        'data-searchbox' => -1,
98
+                        'data-allowclear' => 'false',
99
+                        'data-placeholder' => 'Distance',
100
+                        'data-width' => '100%',
101
+                    ]
102
+                ];
103 103
 
104 104
         $this->target->expects($this->exactly(2))->method('add')
105 105
             ->withConsecutive(
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Form/PreferredJobFieldsetTest.php 1 patch
Indentation   +69 added lines, -69 removed lines patch added patch discarded remove patch
@@ -77,76 +77,76 @@
 block discarded – undo
77 77
     public function testInitializesItself()
78 78
     {
79 79
         $add = [
80
-                 [
81
-                     'name' => 'typeOfApplication',
82
-                     'type' => 'select',
83
-                     'options' => [
84
-                         'value_options' => $this->attributes['typeOfApplicationOptions'],
85
-                         'label' =>  'desired type of work',
86
-                         'description' =>  'Do you want to work permanently or temporary?',
87
-                     ],
88
-                     'attributes' => [
89
-                         'title' =>  'please describe your position',
90
-                         'description' => 'what kind of ',
91
-                         'data-placeholder' =>  'please select',
92
-                         'data-allowclear' => 'false',
93
-                         'data-searchbox' => -1,
94
-                         'multiple' => true,
95
-                         'data-width' => '100%',
96
-                     ],
97
-                 ],
80
+                    [
81
+                        'name' => 'typeOfApplication',
82
+                        'type' => 'select',
83
+                        'options' => [
84
+                            'value_options' => $this->attributes['typeOfApplicationOptions'],
85
+                            'label' =>  'desired type of work',
86
+                            'description' =>  'Do you want to work permanently or temporary?',
87
+                        ],
88
+                        'attributes' => [
89
+                            'title' =>  'please describe your position',
90
+                            'description' => 'what kind of ',
91
+                            'data-placeholder' =>  'please select',
92
+                            'data-allowclear' => 'false',
93
+                            'data-searchbox' => -1,
94
+                            'multiple' => true,
95
+                            'data-width' => '100%',
96
+                        ],
97
+                    ],
98 98
 
99
-             [
100
-                 'name' => 'desiredJob',
101
-                 'type' => 'Text',
102
-                 'options' => [
103
-                     'label' =>  'desired job position',
104
-                     'description' =>  'Enter the title of your desired job. Eg. "Software Developer" or "Customer Service Representative"',
105
-                 ],
106
-                 'attributes' => [
107
-                     'title' =>  'please describe your position',
108
-                 ],
109
-             ],
110
-             [
111
-                 'name' => 'desiredLocations',
112
-                 'type' => 'LocationSelect',
113
-                 'options' => [
114
-                     'label' =>  'desired job location',
115
-                     'description' =>  'Where do you want to work?',
116
-                     'location_entity' => new Location(),
117
-                 ],
118
-                 'attributes' => [
119
-                     'title' =>  'please describe your position',
120
-                     'multiple' => true,
121
-                     'data-width' => '100%',
122
-                 ],
123
-             ],
124
-             [
125
-                 'name' => 'willingnessToTravel',
126
-                 'type' => 'Select',
127
-                 'options' => [
128
-                     'value_options' => $this->attributes['willingnessToTravelOptions'],
129
-                     'label' =>  'Willingness to travel',
130
-                     'description' =>  'Enter your willingness to travel.',
131
-                 ],
132
-                 'attributes' => [
133
-                     'data-placeholder' =>  'please select',
134
-                     'data-allowclear' => 'false',
135
-                     'data-searchbox' => -1,
136
-                     'data-width' => '100%'
137
-                 ],
138
-             ],
139
-             [
140
-                 'name' => 'expectedSalary',
141
-                 'type' => 'Text',
142
-                 'options' => [
143
-                     'label' =>  'expected Salary',
144
-                     'description' =>  'What is your expected Salary?',
145
-                 ],
146
-                 'attributes' => [
147
-                     'title' =>  'please describe your position',
148
-                 ],
149
-             ],
99
+                [
100
+                    'name' => 'desiredJob',
101
+                    'type' => 'Text',
102
+                    'options' => [
103
+                        'label' =>  'desired job position',
104
+                        'description' =>  'Enter the title of your desired job. Eg. "Software Developer" or "Customer Service Representative"',
105
+                    ],
106
+                    'attributes' => [
107
+                        'title' =>  'please describe your position',
108
+                    ],
109
+                ],
110
+                [
111
+                    'name' => 'desiredLocations',
112
+                    'type' => 'LocationSelect',
113
+                    'options' => [
114
+                        'label' =>  'desired job location',
115
+                        'description' =>  'Where do you want to work?',
116
+                        'location_entity' => new Location(),
117
+                    ],
118
+                    'attributes' => [
119
+                        'title' =>  'please describe your position',
120
+                        'multiple' => true,
121
+                        'data-width' => '100%',
122
+                    ],
123
+                ],
124
+                [
125
+                    'name' => 'willingnessToTravel',
126
+                    'type' => 'Select',
127
+                    'options' => [
128
+                        'value_options' => $this->attributes['willingnessToTravelOptions'],
129
+                        'label' =>  'Willingness to travel',
130
+                        'description' =>  'Enter your willingness to travel.',
131
+                    ],
132
+                    'attributes' => [
133
+                        'data-placeholder' =>  'please select',
134
+                        'data-allowclear' => 'false',
135
+                        'data-searchbox' => -1,
136
+                        'data-width' => '100%'
137
+                    ],
138
+                ],
139
+                [
140
+                    'name' => 'expectedSalary',
141
+                    'type' => 'Text',
142
+                    'options' => [
143
+                        'label' =>  'expected Salary',
144
+                        'description' =>  'What is your expected Salary?',
145
+                    ],
146
+                    'attributes' => [
147
+                        'title' =>  'please describe your position',
148
+                    ],
149
+                ],
150 150
         ];
151 151
 
152 152
         $callCount = count($add);
Please login to merge, or discard this patch.