Completed
Pull Request — develop (#329)
by Carsten
07:08
created
module/Core/src/Core/Entity/AddressInterface.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -14,50 +14,50 @@
 block discarded – undo
14 14
 interface AddressInterface extends EntityInterface
15 15
 {
16 16
        
17
-   /**
18
-    * Postal Code of the Address.
19
-    *
20
-    * @param string $postalCode
21
-    * @return AddressInterface
22
-    */
17
+    /**
18
+     * Postal Code of the Address.
19
+     *
20
+     * @param string $postalCode
21
+     * @return AddressInterface
22
+     */
23 23
     public function setPostalCode($postalCode);
24 24
     public function getPostalCode();
25 25
    
26
-   /**
27
-    * Identifies the town or the city
28
-    *
29
-    * @param string $cityName
30
-    * @return AddressInterface
31
-    */
26
+    /**
27
+     * Identifies the town or the city
28
+     *
29
+     * @param string $cityName
30
+     * @return AddressInterface
31
+     */
32 32
     public function setCityName($cityName);
33 33
     public function getCityName();
34 34
 
35
-   /**
36
-    * The Street Name where the building/ house is located
37
-    *
38
-    * @param string $streetName
39
-    * @return AddressInterface
40
-    */
35
+    /**
36
+     * The Street Name where the building/ house is located
37
+     *
38
+     * @param string $streetName
39
+     * @return AddressInterface
40
+     */
41 41
     public function setStreetName($streetName);
42 42
     public function getStreetName();
43 43
 
44
-   /**
45
-    * The Number of the building or house on the street that identifies where
46
-    * to deliver mail. For example, Building 300 on Standards Parkway
47
-    *
48
-    * @param string $buildingNumber
49
-    * @return AddressInterface
50
-    */
44
+    /**
45
+     * The Number of the building or house on the street that identifies where
46
+     * to deliver mail. For example, Building 300 on Standards Parkway
47
+     *
48
+     * @param string $buildingNumber
49
+     * @return AddressInterface
50
+     */
51 51
     public function setBuildingNumber($buildingNumber);
52 52
     public function getBuildingNumber();
53 53
     
54
-   /**
55
-    * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned
56
-    * Numbers Authority.
57
-    *
58
-    * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'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'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'}
59
-    * @return AddressInterface
60
-    */
54
+    /**
55
+     * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned
56
+     * Numbers Authority.
57
+     *
58
+     * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BV'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'EH'|'ER'|'ES'|'ET'|'EU'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GF'|'GG'|'GH'|'GI'|'GL'|'GM'|'GN'|'GP'|'GQ'|'GR'|'GS'|'GT'|'GU'|'GW'|'GY'|'HK'|'HM'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IO'|'IQ'|'IR'|'IS'|'IT'|'JE'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MQ'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NF'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'}
59
+     * @return AddressInterface
60
+     */
61 61
     public function setCountryCode($countryCode);
62 62
     public function getCountryCode();
63 63
 }
Please login to merge, or discard this patch.
module/Pdf/Module.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
  */
31 31
 class Module
32 32
 {
33
-     /**
34
-     * Loads module specific configuration.
35
-     *
36
-     * @return array
37
-     */
33
+        /**
34
+         * Loads module specific configuration.
35
+         *
36
+         * @return array
37
+         */
38 38
     public function getConfig()
39 39
     {
40 40
         return ModuleConfigLoader::load(__DIR__ . '/config');
Please login to merge, or discard this patch.
module/Auth/src/Acl/Listener/CheckPermissionsListener.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param  EventManagerInterface $events
60 60
      * @param  integer $priority
61
-    */
61
+     */
62 62
     public function attach(EventManagerInterface $events)
63 63
     {
64 64
         $this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onRoute'), -10);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $acl  = $this->getAcl();
113 113
         
114 114
         if ($acl->hasResource($resourceId) && !$acl->isAllowed($role, $resourceId, $privilege)) {
115
-           /*
115
+            /*
116 116
             * Exceptions are only catched within the dispatch listener, so
117 117
             * we have to set the exception manually in the event
118 118
             * and trigger the DISPATCH_ERROR event.
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Mail/EmployeeInvitationFactory.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
         $url = $router->assemble(
82 82
             array('action' => 'accept'),
83 83
             array(
84
-                                     'name'  => 'lang/organizations/invite',
85
-                                     'query' => array(
86
-                                         'token'        => $this->options['token'],
87
-                                         'organization' => $org->getId()
88
-                                     )
89
-                                 )
84
+                                        'name'  => 'lang/organizations/invite',
85
+                                        'query' => array(
86
+                                            'token'        => $this->options['token'],
87
+                                            'organization' => $org->getId()
88
+                                        )
89
+                                    )
90 90
         );
91 91
 
92 92
         $variables = array(
@@ -107,14 +107,14 @@  discard block
 block discarded – undo
107 107
 
108 108
         $mail = $serviceLocator->get('htmltemplate');
109 109
         $mail->setTemplate($this->options['template'])
110
-             ->setVariables($variables)
111
-             ->setSubject(
112
-                 sprintf(
113
-                     /* @translate */ 'Invitation to join the team of %s',
114
-                     $orgName
115
-                 )
116
-             )
117
-             ->addTo($user->getEmail());
110
+                ->setVariables($variables)
111
+                ->setSubject(
112
+                    sprintf(
113
+                        /* @translate */ 'Invitation to join the team of %s',
114
+                        $orgName
115
+                    )
116
+                )
117
+                ->addTo($user->getEmail());
118 118
 
119 119
         return $mail;
120 120
     }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ImportController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -179,9 +179,9 @@  discard block
 block discarded – undo
179 179
                                 $location = new Location();
180 180
                                 $coords = array_map(function($i) { return (float) $i; }, $locData['coordinates']);
181 181
                                 $location->setCountry($locData['country'])
182
-                                         ->setRegion($locData['region'])
183
-                                         ->setCity($locData['city'])
184
-                                         ->setCoordinates(new Point($coords));
182
+                                            ->setRegion($locData['region'])
183
+                                            ->setCity($locData['city'])
184
+                                            ->setCoordinates(new Point($coords));
185 185
 
186 186
                                 $jobLocations->add($location);
187 187
                             }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                                 /* @var $jobEvents \Zend\EventManager\EventManager */
213 213
                                 $jobEvents = $services->get('Jobs/Events');
214 214
                                 $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED)
215
-                                         ->setTarget($this);
215
+                                            ->setTarget($this);
216 216
                                 $responses = $jobEvents->trigger($jobEvent);
217 217
                                 foreach ($responses as $response) {
218 218
                                     // responses from the portals
Please login to merge, or discard this patch.
Organizations/Factory/Controller/Plugin/AcceptInvitationHandlerFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
 
41 41
         $plugin = new AcceptInvitationHandler();
42 42
         $plugin->setUserRepository($userRepository)
43
-               ->setOrganizationRepository($organizationRepository)
44
-               ->setAuthenticationService($authenticationService);
43
+                ->setOrganizationRepository($organizationRepository)
44
+                ->setAuthenticationService($authenticationService);
45 45
 
46 46
         return $plugin;
47 47
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/CreatePaginatorService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $this->filterSortParam($params);
43 43
         $paginator = $this->createPaginator($repository, $params);
44 44
         $paginator->setCurrentPageNumber($params->get('page', 1))
45
-                  ->setItemCountPerPage($params->get('count', 10));
45
+                    ->setItemCountPerPage($params->get('count', 10));
46 46
         
47 47
         return $paginator;
48 48
         
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/TemplateLabelQualifications.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
                     )
63 63
                 )
64 64
             )
65
-       );
65
+        );
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Paginator/PaginatorServiceFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 {
24 24
 
25 25
     /** (non-PHPdoc)
26
-    * @see \Zend\ServiceManager\FactoryInterface::createService()
27
-    */
26
+     * @see \Zend\ServiceManager\FactoryInterface::createService()
27
+     */
28 28
     public function createService(ServiceLocatorInterface $serviceLocator)
29 29
     {
30 30
 
Please login to merge, or discard this patch.