Completed
Pull Request — develop (#479)
by Carsten
04:57
created
module/Organizations/src/Organizations/Form/LogoImageFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @var string
30 30
      */
31
-    protected $options="Jobs/Options";
31
+    protected $options = "Jobs/Options";
32 32
 
33 33
     /**
34 34
      * Configure the Form width Options
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/InputFilter/Employment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $this->add([
28 28
             'name' => 'endDate',
29
-            'required' => ! $data['currentIndicator']
29
+            'required' => !$data['currentIndicator']
30 30
         ]);
31 31
         
32 32
         return parent::setData($data);
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/Cv.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @var array
83 83
      * @ODM\Collection
84 84
      */
85
-    protected $nativeLanguages=[];
85
+    protected $nativeLanguages = [];
86 86
 
87 87
 
88 88
     /**
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      */
268 268
     public function setIsDraft($isDraft)
269 269
     {
270
-        $this->isDraft=$isDraft;
270
+        $this->isDraft = $isDraft;
271 271
         return $this;
272 272
     }
273 273
 
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
      */
338 338
     public function setNativeLanguages($nativeLanguages)
339 339
     {
340
-        $this->nativeLanguages=$nativeLanguages;
340
+        $this->nativeLanguages = $nativeLanguages;
341 341
         return $this;
342 342
     }
343 343
 
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/PreferredJob.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     
87 87
     public function setDesiredJob($desiredJob)
88 88
     {
89
-        $this->desiredJob=$desiredJob;
89
+        $this->desiredJob = $desiredJob;
90 90
         return $this;
91 91
     }
92 92
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function setDesiredLocation($desiredLocation)
107 107
     {
108
-        $this->desiredLocation=$desiredLocation;
108
+        $this->desiredLocation = $desiredLocation;
109 109
         return $this;
110 110
     }
111 111
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function setWillingnessToTravel($willingnessToTravel)
145 145
     {
146
-        $this->willingnessToTravel=$willingnessToTravel;
146
+        $this->willingnessToTravel = $willingnessToTravel;
147 147
         return $this;
148 148
     }
149 149
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setExpectedSalary($expectedSalary)
164 164
     {
165
-        $this->expectedSalary=$expectedSalary;
165
+        $this->expectedSalary = $expectedSalary;
166 166
         return $this;
167 167
     }
168 168
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/NewApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      */
122 122
     public function setUser($user)
123 123
     {
124
-        $this->user=$user;
124
+        $this->user = $user;
125 125
         return $this;
126 126
     }
127 127
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/Plugin/SocialProfiles/LinkedIn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
         return array(
136 136
             'year' => strval($xml->year),
137 137
             'month'=> isset($xml->month) ? strval($xml->month) : '01',
138
-            'day'  => isset($xml->day)   ? strval($xml->day)   : '01',
138
+            'day'  => isset($xml->day) ? strval($xml->day) : '01',
139 139
         );
140 140
     }
141 141
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/UnauthorizedAccessListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
          * Return an image, if an image was requested.
56 56
          */
57 57
         if ($exception instanceof UnauthorizedImageAccessException) {
58
-            $image = __DIR__ . '/../../../../../public/images/unauthorized-access.png';
58
+            $image = __DIR__.'/../../../../../public/images/unauthorized-access.png';
59 59
             $response->setStatusCode(Response::STATUS_CODE_403)
60 60
                      ->setContent(file_get_contents($image))
61 61
                      ->getHeaders()
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $routeMatch->setParam('action', 'index');
79 79
             $query = $e->getRequest()->getQuery();
80 80
             $ref = $e->getRequest()->getRequestUri();
81
-            $ref = preg_replace('~^' . preg_quote($e->getRouter()->getBaseUrl()) . '~', '', $ref);
81
+            $ref = preg_replace('~^'.preg_quote($e->getRouter()->getBaseUrl()).'~', '', $ref);
82 82
             $query->set('ref', $ref);
83 83
             $query->set('req', 1);
84 84
             $response->setStatusCode(Response::STATUS_CODE_401);
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserStatusFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                 'attributes' => [
88 88
                     'data-placeholder' => /*@translate*/ 'please select',
89 89
                     'data-allowclear' => 'false',
90
-                    'data-searchbox' => -1,  // hide the search box
90
+                    'data-searchbox' => -1, // hide the search box
91 91
                     'required' => true, // mark label as required
92 92
                 ],
93 93
             ]
Please login to merge, or discard this patch.
module/Auth/Module.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function getConfig()
38 38
     {
39
-        return ModuleConfigLoader::load(__DIR__ . '/config');
39
+        return ModuleConfigLoader::load(__DIR__.'/config');
40 40
     }
41 41
 
42 42
     /**
@@ -52,19 +52,19 @@  discard block
 block discarded – undo
52 52
                 // This ensures the class from "addtional-providers" is loaded.
53 53
                 array(
54 54
                     'Hybrid_Providers_XING'
55
-                    => __DIR__ . '/../../vendor/hybridauth/hybridauth/additional-providers/hybridauth-xing/Providers/XING.php',
55
+                    => __DIR__.'/../../vendor/hybridauth/hybridauth/additional-providers/hybridauth-xing/Providers/XING.php',
56 56
                 ),
57 57
                 array(
58 58
                     'Hybrid_Providers_Github'
59
-                    => __DIR__ . '/../../vendor/hybridauth/hybridauth/additional-providers/hybridauth-github/Providers/GitHub.php',
59
+                    => __DIR__.'/../../vendor/hybridauth/hybridauth/additional-providers/hybridauth-github/Providers/GitHub.php',
60 60
                 ),
61 61
             ),
62 62
             'Zend\Loader\StandardAutoloader' => array(
63 63
                 'namespaces' => array(
64
-                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
65
-                    'AuthTest' => __DIR__ . '/test/AuthTest',
66
-                    'Acl' => __DIR__ . '/src/Acl',
67
-                    'AclTest' => __DIR__ . '/test/AclTest',
64
+                    __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__,
65
+                    'AuthTest' => __DIR__.'/test/AuthTest',
66
+                    'Acl' => __DIR__.'/src/Acl',
67
+                    'AclTest' => __DIR__.'/test/AclTest',
68 68
                 ),
69 69
             ),
70 70
         );
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             
81 81
         $eventManager->attach(
82 82
             MvcEvent::EVENT_ROUTE,
83
-            function (MvcEvent $e) use ($services) {
83
+            function(MvcEvent $e) use ($services) {
84 84
                 /* @var $checkPermissionsListener \Acl\Listener\CheckPermissionsListener */
85 85
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
86 86
                 $checkPermissionsListener->onRoute($e);
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
         $eventManager->attach(
92 92
             MvcEvent::EVENT_DISPATCH,
93
-            function (MvcEvent $e) use ($services) {
93
+            function(MvcEvent $e) use ($services) {
94 94
             /** @var CheckPermissionsListener $checkPermissionsListener */
95 95
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
96 96
                 $checkPermissionsListener->onDispatch($e);
Please login to merge, or discard this patch.