Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Core/test/CoreConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     //     ),
65 65
     // )
66 66
 
67
-   // Initial configuration with which to seed the ServiceManager.
68
-   // Should be compatible with Laminas\ServiceManager\Config.
69
-   // 'service_manager' => array(),
67
+    // Initial configuration with which to seed the ServiceManager.
68
+    // Should be compatible with Laminas\ServiceManager\Config.
69
+    // 'service_manager' => array(),
70 70
 );
Please login to merge, or discard this patch.
module/Jobs/src/Entity/AtsMode.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -208,13 +208,13 @@  discard block
 block discarded – undo
208 208
         return $this->email;
209 209
     }
210 210
 
211
-	/**
212
-	 * @return bool
213
-	 */
214
-	public function getOneClickApply()
215
-	{
216
-		return $this->oneClickApply;
217
-	}
211
+    /**
212
+     * @return bool
213
+     */
214
+    public function getOneClickApply()
215
+    {
216
+        return $this->oneClickApply;
217
+    }
218 218
 
219 219
 
220 220
     /**
@@ -222,29 +222,29 @@  discard block
 block discarded – undo
222 222
      *
223 223
      * @return $this
224 224
      */
225
-	public function setOneClickApply($oneClickApply)
226
-	{
227
-		$this->oneClickApply = (bool)$oneClickApply;
228
-
229
-		return $this;
230
-	}
231
-
232
-	/**
233
-	 * @return array
234
-	 */
235
-	public function getOneClickApplyProfiles()
236
-	{
237
-		return $this->oneClickApplyProfiles;
238
-	}
239
-
240
-	/**
241
-	 * @param array $oneClickApplyProfiles
242
-	 * @return AtsMode
243
-	 */
244
-	public function setOneClickApplyProfiles(array $oneClickApplyProfiles)
245
-	{
246
-		$this->oneClickApplyProfiles = $oneClickApplyProfiles;
247
-
248
-		return $this;
249
-	}
225
+    public function setOneClickApply($oneClickApply)
226
+    {
227
+        $this->oneClickApply = (bool)$oneClickApply;
228
+
229
+        return $this;
230
+    }
231
+
232
+    /**
233
+     * @return array
234
+     */
235
+    public function getOneClickApplyProfiles()
236
+    {
237
+        return $this->oneClickApplyProfiles;
238
+    }
239
+
240
+    /**
241
+     * @param array $oneClickApplyProfiles
242
+     * @return AtsMode
243
+     */
244
+    public function setOneClickApplyProfiles(array $oneClickApplyProfiles)
245
+    {
246
+        $this->oneClickApplyProfiles = $oneClickApplyProfiles;
247
+
248
+        return $this;
249
+    }
250 250
 }
Please login to merge, or discard this patch.
module/Jobs/src/Factory/Form/Hydrator/OrganizationNameHydratorFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * @filesource
6 6
  * @copyright https://yawik.org/COPYRIGHT.php
7 7
  * @license   MIT
8
-  */
8
+ */
9 9
 
10 10
 namespace Jobs\Factory\Form\Hydrator;
11 11
 
Please login to merge, or discard this patch.
module/Applications/src/Entity/Hydrator/ApiApplicationHydrator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         ;
90 90
         $data['attachments'] = [];
91 91
         foreach ($object->getAttachments() as $file) {
92
-           $data['attachments'][] = $this->serverUrl . $file->getUri();
92
+            $data['attachments'][] = $this->serverUrl . $file->getUri();
93 93
         }
94 94
 
95 95
         unset(
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Repository/Filter/PaginationAdminQueryTest.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 /**
4 4
  *
5
-
6 5
  */
7 6
 
8 7
 declare(strict_types=1);
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserBaseFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function init()
23 23
     {
24 24
         $this->setName('base');
25
-             //->setLabel( /* @translate */ 'General');
26
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
25
+                //->setLabel( /* @translate */ 'General');
26
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
27 27
 
28 28
 
29 29
         $this->add([
Please login to merge, or discard this patch.
module/Applications/src/Mail/NewApplication.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             'link'  => $this->router->assemble(
106 106
                             ['id' => $this->application->getId()],
107 107
                             ['name'=>'lang/applications/detail', 'force_canonical'=>true]
108
-                       ) . '?login=' . $this->user->getLogin(),
108
+                        ) . '?login=' . $this->user->getLogin(),
109 109
         ];
110 110
 
111 111
         $this->setTo($this->user->getInfo()->getEmail(), $this->user->getInfo()->getDisplayName(false));
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/UnauthorizedAccessListener.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
         if ($exception instanceof UnauthorizedImageAccessException) {
58 58
             $image = __DIR__ . '/../../../../../public/images/unauthorized-access.png';
59 59
             $response->setStatusCode(Response::STATUS_CODE_403)
60
-                     ->setContent(file_get_contents($image))
61
-                     ->getHeaders()
62
-                     ->addHeaderLine('Content-Type', 'image/png');
60
+                        ->setContent(file_get_contents($image))
61
+                        ->getHeaders()
62
+                        ->addHeaderLine('Content-Type', 'image/png');
63 63
             $e->stopPropagation();
64 64
             $response->sendHeaders();
65 65
             //echo file_get_contents($image);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         }
71 71
 
72 72
         $application = $e->getApplication();
73
-		$auth = $application->getServiceManager()->get('AuthenticationService');
73
+        $auth = $application->getServiceManager()->get('AuthenticationService');
74 74
 
75 75
         if (!$auth->hasIdentity()) {
76 76
             $request = $e->getRequest();
@@ -112,9 +112,9 @@  discard block
 block discarded – undo
112 112
         $model->setTemplate($this->getExceptionTemplate());
113 113
         $e->setResult($model);
114 114
 
115
-       // $statusCode = $response->getStatusCode();
116
-       // if ($statusCode === 200) {
115
+        // $statusCode = $response->getStatusCode();
116
+        // if ($statusCode === 200) {
117 117
             $response->setStatusCode(Response::STATUS_CODE_403);
118
-       // }
118
+        // }
119 119
     }
120 120
 }
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
@@ -22,20 +22,20 @@  discard block
 block discarded – undo
22 22
 
23 23
 return [
24 24
     'doctrine' => [
25
-       'driver' => [
25
+        'driver' => [
26 26
             'odm_default' => [
27 27
                 'drivers' => [
28 28
                     'Applications\Entity' => 'annotation',
29 29
                 ],
30 30
             ],
31 31
             'annotation' => [
32
-               /*
32
+                /*
33 33
                 * All drivers (except DriverChain) require paths to work on. You
34 34
                 * may set this value as a string (for a single path) or an array
35 35
                 * for multiple paths.
36 36
                 * example https://github.com/doctrine/DoctrineORMModule
37 37
                 */
38
-               'paths' => [ __DIR__ . '/../src/Entity']
38
+                'paths' => [ __DIR__ . '/../src/Entity']
39 39
             ],
40 40
         ],
41 41
         'eventmanager' => [
@@ -75,19 +75,19 @@  discard block
 block discarded – undo
75 75
             'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions',
76 76
         ],
77 77
         'factories' => [
78
-           'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
79
-           'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
80
-           'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
81
-           'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
82
-           'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
83
-           'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
84
-           'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
78
+            'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
79
+            'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
80
+            'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
81
+            'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
82
+            'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
83
+            'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory',
84
+            'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory',
85 85
             Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class,
86 86
             Listener\LoadDependendEntities::class => InvokableFactory::class,
87 87
             UploadHandler::class => UploadHandlerFactory::class
88 88
         ],
89 89
         'aliases' => [
90
-           'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
90
+            'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
91 91
         ]
92 92
     ],
93 93
 
@@ -191,20 +191,20 @@  discard block
 block discarded – undo
191 191
     ],
192 192
     'form_elements' => [
193 193
         'invokables' => [
194
-             'Applications/Mail' => 'Applications\Form\Mail',
195
-             'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
196
-             'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
197
-             'Applications/CommentForm' => 'Applications\Form\CommentForm',
198
-             'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
199
-             'Applications/Apply' => 'Applications\Form\Apply',
200
-             'Applications/Contact' => 'Applications\Form\ContactContainer',
201
-             'Applications/Base'  => 'Applications\Form\Base',
202
-             'Applications/Facts' => 'Applications\Form\Facts',
203
-             'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
204
-             'Applications/Attributes' => 'Applications\Form\Attributes',
205
-             'href' => 'Applications\Form\Element\Ref',
194
+                'Applications/Mail' => 'Applications\Form\Mail',
195
+                'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
196
+                'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
197
+                'Applications/CommentForm' => 'Applications\Form\CommentForm',
198
+                'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
199
+                'Applications/Apply' => 'Applications\Form\Apply',
200
+                'Applications/Contact' => 'Applications\Form\ContactContainer',
201
+                'Applications/Base'  => 'Applications\Form\Base',
202
+                'Applications/Facts' => 'Applications\Form\Facts',
203
+                'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
204
+                'Applications/Attributes' => 'Applications\Form\Attributes',
205
+                'href' => 'Applications\Form\Element\Ref',
206 206
 
207
-         ],
207
+            ],
208 208
         'factories' => [
209 209
             'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory',
210 210
             'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory',
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class,
214 214
             UploadHandler::class => [UploadHandler::class, 'factory']
215 215
         ],
216
-     ],
216
+        ],
217 217
 
218 218
     'form_elements_config' => [
219 219
         'Applications/Apply' => [
Please login to merge, or discard this patch.