Completed
Push — develop ( b3f423...097e50 )
by
unknown
15:31 queued 07:54
created
module/Organizations/src/Organizations/Filter/Recipients.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
      */
35 35
     public function filter($value)
36 36
     {
37
-        if (!$value instanceof Job){
37
+        if (!$value instanceof Job) {
38 38
 
39 39
         }
40
-        $reciptients=[];
40
+        $reciptients = [];
41 41
 
42 42
         return $reciptients;
43 43
     }
Please login to merge, or discard this patch.
module/Orders/config/module.config.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                  * for multiple paths.
24 24
                  * example https://github.com/doctrine/DoctrineORMModule
25 25
                  */
26
-                'paths' => array( __DIR__ . '/../src/Entity'),
26
+                'paths' => array(__DIR__.'/../src/Entity'),
27 27
             ),
28 28
         ],
29 29
     ],
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         'translation_file_patterns' => array(
34 34
             array(
35 35
                 'type'     => 'gettext',
36
-                'base_dir' => __DIR__ . '/../language',
36
+                'base_dir' => __DIR__.'/../language',
37 37
                 'pattern'  => '%s.mo',
38 38
             ),
39 39
         ),
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
 
43 43
     'event_manager' => [
44 44
 
45
-        'Jobs/Events' => [ 'listeners' => [
46
-            'Orders/Listener/CreateJobOrder' => [ \Jobs\Listener\Events\JobEvent::EVENT_JOB_CREATED, true ],
45
+        'Jobs/Events' => ['listeners' => [
46
+            'Orders/Listener/CreateJobOrder' => [\Jobs\Listener\Events\JobEvent::EVENT_JOB_CREATED, true],
47 47
         ]],
48 48
 
49
-        'Jobs/JobContainer/Events' => [ 'listeners' => [
49
+        'Jobs/JobContainer/Events' => ['listeners' => [
50 50
             '\Orders\Form\Listener\DisableJobInvoiceAddress' => 'DisableElements',
51 51
             'Orders\Form\Listener\InjectInvoiceAddressInJobContainer' => \Core\Form\Event\FormEvent::EVENT_INIT,
52 52
             '\Orders\Form\Listener\ValidateJobInvoiceAddress' => 'ValidateJob',
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             ],
60 60
         ],
61 61
 
62
-        'Core/AdminController/Events' => [ 'listeners' => [
62
+        'Core/AdminController/Events' => ['listeners' => [
63 63
             'Orders/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD,
64 64
         ]],
65 65
     ],
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     'view_helper_config' => [
83 83
         'headscript' => [
84 84
             'lang/orders' => [
85
-                [ \Zend\View\Helper\HeadScript::FILE, 'Orders/js/list.index.js', 'PREPEND' ],
85
+                [\Zend\View\Helper\HeadScript::FILE, 'Orders/js/list.index.js', 'PREPEND'],
86 86
                 'js/bootstrap-dialog.min.js'
87 87
             ],
88 88
         ],
Please login to merge, or discard this patch.
module/Orders/src/Form/InvoiceAddressSettingsFieldset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * map label of fieldset. You can set the order by using an array [<label>,<priority>]
25 25
      */
26 26
     protected $labelMap = [
27
-        'name'  => [ /*@translate*/ 'Contact Person', -20],
27
+        'name'  => [/*@translate*/ 'Contact Person', -20],
28 28
         'company' => /*@translate*/ 'Company',
29 29
         'street' => /*@translate*/ 'Street',
30 30
         'zipCode' => /*@translate*/ 'Postalcode',
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 'attributes' => [
55 55
                     'data-placeholder' => /*@translate*/ 'please select',
56 56
                     'data-allowclear' => 'false',
57
-                    'data-searchbox' => -1,  // hide the search box
57
+                    'data-searchbox' => -1, // hide the search box
58 58
                     'required' => true, // mark label as required
59 59
                 ],
60 60
             ],
Please login to merge, or discard this patch.
module/Orders/src/Form/InvoiceAddressFieldset.php 1 patch
Indentation   +62 added lines, -62 removed lines patch added patch discarded remove patch
@@ -27,70 +27,70 @@  discard block
 block discarded – undo
27 27
         $this->setName('invoiceAddress');
28 28
 
29 29
         $this->add([
30
-                       'type'       => 'text',
31
-                       'name'       => 'company',
32
-                       'options'    => [
33
-                           'label'       => /*@translate*/ 'Company',
34
-                           'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address',
35
-                       ],
36
-                       'attributes' => [
37
-                           'required' => true, // marks the label as required.
38
-                       ]
39
-                   ]
30
+                        'type'       => 'text',
31
+                        'name'       => 'company',
32
+                        'options'    => [
33
+                            'label'       => /*@translate*/ 'Company',
34
+                            'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address',
35
+                        ],
36
+                        'attributes' => [
37
+                            'required' => true, // marks the label as required.
38
+                        ]
39
+                    ]
40 40
         );
41 41
 
42 42
         $this->add([
43
-                       'type'    => 'text',
44
-                       'name'    => 'street',
45
-                       'options' => [
46
-                           'label' => /*@translate*/ 'Street',
47
-                       ],
48
-                   ]
43
+                        'type'    => 'text',
44
+                        'name'    => 'street',
45
+                        'options' => [
46
+                            'label' => /*@translate*/ 'Street',
47
+                        ],
48
+                    ]
49 49
         );
50 50
 
51 51
         $this->add([
52
-                       'type'    => 'text',
53
-                       'name'    => 'zipCode',
54
-                       'options' => [
55
-                           'label' => /* @translate */ 'Postalcode'
56
-                       ],
57
-                   ]
52
+                        'type'    => 'text',
53
+                        'name'    => 'zipCode',
54
+                        'options' => [
55
+                            'label' => /* @translate */ 'Postalcode'
56
+                        ],
57
+                    ]
58 58
         );
59 59
 
60 60
         $this->add([
61
-                       'type'    => 'text',
62
-                       'name'    => 'city',
63
-                       'options' => [
64
-                           'label' => /*@translate*/ 'City',
65
-                       ],
66
-                   ]
61
+                        'type'    => 'text',
62
+                        'name'    => 'city',
63
+                        'options' => [
64
+                            'label' => /*@translate*/ 'City',
65
+                        ],
66
+                    ]
67 67
         );
68 68
 
69 69
         $this->add([
70
-                       'type'    => 'text',
71
-                       'name'    => 'region',
72
-                       'options' => [
73
-                           'label' => /*@translate*/ 'Region',
74
-                       ],
75
-                   ]
70
+                        'type'    => 'text',
71
+                        'name'    => 'region',
72
+                        'options' => [
73
+                            'label' => /*@translate*/ 'Region',
74
+                        ],
75
+                    ]
76 76
         );
77 77
 
78 78
         $this->add([
79
-                       'type'    => 'text',
80
-                       'name'    => 'country',
81
-                       'options' => [
82
-                           'label' => /*@translate*/ 'Country',
83
-                       ],
84
-                   ]
79
+                        'type'    => 'text',
80
+                        'name'    => 'country',
81
+                        'options' => [
82
+                            'label' => /*@translate*/ 'Country',
83
+                        ],
84
+                    ]
85 85
         );
86 86
 
87 87
         $this->add([
88
-                       'type'    => 'text',
89
-                       'name'    => 'vatIdNumber',
90
-                       'options' => [
91
-                           'label' => /*@translate*/ 'Value added tax ID',
92
-                       ],
93
-                   ]
88
+                        'type'    => 'text',
89
+                        'name'    => 'vatIdNumber',
90
+                        'options' => [
91
+                            'label' => /*@translate*/ 'Value added tax ID',
92
+                        ],
93
+                    ]
94 94
         );
95 95
         $this->add(
96 96
             array(
@@ -114,25 +114,25 @@  discard block
 block discarded – undo
114 114
         );
115 115
 
116 116
         $this->add([
117
-                       'type'    => 'text',
118
-                       'name'    => 'name',
119
-                       'options' => [
120
-                           'label'       => /*@translate*/ 'Contact Person',
121
-                           'description' => /*@translate*/ 'Please enter the name of a contact person',
122
-                       ],
123
-                   ]
117
+                        'type'    => 'text',
118
+                        'name'    => 'name',
119
+                        'options' => [
120
+                            'label'       => /*@translate*/ 'Contact Person',
121
+                            'description' => /*@translate*/ 'Please enter the name of a contact person',
122
+                        ],
123
+                    ]
124 124
         );
125 125
 
126 126
         $this->add([
127
-                       'type'       => 'text',
128
-                       'name'       => 'email',
129
-                       'options'    => [
130
-                           'label' => /*@translate*/ 'Email Address',
131
-                       ],
132
-                       'attributes' => [
133
-                           'required' => true, // marks the label as required.
134
-                       ]
135
-                   ]
127
+                        'type'       => 'text',
128
+                        'name'       => 'email',
129
+                        'options'    => [
130
+                            'label' => /*@translate*/ 'Email Address',
131
+                        ],
132
+                        'attributes' => [
133
+                            'required' => true, // marks the label as required.
134
+                        ]
135
+                    ]
136 136
         );
137 137
     }
138 138
 
Please login to merge, or discard this patch.