Completed
Push — develop ( 8cb156...27be84 )
by
unknown
17:07
created
module/Applications/src/Applications/Form/ApplicationsFilter.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -36,50 +36,50 @@
 block discarded – undo
36 36
     {
37 37
 
38 38
         $this->add(
39
-             [
40
-                 'type' => JobSelect::class,
41
-                 'name' => 'job',
42
-                 'options' => [
43
-                     'label' => /* @translate */ 'Enter job title',
44
-                     //'empty_option' => 'Enter job title',
45
-                 ],
46
-                 'attributes' => [
47
-                     'id' => 'job-filter',
48
-                     'class' => 'form-control',
49
-                     'data-placeholder' => 'Enter job title',
50
-                     'data-autoinit' => 'false',
51
-                     'data-submit-on-change' => 'true',
52
-                 ]
53
-             ]
39
+                [
40
+                    'type' => JobSelect::class,
41
+                    'name' => 'job',
42
+                    'options' => [
43
+                        'label' => /* @translate */ 'Enter job title',
44
+                        //'empty_option' => 'Enter job title',
45
+                    ],
46
+                    'attributes' => [
47
+                        'id' => 'job-filter',
48
+                        'class' => 'form-control',
49
+                        'data-placeholder' => 'Enter job title',
50
+                        'data-autoinit' => 'false',
51
+                        'data-submit-on-change' => 'true',
52
+                    ]
53
+                ]
54 54
         );
55 55
 
56 56
         $this->add(
57
-             [
58
-                 'type' => 'Applications\Form\Element\StatusSelect',
59
-                 'name' => 'status',
60
-                 'options' => [
61
-                     'label' => /* @translate */ 'Status',
62
-                 ],
63
-                 'attributes' => [
64
-                     'data-width' => '100%',
65
-                     'data-submit-on-change' => 'true',
66
-                     'data-placeholder' => /*@translate*/ 'all',
67
-                 ]
68
-             ]
57
+                [
58
+                    'type' => 'Applications\Form\Element\StatusSelect',
59
+                    'name' => 'status',
60
+                    'options' => [
61
+                        'label' => /* @translate */ 'Status',
62
+                    ],
63
+                    'attributes' => [
64
+                        'data-width' => '100%',
65
+                        'data-submit-on-change' => 'true',
66
+                        'data-placeholder' => /*@translate*/ 'all',
67
+                    ]
68
+                ]
69 69
         );
70 70
 
71 71
         $this->add(
72
-             ['type' => 'ToggleButton',
73
-                   'name' => 'unread',
74
-                   'options' => [
75
-                       'checked_value' => '1',
76
-                       'unchecked_value' => '0',
77
-                       'label' => 'unread',
78
-                   ],
79
-                 'attributes' => [
80
-                     'data-submit-on-change' => 'true',
81
-                 ]
82
-             ]
72
+                ['type' => 'ToggleButton',
73
+                    'name' => 'unread',
74
+                    'options' => [
75
+                        'checked_value' => '1',
76
+                        'unchecked_value' => '0',
77
+                        'label' => 'unread',
78
+                    ],
79
+                    'attributes' => [
80
+                        'data-submit-on-change' => 'true',
81
+                    ]
82
+                ]
83 83
         );
84 84
 
85 85
         $this->setButtonElement('unread');
Please login to merge, or discard this patch.
module/Applications/config/module.config.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -13,20 +13,20 @@  discard block
 block discarded – undo
13 13
 
14 14
 return [
15 15
     'doctrine' => [
16
-       'driver' => [
16
+        'driver' => [
17 17
             'odm_default' => [
18 18
                 'drivers' => [
19 19
                     'Applications\Entity' => 'annotation',
20 20
                 ],
21 21
             ],
22 22
             'annotation' => [
23
-               /*
23
+                /*
24 24
                 * All drivers (except DriverChain) require paths to work on. You
25 25
                 * may set this value as a string (for a single path) or an array
26 26
                 * for multiple paths.
27 27
                 * example https://github.com/doctrine/DoctrineORMModule
28 28
                 */
29
-               'paths' => [ __DIR__ . '/../src/Applications/Entity']
29
+                'paths' => [ __DIR__ . '/../src/Applications/Entity']
30 30
             ],
31 31
         ],
32 32
         'eventmanager' => [
@@ -66,17 +66,17 @@  discard block
 block discarded – undo
66 66
             'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions',
67 67
         ],
68 68
         'factories' => [
69
-           'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
70
-           'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
71
-           'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
72
-           'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
73
-           'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
74
-           'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
75
-           'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
69
+            'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
70
+            'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
71
+            'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
72
+            'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
73
+            'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
74
+            'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
75
+            'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
76 76
             Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class,
77 77
         ],
78 78
         'aliases' => [
79
-           'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
79
+            'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
80 80
         ]
81 81
     ],
82 82
     'controllers' => [
@@ -175,20 +175,20 @@  discard block
 block discarded – undo
175 175
     ],
176 176
     'form_elements' => [
177 177
         'invokables' => [
178
-             'Applications/Mail' => 'Applications\Form\Mail',
179
-             'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
180
-             'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
181
-             'Applications/CommentForm' => 'Applications\Form\CommentForm',
182
-             'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
183
-             'Applications/Apply' => 'Applications\Form\Apply',
184
-             'Applications/Contact' => 'Applications\Form\ContactContainer',
185
-             'Applications/Base'  => 'Applications\Form\Base',
186
-             'Applications/Facts' => 'Applications\Form\Facts',
187
-             'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
188
-             'Applications/Attributes' => 'Applications\Form\Attributes',
189
-             'href' => 'Applications\Form\Element\Ref',
178
+                'Applications/Mail' => 'Applications\Form\Mail',
179
+                'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
180
+                'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
181
+                'Applications/CommentForm' => 'Applications\Form\CommentForm',
182
+                'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
183
+                'Applications/Apply' => 'Applications\Form\Apply',
184
+                'Applications/Contact' => 'Applications\Form\ContactContainer',
185
+                'Applications/Base'  => 'Applications\Form\Base',
186
+                'Applications/Facts' => 'Applications\Form\Facts',
187
+                'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
188
+                'Applications/Attributes' => 'Applications\Form\Attributes',
189
+                'href' => 'Applications\Form\Element\Ref',
190 190
 
191
-         ],
191
+            ],
192 192
         'factories' => [
193 193
             'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory',
194 194
             'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory',
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
             'Applications\Form\Element\StatusSelect' => Factory\Form\StatusSelectFactory::class,
197 197
             Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class
198 198
         ],
199
-     ],
199
+        ],
200 200
 
201 201
     'form_elements_config' => [
202 202
         'Applications/Apply' => [
Please login to merge, or discard this patch.