Completed
Push — develop ( 478992...e444cc )
by Mathias
36:14
created
Organizations/src/Organizations/Form/OrganizationsContactFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function getHydrator()
25 25
     {
26 26
         if (!$this->hydrator) {
27
-            $hydrator           = new EntityHydrator();
27
+            $hydrator = new EntityHydrator();
28 28
             $this->setHydrator($hydrator);
29 29
         }
30 30
         return $this->hydrator;
Please login to merge, or discard this patch.
src/Organizations/Repository/Event/InjectOrganizationReferenceListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         if ($document instanceof UserInterface) {
42 42
             $repository = $args->getDocumentManager()->getRepository('Organizations\Entity\Organization');
43
-            $userId  = $document->getId();
43
+            $userId = $document->getId();
44 44
             $reference = new OrganizationReference($userId, $repository);
45 45
 
46 46
             $document->setOrganization($reference);
Please login to merge, or discard this patch.
Organizations/src/Organizations/Repository/Filter/PaginationQuery.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var String
26 26
      */
27
-    protected $repositoryName="Organizations/Organization";
27
+    protected $repositoryName = "Organizations/Organization";
28 28
     
29 29
     /**
30 30
      * Sortable fields
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      * @see \Core\Repository\Filter\AbstractPaginationQuery::createQuery()
52 52
      * @param $params
53 53
      * @param \Doctrine\ODM\MongoDB\Query\Builder $queryBuilder
54
-     * @return mixed
54
+     * @return \Doctrine\ODM\MongoDB\Query\Builder
55 55
      */
56 56
     public function createQuery($params, $queryBuilder)
57 57
     {
Please login to merge, or discard this patch.
module/Settings/src/Settings/Form/SettingsFieldset.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
                 $fieldset->setLabel(ucfirst($label));
103 103
             }
104 104
             $fieldset->setName($name)
105
-                     ->setObject($child);
105
+                        ->setObject($child);
106 106
             
107 107
             
108 108
             $this->add($fieldset);
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
 
75 75
             $inputLabel = isset($this->labelMap[$inputName]) ? $this->labelMap[$inputName] : $inputName;
76 76
 
77
-            if (is_array($inputLabel)){
78
-                $priority = isset($inputLabel[1])?$inputLabel[1]:0;
77
+            if (is_array($inputLabel)) {
78
+                $priority = isset($inputLabel[1]) ? $inputLabel[1] : 0;
79 79
                 $inputLabel = $inputLabel[0];
80
-            }else{
80
+            } else {
81 81
                 $priority = 0;
82 82
             }
83 83
 
@@ -89,19 +89,19 @@  discard block
 block discarded – undo
89 89
                     ),
90 90
             );
91 91
             if (is_bool($value)) {
92
-                $input['type']= 'Checkbox';
92
+                $input['type'] = 'Checkbox';
93 93
                 $input['attributes']['checked'] = $value;
94 94
             } else {
95 95
                 $input['attributes']['value'] = $value;
96 96
             }
97
-            $this->add($input,['priority'=>$priority]);
97
+            $this->add($input, ['priority'=>$priority]);
98 98
             
99 99
         }
100 100
         
101 101
         foreach ($children as $name => $child) {
102 102
             $objectClass  = ltrim(get_class($settings), '\\');
103 103
             $moduleName   = substr($objectClass, 0, strpos($objectClass, '\\'));
104
-            $fieldsetName = $moduleName . '/' . ucfirst($name) . 'SettingsFieldset';
104
+            $fieldsetName = $moduleName.'/'.ucfirst($name).'SettingsFieldset';
105 105
             
106 106
             if ($this->formManager->has($fieldsetName)) {
107 107
                 $fieldset = $this->formManager->get($fieldsetName);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             if (is_array($inputLabel)){
78 78
                 $priority = isset($inputLabel[1])?$inputLabel[1]:0;
79 79
                 $inputLabel = $inputLabel[0];
80
-            }else{
80
+            } else{
81 81
                 $priority = 0;
82 82
             }
83 83
 
Please login to merge, or discard this patch.
module/Core/config/doctrine.config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
 //                'driver'             => 'odm_default',
27 27
 //
28 28
 //                'generate_proxies'   => true,
29
-                  'proxy_dir'          => 'cache/DoctrineMongoODMModule/Proxy',
29
+                    'proxy_dir'          => 'cache/DoctrineMongoODMModule/Proxy',
30 30
 //                'proxy_namespace'    => 'DoctrineMongoODMModule\Proxy',
31 31
 //
32 32
 //                'generate_hydrators' => true,
33
-                  'hydrator_dir'       => 'cache/DoctrineMongoODMModule/Hydrator',
33
+                    'hydrator_dir'       => 'cache/DoctrineMongoODMModule/Hydrator',
34 34
 //                'hydrator_namespace' => 'DoctrineMongoODMModule\Hydrator',
35 35
 //
36 36
 //                'default_db'         => '',
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/IndexController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     {
132 132
         $viewModel = new ViewModel();
133 133
         $viewModel->setTemplate('error/index')
134
-                  ->setVariable('message', 'An unexpected error had occured. Please try again later.');
134
+                    ->setVariable('message', 'An unexpected error had occured. Please try again later.');
135 135
         return $viewModel;
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/Job.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -380,10 +380,10 @@
 block discarded – undo
380 380
         return $this;
381 381
     }
382 382
     
383
-     /**
384
-     * (non-PHPdoc)
385
-     * @see \Jobs\Entity\JobInterface::getOrganization()
386
-     */
383
+        /**
384
+         * (non-PHPdoc)
385
+         * @see \Jobs\Entity\JobInterface::getOrganization()
386
+         */
387 387
     public function getOrganization()
388 388
     {
389 389
         return $this->organization;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
 
537 537
     /**
538 538
      * Gets the number of unread applications
539
-     * @return Collection
539
+     * @return integer
540 540
      */
541 541
     public function getUnreadApplications()
542 542
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -460,10 +460,10 @@  discard block
 block discarded – undo
460 460
     public function getLocation()
461 461
     {
462 462
         if (null === $this->location) {
463
-            $array=[];
464
-            if(null != $this->locations){
463
+            $array = [];
464
+            if (null != $this->locations) {
465 465
                 foreach ($this->locations as $location) { /* @var \Core\Entity\LocationInterface $location */
466
-                    $array[]=$location->getCity();
466
+                    $array[] = $location->getCity();
467 467
                 }
468 468
                 return implode(', ', $array);
469 469
             }
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
             if ($removePermissions) {
519 519
                 $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL);
520 520
             }
521
-            $this->user=null;
521
+            $this->user = null;
522 522
         }
523 523
 
524 524
         return $this;
@@ -768,7 +768,7 @@  discard block
 block discarded – undo
768 768
         $organization = $this->organization;
769 769
         if (is_object($organization) && $organization->getImage()) {
770 770
             $organizationImage = $organization->getImage();
771
-            return "/file/Organizations.OrganizationImage/" . $organizationImage->getId();
771
+            return "/file/Organizations.OrganizationImage/".$organizationImage->getId();
772 772
         }
773 773
         return $this->logoRef;
774 774
     }
Please login to merge, or discard this patch.
Organizations/src/Organizations/Controller/InviteEmployeeController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
         $result       = $this->forward()->dispatch('Auth\Controller\Password', array('action' => 'index'));
100 100
         $model        = new ViewModel(
101 101
             array(
102
-                                          'organization' => $organization->getOrganizationName()->getName()
103
-                                      )
102
+                                            'organization' => $organization->getOrganizationName()->getName()
103
+                                        )
104 104
         );
105 105
 
106 106
         if (!$result->getVariable('valid', false)) {
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
 
142 142
         return new ViewModel(
143 143
             array(
144
-                                 'organization' => $organization->getOrganizationName()->getName()
145
-                             )
144
+                                    'organization' => $organization->getOrganizationName()->getName()
145
+                                )
146 146
         );
147 147
     }
148 148
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Multipost.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     protected function addButtonsFieldset()
61 61
     {
62 62
         $this->add(
63
-             array(
64
-                 'type' => 'Jobs/MultipostButtonFieldset'
65
-             )
63
+                array(
64
+                    'type' => 'Jobs/MultipostButtonFieldset'
65
+                )
66 66
         );
67 67
     }
68 68
 }
Please login to merge, or discard this patch.