Completed
Pull Request — develop (#250)
by ANTHONIUS
08:15
created
module/Install/src/Form/Installation.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -27,53 +27,53 @@  discard block
 block discarded – undo
27 27
         $this->setName('installation');
28 28
         $this->setAttributes(
29 29
             array(
30
-                                 'method' => 'post',
31
-                                 'action' => '?p=install'
32
-                             )
30
+                                    'method' => 'post',
31
+                                    'action' => '?p=install'
32
+                                )
33 33
         );
34 34
 
35 35
         $this->add(
36 36
             array(
37
-                       'type'       => 'Text',
38
-                       'name'       => 'db_conn',
39
-                       'options'    => array(
40
-                           'label' => /* @translate */ 'Database connection string',
41
-                       ),
42
-                       'attributes' => array(
43
-                           'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
-                       ),
37
+                        'type'       => 'Text',
38
+                        'name'       => 'db_conn',
39
+                        'options'    => array(
40
+                            'label' => /* @translate */ 'Database connection string',
41
+                        ),
42
+                        'attributes' => array(
43
+                            'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
+                        ),
45 45
 
46
-                   )
46
+                    )
47 47
         );
48 48
 
49 49
         $this->add(
50 50
             array(
51
-                       'type'    => 'Text',
52
-                       'name'    => 'username',
53
-                       'options' => array(
54
-                           'label' => /* @translate */ 'Initial user name',
55
-                       ),
56
-                   )
51
+                        'type'    => 'Text',
52
+                        'name'    => 'username',
53
+                        'options' => array(
54
+                            'label' => /* @translate */ 'Initial user name',
55
+                        ),
56
+                    )
57 57
         );
58 58
 
59 59
         $this->add(
60 60
             array(
61
-                       'type'    => 'Password',
62
-                       'name'    => 'password',
63
-                       'options' => array(
64
-                           'label' => /* @translate */ 'Password',
65
-                       ),
66
-                   )
61
+                        'type'    => 'Password',
62
+                        'name'    => 'password',
63
+                        'options' => array(
64
+                            'label' => /* @translate */ 'Password',
65
+                        ),
66
+                    )
67 67
         );
68 68
 
69 69
         $this->add(
70 70
             array(
71
-                       'type' => 'Text',
72
-                       'name' => 'email',
73
-                       'options' => array(
74
-                           'label' => /* @translate */ 'Email address for system messages',
75
-                       ),
76
-                   )
71
+                        'type' => 'Text',
72
+                        'name' => 'email',
73
+                        'options' => array(
74
+                            'label' => /* @translate */ 'Email address for system messages',
75
+                        ),
76
+                    )
77 77
         );
78 78
     }
79 79
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 ),
89 89
                 'validators'        => array(
90 90
                     array('name' => 'Install/ConnectionString',
91
-                          'break_chain_on_failure' => true),
91
+                            'break_chain_on_failure' => true),
92 92
                     array('name' => 'Install/Connection'),
93 93
                 ),
94 94
             ),
Please login to merge, or discard this patch.
module/Settings/config/module.config.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 'odm_default' => array(
27 27
                 'subscribers' => array(
28 28
                     'Settings/InjectEntityResolverListener',
29
-                 ),
29
+                    ),
30 30
                 ),
31 31
                 ),
32 32
         ),
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         'translation_file_patterns' => array(
38 38
             array(
39 39
                 'type' => 'gettext',
40
-                'base_dir' => __DIR__ . '/../language',
40
+                'base_dir' => __DIR__.'/../language',
41 41
                 'pattern' => '%s.mo',
42 42
             ),
43 43
         ),
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         
101 101
         // Where to look for view templates not mapped above
102 102
         'template_path_stack' => array(
103
-            __DIR__ . '/../view',
103
+            __DIR__.'/../view',
104 104
         ),
105 105
         ),
106 106
     
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Multipost.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     protected function addButtonsFieldset()
61 61
     {
62 62
         $this->add(
63
-             array(
64
-                 'type' => 'Jobs/MultipostButtonFieldset'
65
-             )
63
+                array(
64
+                    'type' => 'Jobs/MultipostButtonFieldset'
65
+                )
66 66
         );
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Filter/ViewModelTemplateFilterAbstract.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * @param mixed $value
114
-     * @return mixed|ViewModel
114
+     * @return ViewModel
115 115
      * @throws \InvalidArgumentException
116 116
      */
117 117
     public function filter($value)
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         if (!isset($this->job)) {
124 124
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without an $job');
125 125
         }
126
-        $model->setTemplate('templates/' . $this->job->getTemplate() . '/index');
126
+        $model->setTemplate('templates/'.$this->job->getTemplate().'/index');
127 127
         return $model;
128 128
     }
129 129
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job');
172 172
         }
173 173
         $location = $this->job->getLocation();
174
-        $this->container['location'] = isset($location)?$location:'';
174
+        $this->container['location'] = isset($location) ? $location : '';
175 175
         return $this;
176 176
     }
177 177
 
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         }
193 193
         $description = $this->job->templateValues->description;
194 194
 
195
-        $this->container['description'] = isset($description)?$description:'';
195
+        $this->container['description'] = isset($description) ? $description : '';
196 196
         return $this;
197 197
     }
198 198
 
@@ -256,9 +256,9 @@  discard block
 block discarded – undo
256 256
         if (!isset($this->job)) {
257 257
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without a $job');
258 258
         }
259
-        $labelQualifications='';
260
-        $labelBenefits='';
261
-        $labelRequirements='';
259
+        $labelQualifications = '';
260
+        $labelBenefits = '';
261
+        $labelRequirements = '';
262 262
 
263 263
         $organization = $this->job->organization;
264 264
         if (isset($organization)) {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         return;
102 102
     }
103 103
 
104
-	/**
104
+    /**
105 105
      * @return mixed
106 106
      */
107 107
     public function getServerUrlHelper()
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/Strategy/FileUploadStrategy.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
         $file = $this->getFileEntity();
62 62
         
63 63
         $file->setName($value['name'])
64
-             ->setType($value['type'])
65
-             ->setFile($value['tmp_name']);
64
+                ->setType($value['type'])
65
+                ->setFile($value['tmp_name']);
66 66
         
67 67
         return $file;
68 68
     }
Please login to merge, or discard this patch.
module/Organizations/Module.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function getConfig()
27 27
     {
28
-         return ModuleConfigLoader::load(__DIR__ . '/config');
28
+            return ModuleConfigLoader::load(__DIR__ . '/config');
29 29
     }
30 30
     
31 31
     /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getConfig()
27 27
     {
28
-         return ModuleConfigLoader::load(__DIR__ . '/config');
28
+         return ModuleConfigLoader::load(__DIR__.'/config');
29 29
     }
30 30
     
31 31
     /**
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
         return array(
40 40
             'Zend\Loader\StandardAutoloader' => array(
41 41
                 'namespaces' => array(
42
-                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
43
-                    'OrganizationsTest' => __DIR__ . '/test/' . 'OrganizationsTest'
42
+                    __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__,
43
+                    'OrganizationsTest' => __DIR__.'/test/'.'OrganizationsTest'
44 44
                 ),
45 45
             ),
46 46
         );
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationContact.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function setHouseNumber($houseNumber = "")
73 73
     {
74
-        $this->houseNumber=$houseNumber;
74
+        $this->houseNumber = $houseNumber;
75 75
         return $this;
76 76
     }
77 77
     
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function setStreet($street = "")
139 139
     {
140
-        $this->street=$street;
140
+        $this->street = $street;
141 141
         return $this;
142 142
     }
143 143
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function setPhone($phone = "")
162 162
     {
163
-        $this->phone=$phone;
163
+        $this->phone = $phone;
164 164
     }
165 165
 
166 166
     /**
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     public function setFax($fax = "")
184 184
     {
185
-        $this->fax=$fax;
185
+        $this->fax = $fax;
186 186
     }
187 187
 
188 188
     /**
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/TemplateInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * Sets the label of the qualifications form field
39 39
      *
40
-     * @param string $labelQualification
40
+     * @param string $labelQualifications
41 41
      *
42 42
      * @return self
43 43
      */
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationInterface.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -92,23 +92,23 @@
 block discarded – undo
92 92
     public function getHiringOrganizations();
93 93
 
94 94
     /**
95
-    * Sets the name of the organization
96
-    *
97
-    * @param OrganizationName organizationName
98
-    * @return OrganizationInterface
99
-    */
95
+     * Sets the name of the organization
96
+     *
97
+     * @param OrganizationName organizationName
98
+     * @return OrganizationInterface
99
+     */
100 100
     public function setOrganizationName(OrganizationName $organizationNames);
101 101
 
102
-   /**
103
-    * Gets the name of the organization
104
-    *
105
-    * @return OrganizationName
106
-    */
102
+    /**
103
+     * Gets the name of the organization
104
+     *
105
+     * @return OrganizationName
106
+     */
107 107
     public function getOrganizationName();
108 108
    
109
-      /**
110
-     * @return string
111
-     */
109
+        /**
110
+         * @return string
111
+         */
112 112
     public function getDescription();
113 113
 
114 114
     /**
Please login to merge, or discard this patch.