Completed
Push — develop ( 85a285...a5396a )
by Mathias
12:51 queued 05:46
created
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/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.
module/Pdf/Module.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function getConfig()
48 48
     {
49
-        return ModuleConfigLoader::load(__DIR__ . '/config');
49
+        return ModuleConfigLoader::load(__DIR__.'/config');
50 50
     }
51 51
     
52 52
     public static function factory(ServiceManager $serviceManager)
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $eventManager->getSharedManager()->attach(
63 63
             'Applications',
64 64
             'application.detail.actionbuttons',
65
-            function ($event) {
65
+            function($event) {
66 66
                 return 'pdf/application/details/button';
67 67
             }
68 68
         );
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $file = $e->getLastFileObject();
144 144
         // assume it is of the class Core\Entity\FileEntity
145
-        $return = '<div class="col-md-3"><a href="#attachment_' . $file->getId() . '">' . $file->getName() . '</a></div>' . PHP_EOL
146
-                . '<div class="col-md-3">' . $file->getType() . '</div>'
147
-                . '<div class="col-md-3">' . $file->prettySize . '</div>';
145
+        $return = '<div class="col-md-3"><a href="#attachment_'.$file->getId().'">'.$file->getName().'</a></div>'.PHP_EOL
146
+                . '<div class="col-md-3">'.$file->getType().'</div>'
147
+                . '<div class="col-md-3">'.$file->prettySize.'</div>';
148 148
         /*
149 149
          * this snippet was for direct inserting an image into the PDF
150 150
         if ($file && $file instanceOf FileEntity && 0 === strpos($file->getType(), 'image')) {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
         
245 245
         // the handles are for temporary files
246 246
         error_reporting(0);
247
-        foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS ) as $render) {
247
+        foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS) as $render) {
248 248
             $handles = array();
249 249
             try {
250 250
                 $pdf = new extern\mPDFderive();
@@ -258,8 +258,8 @@  discard block
 block discarded – undo
258 258
                     if (is_array($this->appendImage) && !empty($this->appendImage)) {
259 259
                         foreach ($this->appendImage as $imageAttachment) {
260 260
                             $content = $imageAttachment->getContent();
261
-                            $url = 'data:image/' . $imageAttachment->getType() . ';base64,' . base64_encode($content);
262
-                            $html = '<a name="attachment_' . $imageAttachment->getId() . '"><img src="' . $url . '" /><br /></a>';
261
+                            $url = 'data:image/'.$imageAttachment->getType().';base64,'.base64_encode($content);
262
+                            $html = '<a name="attachment_'.$imageAttachment->getId().'"><img src="'.$url.'" /><br /></a>';
263 263
                             $pdf->WriteHTML($html);
264 264
                         }
265 265
                     }
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
                     $pagecount = $pdf->SetSourceFile($filename);
287 287
                     for ($pages = 0; $pages < $pagecount; $pages++) {
288 288
                         $pdf->AddPage();
289
-                        $pdf->WriteHTML(' pages: ' . $pagecount);
289
+                        $pdf->WriteHTML(' pages: '.$pagecount);
290 290
                         $tx = $pdf->ImportPage($pages + 1);
291 291
                         $pdf->UseTemplate($tx);
292 292
                     }
@@ -323,18 +323,18 @@  discard block
 block discarded – undo
323 323
             $defaultSuffix = $viewTemplatePathStack->getDefaultSuffix();
324 324
             if (pathinfo($name, PATHINFO_EXTENSION) != $defaultSuffix) {
325 325
                 ;
326
-                $name .= '.pdf.' . $defaultSuffix;
326
+                $name .= '.pdf.'.$defaultSuffix;
327 327
             } else {
328 328
                 // TODO: replace Filename by Filename for PDF
329 329
             }
330 330
 
331 331
             foreach ($paths as $path) {
332
-                $file = new SplFileInfo($path . $name);
332
+                $file = new SplFileInfo($path.$name);
333 333
                 if ($file->isReadable()) {
334 334
                     // Found! Return it.
335 335
                     if (($filePath = $file->getRealPath()) === false && substr($path, 0, 7) === 'phar://') {
336 336
                         // Do not try to expand phar paths (realpath + phars == fail)
337
-                        $filePath = $path . $name;
337
+                        $filePath = $path.$name;
338 338
                         if (!file_exists($filePath)) {
339 339
                             break;
340 340
                         }
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Form/Tree/SelectFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
      *
143 143
      * @return array
144 144
      */
145
-    protected function createValueOptions(NodeInterface $node, $allowSelectNodes = false, $isRoot=true)
145
+    protected function createValueOptions(NodeInterface $node, $allowSelectNodes = false, $isRoot = true)
146 146
     {
147 147
         $key    = $isRoot ? $node->getValue() : $node->getValueWithParents();
148 148
         $name   = $node->getName();
Please login to merge, or discard this patch.