Completed
Pull Request — develop (#259)
by ANTHONIUS
09:01
created
module/Core/src/Core/Controller/Plugin/Mail.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         } elseif (isset($this->config['templateHalf'])) {
169 169
             $template = $this->config['templateHalf'];
170 170
         } else {
171
-              throw new \InvalidArgumentException('Not template provided for Mail.');
171
+                throw new \InvalidArgumentException('Not template provided for Mail.');
172 172
         }
173 173
         return $template;
174 174
     }
@@ -181,19 +181,19 @@  discard block
 block discarded – undo
181 181
             $from = $this->config['from'];
182 182
         } else {
183 183
             $log->err('A from email address must be provided (Variable $from) in Template: ' . $template);
184
-              throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
184
+                throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
185 185
         }
186 186
         if (isset($this->config['fromName'])) {
187 187
             $fromName = $this->config['fromName'];
188 188
         } else {
189 189
             $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template);
190
-              throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
190
+                throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
191 191
         }
192 192
         if (isset($this->config['subject'])) {
193 193
             $subject = $this->config['subject'];
194 194
         } else {
195 195
             $log->err('A subject must be provided (Variable $subject) in Template: ' . $template);
196
-              throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
196
+                throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
197 197
         }
198 198
         $this->setFrom($from, $fromName);
199 199
         $this->setSubject($subject);
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/DefaultListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function postDispatch(MvcEvent $e)
58 58
     {
59
-       // $view = $this->serviceLocator->get('view');
59
+        // $view = $this->serviceLocator->get('view');
60 60
 
61 61
     }
62 62
     
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserPassword.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
         $form = new static();
57 57
         $form->forms = $forms;
58 58
         
59
-		return $form;
59
+        return $form;
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/PaginationList.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,6 +128,6 @@
 block discarded – undo
128 128
         
129 129
         $pointer = $this->pointer + 1;
130 130
         
131
-		return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null;
131
+        return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null;
132 132
     }
133 133
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserImageFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
     {
56 56
         /* @var $options \Applications\Options\ModuleOptions */
57 57
         $form->get($this->fileName)->setViewHelper('FormImageUpload')
58
-           ->setMaxSize($options->getContactImageMaxSize())
59
-           ->setAllowedTypes($options->getContactImageMimeType())
60
-           ->setForm($form);
58
+            ->setMaxSize($options->getContactImageMaxSize())
59
+            ->setAllowedTypes($options->getContactImageMimeType())
60
+            ->setForm($form);
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/ContactImage.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -44,14 +44,14 @@
 block discarded – undo
44 44
         $this->contact->setImage(null);
45 45
     }
46 46
     
47
-	/**
48
-	 * @param Contact $contact
49
-	 * @return ContactImage
50
-	 */
51
-	public function setContact(Contact $contact)
52
-	{
53
-		$this->contact = $contact;
47
+    /**
48
+     * @param Contact $contact
49
+     * @return ContactImage
50
+     */
51
+    public function setContact(Contact $contact)
52
+    {
53
+        $this->contact = $contact;
54 54
 		
55
-		return $this;
56
-	}
55
+        return $this;
56
+    }
57 57
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/Education.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -156,41 +156,41 @@
 block discarded – undo
156 156
         return $this->description;
157 157
     }
158 158
     
159
-	/**
160
-	 * @return string
161
-	 */
162
-	public function getCountry()
163
-	{
164
-		return $this->country;
165
-	}
166
-
167
-	/**
168
-	 * @param string $country
169
-	 * @return Education
170
-	 */
171
-	public function setCountry($country)
172
-	{
173
-		$this->country = $country;
159
+    /**
160
+     * @return string
161
+     */
162
+    public function getCountry()
163
+    {
164
+        return $this->country;
165
+    }
166
+
167
+    /**
168
+     * @param string $country
169
+     * @return Education
170
+     */
171
+    public function setCountry($country)
172
+    {
173
+        $this->country = $country;
174 174
 		
175
-		return $this;
176
-	}
177
-
178
-	/**
179
-	 * @return string
180
-	 */
181
-	public function getCity()
182
-	{
183
-		return $this->city;
184
-	}
185
-
186
-	/**
187
-	 * @param string $city
188
-	 * @return Education
189
-	 */
190
-	public function setCity($city)
191
-	{
192
-		$this->city = $city;
175
+        return $this;
176
+    }
177
+
178
+    /**
179
+     * @return string
180
+     */
181
+    public function getCity()
182
+    {
183
+        return $this->city;
184
+    }
185
+
186
+    /**
187
+     * @param string $city
188
+     * @return Education
189
+     */
190
+    public function setCity($city)
191
+    {
192
+        $this->city = $city;
193 193
 		
194
-		return $this;
195
-	}
194
+        return $this;
195
+    }
196 196
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/EmploymentCollectionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
         $container = new \Core\Form\CollectionContainer('CvEmploymentForm', new \Cv\Entity\Employment());
17 17
         $container->setLabel(/*@translate */ 'Employment history');
18 18
         
19
-		return $container;
19
+        return $container;
20 20
     }
21 21
 }
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
@@ -10,20 +10,20 @@  discard block
 block discarded – undo
10 10
 
11 11
 return array(
12 12
     'doctrine' => array(
13
-       'driver' => array(
13
+        'driver' => array(
14 14
             'odm_default' => array(
15 15
                 'drivers' => array(
16 16
                     'Applications\Entity' => 'annotation',
17 17
                 ),
18 18
             ),
19 19
             'annotation' => array(
20
-               /*
20
+                /*
21 21
                 * All drivers (except DriverChain) require paths to work on. You
22 22
                 * may set this value as a string (for a single path) or an array
23 23
                 * for multiple paths.
24 24
                 * example https://github.com/doctrine/DoctrineORMModule
25 25
                 */
26
-               'paths' => array( __DIR__ . '/../src/Applications/Entity')
26
+                'paths' => array( __DIR__ . '/../src/Applications/Entity')
27 27
             ),
28 28
         ),
29 29
         'eventmanager' => array(
@@ -63,15 +63,15 @@  discard block
 block discarded – undo
63 63
             'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions'
64 64
         ),
65 65
         'factories' => array(
66
-           'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
67
-           'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
68
-           'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
69
-           'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
70
-           'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
71
-           'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory'
66
+            'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
67
+            'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
68
+            'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
69
+            'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
70
+            'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
71
+            'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory'
72 72
         ),
73 73
         'aliases' => [
74
-           'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
74
+            'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
75 75
         ]
76 76
     ),
77 77
     'controllers' => array(
@@ -169,25 +169,25 @@  discard block
 block discarded – undo
169 169
     ),
170 170
     'form_elements' => array(
171 171
         'invokables' => array(
172
-             'Applications/Mail' => 'Applications\Form\Mail',
173
-             'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
174
-             'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
175
-             'Applications/CommentForm' => 'Applications\Form\CommentForm',
176
-             'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
177
-             'Applications/Apply' => 'Applications\Form\Apply',
178
-             'Applications/Contact' => 'Applications\Form\ContactContainer',
179
-             'Applications/Base'  => 'Applications\Form\Base',
180
-             'Applications/Facts' => 'Applications\Form\Facts',
181
-             'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
182
-             'Applications/Attributes' => 'Applications\Form\Attributes',
183
-             'Applications/Filter' => 'Applications\Form\FilterApplication',
184
-             'href' => 'Applications\Form\Element\Ref',
185
-         ),
172
+                'Applications/Mail' => 'Applications\Form\Mail',
173
+                'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
174
+                'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
175
+                'Applications/CommentForm' => 'Applications\Form\CommentForm',
176
+                'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
177
+                'Applications/Apply' => 'Applications\Form\Apply',
178
+                'Applications/Contact' => 'Applications\Form\ContactContainer',
179
+                'Applications/Base'  => 'Applications\Form\Base',
180
+                'Applications/Facts' => 'Applications\Form\Facts',
181
+                'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
182
+                'Applications/Attributes' => 'Applications\Form\Attributes',
183
+                'Applications/Filter' => 'Applications\Form\FilterApplication',
184
+                'href' => 'Applications\Form\Element\Ref',
185
+            ),
186 186
         'factories' => array(
187 187
             'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory',
188 188
             'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory',
189 189
         ),
190
-     ),
190
+        ),
191 191
 
192 192
     'form_elements_config' => array(
193 193
         'Applications/Apply' => array(
Please login to merge, or discard this patch.