Completed
Push — develop ( 321e68...dce9ea )
by Carsten
09:20
created
Organizations/src/Organizations/Controller/InviteEmployeeController.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
  */
30 30
 class InviteEmployeeController extends AbstractActionController
31 31
 {
32
-	protected $repositories;
32
+    protected $repositories;
33 33
 	
34 34
     /**
35 35
      * Invitation first step: Create or find user and send mail.
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
         $result       = $this->forward()->dispatch('Auth\Controller\Password', array('action' => 'index'));
104 104
         $model        = new ViewModel(
105 105
             array(
106
-                                          'organization' => $organization->getOrganizationName()->getName()
107
-                                      )
106
+                                            'organization' => $organization->getOrganizationName()->getName()
107
+                                        )
108 108
         );
109 109
 
110 110
         if (!$result->getVariable('valid', false)) {
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
 
145 145
         return new ViewModel(
146 146
             array(
147
-                                 'organization' => $organization->getOrganizationName()->getName()
148
-                             )
147
+                                    'organization' => $organization->getOrganizationName()->getName()
148
+                                )
149 149
         );
150 150
     }
151 151
 
@@ -170,20 +170,20 @@  discard block
 block discarded – undo
170 170
         return $model;
171 171
     }
172 172
 	
173
-	/**
174
-	 * Initialize required used service for this container
175
-	 *
176
-	 * @param ContainerInterface $container
177
-	 */
173
+    /**
174
+     * Initialize required used service for this container
175
+     *
176
+     * @param ContainerInterface $container
177
+     */
178 178
     public function initContainer(ContainerInterface $container)
179 179
     {
180
-    	$this->repositories = $container->get('repositories');
180
+        $this->repositories = $container->get('repositories');
181 181
     }
182 182
     
183
-	static public function factory(ContainerInterface $container)
184
-	{
185
-		$ob = new static();
186
-		$ob->initContainer($container);
187
-		return $ob;
188
-	}
183
+    static public function factory(ContainerInterface $container)
184
+    {
185
+        $ob = new static();
186
+        $ob->initContainer($container);
187
+        return $ob;
188
+    }
189 189
 }
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Controller/IndexController.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -56,33 +56,33 @@
 block discarded – undo
56 56
      */
57 57
     private $repository;
58 58
 	
59
-	/**
60
-	 * @var FormElementManagerV3Polyfill
61
-	 */
59
+    /**
60
+     * @var FormElementManagerV3Polyfill
61
+     */
62 62
     private $formManager;
63 63
     
64 64
     private $viewHelper;
65 65
 	
66
-	/**
67
-	 * @var TranslatorInterface
68
-	 */
66
+    /**
67
+     * @var TranslatorInterface
68
+     */
69 69
     private $translator;
70 70
 	
71
-	/**
72
-	 * Create new controller instance
73
-	 *
74
-	 * @param Form\Organizations $form
75
-	 * @param Repository\Organization $repository
76
-	 * @param TranslatorInterface $translator
77
-	 * @param $formManager
78
-	 * @param $viewHelper
79
-	 */
71
+    /**
72
+     * Create new controller instance
73
+     *
74
+     * @param Form\Organizations $form
75
+     * @param Repository\Organization $repository
76
+     * @param TranslatorInterface $translator
77
+     * @param $formManager
78
+     * @param $viewHelper
79
+     */
80 80
     public function __construct(
81
-    	Form\Organizations $form,
82
-	    Repository\Organization $repository,
83
-		TranslatorInterface $translator,
84
-		$formManager,
85
-		$viewHelper
81
+        Form\Organizations $form,
82
+        Repository\Organization $repository,
83
+        TranslatorInterface $translator,
84
+        $formManager,
85
+        $viewHelper
86 86
     )
87 87
     {
88 88
         $this->repository = $repository;
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Form/OrganizationsNameFieldset.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -24,31 +24,31 @@
 block discarded – undo
24 24
 class OrganizationsNameFieldset extends Fieldset
25 25
 {
26 26
 	
27
-	/**
28
-	 * @var RepositoryService
29
-	 */
30
-	private $repositories;
27
+    /**
28
+     * @var RepositoryService
29
+     */
30
+    private $repositories;
31 31
 	
32
-	/**
33
-	 * @return RepositoryService
34
-	 */
35
-	public function getRepositories()
36
-	{
37
-		return $this->repositories;
38
-	}
32
+    /**
33
+     * @return RepositoryService
34
+     */
35
+    public function getRepositories()
36
+    {
37
+        return $this->repositories;
38
+    }
39 39
 	
40
-	/**
41
-	 * @param RepositoryService $repositories
42
-	 */
43
-	public function setRepositories( $repositories )
44
-	{
45
-		$this->repositories = $repositories;
46
-	}
40
+    /**
41
+     * @param RepositoryService $repositories
42
+     */
43
+    public function setRepositories( $repositories )
44
+    {
45
+        $this->repositories = $repositories;
46
+    }
47 47
 	
48
-	public function getHydrator()
48
+    public function getHydrator()
49 49
     {
50 50
         if (!$this->hydrator) {
51
-        	/* @var $formElementManager FormElementManagerV3Polyfill */
51
+            /* @var $formElementManager FormElementManagerV3Polyfill */
52 52
             $hydrator           = new EntityHydrator();
53 53
             $formFactory        = $this->getFormFactory();
54 54
             $formElementManager = $formFactory->getFormElementManager();
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Form/Organizations.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
                 'property' => 'images',
51 51
                 'use_files_array' => true,
52 52
                 
53
-	            'options' => [
53
+                'options' => [
54 54
 	            
55
-	            ]
55
+                ]
56 56
             ),
57 57
 
58 58
             'descriptionForm' => array(
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Mail/EmployeeInvitationFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         /* @var $serviceLocator \Core\Mail\MailService */
49 49
         /* @var $owner \Auth\Entity\UserInterface */
50 50
         /* @var $user \Auth\Entity\UserInterface */
51
-		$this->setCreationOptions($options);
51
+        $this->setCreationOptions($options);
52 52
         $auth     = $container->get('AuthenticationService');
53 53
         $router   = $container->get('Router');
54 54
 
Please login to merge, or discard this patch.
module/Geo/src/Geo/Service/AbstractClient.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@
 block discarded – undo
62 62
 
63 63
     public function query($term, array $params = [])
64 64
     {
65
-    	/* @TODO: [ZF3] overriding $term value because it always returns null */
66
-    	if(is_null($term)){
67
-		    $term = $_REQUEST['q'];
68
-	    }
65
+        /* @TODO: [ZF3] overriding $term value because it always returns null */
66
+        if(is_null($term)){
67
+            $term = $_REQUEST['q'];
68
+        }
69 69
         $cacheId = md5($term);
70 70
 
71 71
         if ($this->cache && ($result = $this->cache->getItem($cacheId))) {
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/SnapshotRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -188,12 +188,12 @@
 block discarded – undo
188 188
     public function findLatest($sourceId, $isDraft = false)
189 189
     {
190 190
         return $this->createQueryBuilder()
191
-          ->field('snapshotEntity')->equals(new \MongoId($sourceId))
192
-          ->field('snapshotMeta.isDraft')->equals($isDraft)
193
-          ->sort('snapshotMeta.dateCreated.date', 'desc')
194
-          ->limit(1)
195
-          ->getQuery()
196
-          ->getSingleResult();
191
+            ->field('snapshotEntity')->equals(new \MongoId($sourceId))
192
+            ->field('snapshotMeta.isDraft')->equals($isDraft)
193
+            ->sort('snapshotMeta.dateCreated.date', 'desc')
194
+            ->limit(1)
195
+            ->getQuery()
196
+            ->getSingleResult();
197 197
 
198 198
     }
199 199
 
Please login to merge, or discard this patch.
module/Auth/src/Acl/Controller/Plugin/Acl.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -138,14 +138,14 @@
 block discarded – undo
138 138
         if (!$this->test($resource, $privilege)) {
139 139
             $msg = null === $privilege
140 140
                  ? sprintf(
141
-                     'You are not allowed to access resource "%s"',
142
-                     is_object($resource) ? $resource->getResourceId() : $resource
143
-                 )
141
+                        'You are not allowed to access resource "%s"',
142
+                        is_object($resource) ? $resource->getResourceId() : $resource
143
+                    )
144 144
                  : sprintf(
145
-                     'You are not allowed to execute operation "%s" on resource "%s"',
146
-                     $privilege,
147
-                     is_object($resource) ? $resource->getResourceId() : $resource
148
-                 );
145
+                        'You are not allowed to execute operation "%s" on resource "%s"',
146
+                        $privilege,
147
+                        is_object($resource) ? $resource->getResourceId() : $resource
148
+                    );
149 149
             
150 150
             if ($resource instanceof FileInterface && 0 == strpos($resource->getType(), 'image/')) {
151 151
                 throw new UnauthorizedImageAccessException(str_replace('resource', 'image', $msg));
Please login to merge, or discard this patch.
module/Jobs/config/module.config.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -274,9 +274,9 @@  discard block
 block discarded – undo
274 274
         ],
275 275
         'factories' => [
276 276
             'Jobs/Import' => [ Controller\ImportController::class, 'factory'],
277
-        	'Jobs/Console' => [ConsoleController::class,'factory'],
278
-	        'Jobs/AdminCategories' => [AdminCategoriesController::class,'factory'],
279
-	        'Jobs/Admin'      => [AdminController::class,'factory'],
277
+            'Jobs/Console' => [ConsoleController::class,'factory'],
278
+            'Jobs/AdminCategories' => [AdminCategoriesController::class,'factory'],
279
+            'Jobs/Admin'      => [AdminController::class,'factory'],
280 280
             'Jobs/Template' => 'Jobs\Factory\Controller\TemplateControllerFactory',
281 281
             'Jobs/Index' => 'Jobs\Factory\Controller\IndexControllerFactory',
282 282
             'Jobs/Approval' => 'Jobs\Factory\Controller\ApprovalControllerFactory',
@@ -428,15 +428,15 @@  discard block
 block discarded – undo
428 428
         'invokables' => [
429 429
             'Jobs/Location/New'                 => 'Jobs\Form\InputFilter\JobLocationNew',
430 430
             //'Jobs/Location/Edit'                => 'Jobs\Form\InputFilter\JobLocationEdit',
431
-	        JobLocationEdit::class => JobLocationEdit::class,
431
+            JobLocationEdit::class => JobLocationEdit::class,
432 432
             'Jobs/Company'                      => 'Jobs\Form\InputFilter\CompanyName',
433 433
         ],
434 434
         'factories' => [
435 435
             'Jobs/AtsMode'                      => 'Jobs\Factory\Form\InputFilter\AtsModeFactory',
436 436
         ],
437
-	    'aliases' => [
438
-	    	'Jobs/Location/Edit' => JobLocationEdit::class
439
-	    ]
437
+        'aliases' => [
438
+            'Jobs/Location/Edit' => JobLocationEdit::class
439
+        ]
440 440
     ],
441 441
 
442 442
     'filters' => [
Please login to merge, or discard this patch.