Completed
Push — develop ( e70242...efddeb )
by Mathias
65:39 queued 53:48
created
module/Jobs/src/Jobs/Listener/LoadActiveOrganizations.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@
 block discarded – undo
50 50
             $image    = $org->getImage();
51 51
             $imageUrl = $image ? $image->getUri() : '';
52 52
 
53
-            $options[] = [ 'id' => $org->getId(),
54
-                           'text' => $name . '|'
55
-                                      . $contact->getCity() . '|'
56
-                                      . $contact->getStreet() . '|'
57
-                                      . $contact->getHouseNumber() . '|'
53
+            $options[] = ['id' => $org->getId(),
54
+                           'text' => $name.'|'
55
+                                      . $contact->getCity().'|'
56
+                                      . $contact->getStreet().'|'
57
+                                      . $contact->getHouseNumber().'|'
58 58
                                       . $imageUrl
59 59
             ];
60 60
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/Strategy/FileCopyStrategy.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         
79 79
         // ensures garbage removal
80 80
         register_shutdown_function(
81
-            function ($filename) {
81
+            function($filename) {
82 82
                 @unlink($filename);
83 83
             },
84 84
             $tmp
@@ -92,10 +92,10 @@  discard block
 block discarded – undo
92 92
 
93 93
         $return = ["file" => $tmp];
94 94
 
95
-        foreach(['user', 'name', 'type'] as $key) {
95
+        foreach (['user', 'name', 'type'] as $key) {
96 96
             $v = $value->{"get$key"}();
97
-            if($v) {
98
-                $return[$key]=$v;
97
+            if ($v) {
98
+                $return[$key] = $v;
99 99
             }
100 100
         }
101 101
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
         $entity = $this->getTargetEntity();
124 124
 
125
-        foreach($value as $key=>$v) {
125
+        foreach ($value as $key=>$v) {
126 126
             $entity->{"set$key"}($v);
127 127
         }
128 128
         return $entity;
Please login to merge, or discard this patch.
module/Applications/src/Applications/Paginator/JobSelectPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         /* @var \Doctrine\ODM\MongoDB\Query\Builder $qb */
44 44
         $qb = $this->repository->createQueryBuilder();
45
-        $qb->field('title')->equals(new \MongoRegex('/' . addslashes($q) . '/i'));
45
+        $qb->field('title')->equals(new \MongoRegex('/'.addslashes($q).'/i'));
46 46
         $cursor = $qb->getQuery()->execute();
47 47
 
48 48
         $adapter = new DoctrineMongoCursor($cursor);
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/Element/JobSelect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  */
23 23
 class JobSelect extends Select implements HeadscriptProviderInterface
24 24
 {
25
-    private $scripts = [ 'Applications/js/form.job-select.js' ];
25
+    private $scripts = ['Applications/js/form.job-select.js'];
26 26
 
27 27
     /**
28 28
      * Sets the array of script names.
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/PreferredJobFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     
18 18
     use EmptySummaryAwareTrait, HydratorStrategyAwareTrait, ViewPartialProviderTrait;
19 19
 
20
-    private $defaultEmptySummaryNotice =  /*@translate*/ 'Click here to enter your employment expectation';
20
+    private $defaultEmptySummaryNotice = /*@translate*/ 'Click here to enter your employment expectation';
21 21
     private $defaultPartial = 'cv/form/preferred-job-fieldset';
22 22
     
23 23
     /**
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Repository/Job.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public function findByAssignedPermissionsResourceId($resourceId)
71 71
     {
72 72
         $criteria = $this->getIsDeletedCriteria(
73
-                ['permissions.assigned.' . $resourceId => [ '$exists' => true]]
73
+                ['permissions.assigned.'.$resourceId => ['$exists' => true]]
74 74
         );
75 75
 
76 76
         return $this->findBy($criteria);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $qb = $this->createQueryBuilder();
137 137
         $qb->distinct('organization')
138 138
             ->hydrate(true)
139
-           ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
139
+           ->field('status.name')->notIn([StatusInterface::EXPIRED, StatusInterface::INACTIVE]);
140 140
 
141 141
         $q = $qb->getQuery();
142 142
         $r = $q->execute();
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         $qb = $this->dm->createQueryBuilder('Organizations\Entity\Organization');
146 146
         $qb->field('_id')->in($r);
147 147
         if ($term) {
148
-            $qb->field('_organizationName')->equals(new \MongoRegex('/' . addslashes($term) . '/i'));
148
+            $qb->field('_organizationName')->equals(new \MongoRegex('/'.addslashes($term).'/i'));
149 149
         }
150 150
 
151 151
         $q = $qb->getQuery();
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function createQueryBuilder($isDeleted = false)
204 204
     {
205
-        $qb =  parent::createQueryBuilder();
205
+        $qb = parent::createQueryBuilder();
206 206
 
207 207
         if (null !== $isDeleted) {
208 208
             $qb->addAnd(
Please login to merge, or discard this patch.
module/Geo/config/module.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
                  * for multiple paths.
23 23
                  * example https://github.com/doctrine/DoctrineORMModule
24 24
                  */
25
-                'paths' => [ __DIR__ . '/../src/Geo/Entity'],
25
+                'paths' => [__DIR__.'/../src/Geo/Entity'],
26 26
             ],
27 27
         ],
28 28
     ],
Please login to merge, or discard this patch.
module/Geo/src/autoload_classmap.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 // Generated by ZF2's ./bin/classmap_generator.php
3 3
 return array(
4
-    'Geo\Controller\IndexController'                => __DIR__ . '/Geo/Controller/IndexController.php',
5
-    'Geo\Entity\Geometry\Point'                     => __DIR__ . '/Geo/Entity/Geometry/Point.php',
6
-    'Geo\Factory\Controller\IndexControllerFactory' => __DIR__ . '/Geo/Factory/Controller/IndexControllerFactory.php',
7
-    'Geo\Factory\Form\GeoSelectFactory'             => __DIR__ . '/Geo/Factory/Form/GeoSelectFactory.php',
8
-    'Geo\Factory\Listener\AjaxQueryFactory'         => __DIR__ . '/Geo/Factory/Listener/AjaxQueryFactory.php',
9
-    'Geo\Factory\Service\ClientFactory'             => __DIR__ . '/Geo/Factory/Service/ClientFactory.php',
10
-    'Geo\Form\GeoSelect'                            => __DIR__ . '/Geo/Form/GeoSelect.php',
11
-    'Geo\Form\GeoSelectHydratorStrategy'            => __DIR__ . '/Geo/Form/GeoSelectHydratorStrategy.php',
12
-    'Geo\Form\GeoSelectSimple'                      => __DIR__ . '/Geo/Form/GeoSelectSimple.php',
13
-    'Geo\Listener\AjaxQuery'                        => __DIR__ . '/Geo/Listener/AjaxQuery.php',
14
-    'Geo\Options\ModuleOptions'                     => __DIR__ . '/Geo/Options/ModuleOptions.php',
15
-    'Geo\Service\AbstractClient'                    => __DIR__ . '/Geo/Service/AbstractClient.php',
16
-    'Geo\Service\Geo'                               => __DIR__ . '/Geo/Service/Geo.php',
17
-    'Geo\Service\Photon'                            => __DIR__ . '/Geo/Service/Photon.php',
4
+    'Geo\Controller\IndexController'                => __DIR__.'/Geo/Controller/IndexController.php',
5
+    'Geo\Entity\Geometry\Point'                     => __DIR__.'/Geo/Entity/Geometry/Point.php',
6
+    'Geo\Factory\Controller\IndexControllerFactory' => __DIR__.'/Geo/Factory/Controller/IndexControllerFactory.php',
7
+    'Geo\Factory\Form\GeoSelectFactory'             => __DIR__.'/Geo/Factory/Form/GeoSelectFactory.php',
8
+    'Geo\Factory\Listener\AjaxQueryFactory'         => __DIR__.'/Geo/Factory/Listener/AjaxQueryFactory.php',
9
+    'Geo\Factory\Service\ClientFactory'             => __DIR__.'/Geo/Factory/Service/ClientFactory.php',
10
+    'Geo\Form\GeoSelect'                            => __DIR__.'/Geo/Form/GeoSelect.php',
11
+    'Geo\Form\GeoSelectHydratorStrategy'            => __DIR__.'/Geo/Form/GeoSelectHydratorStrategy.php',
12
+    'Geo\Form\GeoSelectSimple'                      => __DIR__.'/Geo/Form/GeoSelectSimple.php',
13
+    'Geo\Listener\AjaxQuery'                        => __DIR__.'/Geo/Listener/AjaxQuery.php',
14
+    'Geo\Options\ModuleOptions'                     => __DIR__.'/Geo/Options/ModuleOptions.php',
15
+    'Geo\Service\AbstractClient'                    => __DIR__.'/Geo/Service/AbstractClient.php',
16
+    'Geo\Service\Geo'                               => __DIR__.'/Geo/Service/Geo.php',
17
+    'Geo\Service\Photon'                            => __DIR__.'/Geo/Service/Photon.php',
18 18
 );
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/Confirmation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,11 +172,11 @@
 block discarded – undo
172 172
 
173 173
         if (!$router || !$user) { return ''; }
174 174
 
175
-        $token = $user instanceOf AnonymousUser ? '?token=' . $user->getToken() : '';
175
+        $token = $user instanceOf AnonymousUser ? '?token='.$user->getToken() : '';
176 176
         $href  = $router->assemble(
177 177
                         ['id' => $this->application->getId()],
178 178
                         ['name'=>'lang/applications/detail', 'force_canonical'=>true]
179
-        ) . $token;
179
+        ).$token;
180 180
 
181 181
         return $href;
182 182
 
Please login to merge, or discard this patch.