Completed
Push — develop ( dfed7e...55193b )
by Carsten
14:53 queued 07:54
created
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.
module/Jobs/src/Jobs/Controller/ImportController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,9 +191,9 @@
 block discarded – undo
191 191
                                 $location = new Location();
192 192
                                 $coords = array_map(function ($i) { return (float) $i; }, $locData['coordinates']);
193 193
                                 $location->setCountry($locData['country'])
194
-                                         ->setRegion($locData['region'])
195
-                                         ->setCity($locData['city'])
196
-                                         ->setCoordinates(new Point($coords));
194
+                                            ->setRegion($locData['region'])
195
+                                            ->setCity($locData['city'])
196
+                                            ->setCoordinates(new Point($coords));
197 197
 
198 198
                                 $jobLocations->add($location);
199 199
                             }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/SearchForm.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
         $content = $this->renderElements($form, $colMap, $buttonsSpan);
68 68
 
69 69
         return $this->openTag($form)
70
-             . '<div class="row" style="padding: 0 15px;">'
71
-             . $content . '</div>' . $this->closeTag();
70
+                . '<div class="row" style="padding: 0 15px;">'
71
+                . $content . '</div>' . $this->closeTag();
72 72
 
73 73
     }
74 74
 
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
             $attrs = $helper->createAttributesString($button->getAttributes());
83 83
 
84 84
             $content.= '<button ' . $attrs . '>'
85
-                       . $this->getTranslator()->translate($button->getLabel(), $this->getTranslatorTextDomain())
86
-                       . '</button>';
85
+                        . $this->getTranslator()->translate($button->getLabel(), $this->getTranslatorTextDomain())
86
+                        . '</button>';
87 87
         }
88 88
 
89 89
         return $content;
@@ -120,15 +120,15 @@  discard block
 block discarded – undo
120 120
 
121 121
             if ($element->getName() == $form->getButtonElement()) {
122 122
                 $content.='<div class="input-group col-md-' . $cols . '">'
123
-                              . $formElement($element)
124
-                              . '<div class="input-group-btn search-form-buttons" style="width: 1px;">'
125
-                              . $this->renderButtons($form->getButtons()) . '</div>'
126
-                              . '</div>';
123
+                                . $formElement($element)
124
+                                . '<div class="input-group-btn search-form-buttons" style="width: 1px;">'
125
+                                . $this->renderButtons($form->getButtons()) . '</div>'
126
+                                . '</div>';
127 127
                 $buttonsRendered = true;
128 128
             } else {
129 129
                 $content .= '<div class="input-group col-md-' . $cols . '">'
130
-                          . $formElement($element)
131
-                          . '</div>';
130
+                            . $formElement($element)
131
+                            . '</div>';
132 132
             }
133 133
 
134 134
             $i += 1;
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 $buttonsSpan = $form->getOption('buttons_span') ?: 12;
140 140
             }
141 141
             $content .= '<div class="input-group search-form-buttons col-md-' . $buttonsSpan . ' text-right">'
142
-                      . '<div class="btn-group">' . $this->renderButtons($form->getButtons()) .'</div></div>';
142
+                        . '<div class="btn-group">' . $this->renderButtons($form->getButtons()) .'</div></div>';
143 143
         }
144 144
 
145 145
         return $content;
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/SnapshotMeta.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
  * @ODM\HasLifecycleCallbacks
21 21
  */
22 22
 class SnapshotMeta implements ModificationDateAwareEntityInterface,
23
-                              DraftableEntityInterface,
24
-                              Status\StatusAwareEntityInterface
23
+                                DraftableEntityInterface,
24
+                                Status\StatusAwareEntityInterface
25 25
 {
26 26
     use ModificationDateAwareEntityTrait, DraftableEntityTrait, Status\StatusAwareEntityTrait;
27 27
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Form/LanguageSkillCollectionFactory.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -9,19 +9,19 @@
 block discarded – undo
9 9
 
10 10
 class LanguageSkillCollectionFactory implements FactoryInterface
11 11
 {
12
-	/**
13
-	 * Create a CollectionContainer form
14
-	 *
15
-	 * @param ContainerInterface $container
16
-	 * @param string $requestedName
17
-	 * @param array|null $options
18
-	 *
19
-	 * @return \Core\Form\CollectionContainer
20
-	 */
12
+    /**
13
+     * Create a CollectionContainer form
14
+     *
15
+     * @param ContainerInterface $container
16
+     * @param string $requestedName
17
+     * @param array|null $options
18
+     *
19
+     * @return \Core\Form\CollectionContainer
20
+     */
21 21
     public function __invoke(ContainerInterface $container, $requestedName, array $options = null) {
22
-	    $collectionContainer = new CollectionContainer( 'Cv/LanguageSkillForm', new Language() );
23
-	    $collectionContainer->setLabel(/*@translate */ 'Additional Language Skills' );
22
+        $collectionContainer = new CollectionContainer( 'Cv/LanguageSkillForm', new Language() );
23
+        $collectionContainer->setLabel(/*@translate */ 'Additional Language Skills' );
24 24
 	
25
-	    return $collectionContainer;
25
+        return $collectionContainer;
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
module/Behat/src/SummaryFormContext.php 1 patch
Indentation   +93 added lines, -93 removed lines patch added patch discarded remove patch
@@ -15,112 +15,112 @@
 block discarded – undo
15 15
 
16 16
 class SummaryFormContext implements Context
17 17
 {
18
-	use CommonContextTrait;
18
+    use CommonContextTrait;
19 19
 	
20
-	private $elementMap = array(
21
-		'name' => '#sf-nameForm',
22
-		'location' => '#sf-locationForm',
23
-		'employees' => '#sf-employeesManagement',
24
-		'workflow' => '#sf-workflowSettings',
25
-		'jobTitleAndLocation' => '#general-locationForm',
26
-		'jobClassification' => '#sf-general-classifications',
27
-		'customerNote' => '#sf-general-customerNote',
28
-		'personalInformations' => '#sf-contact-contact',
29
-		'resumePersonalInformations' => '#sf-contact',
30
-	);
20
+    private $elementMap = array(
21
+        'name' => '#sf-nameForm',
22
+        'location' => '#sf-locationForm',
23
+        'employees' => '#sf-employeesManagement',
24
+        'workflow' => '#sf-workflowSettings',
25
+        'jobTitleAndLocation' => '#general-locationForm',
26
+        'jobClassification' => '#sf-general-classifications',
27
+        'customerNote' => '#sf-general-customerNote',
28
+        'personalInformations' => '#sf-contact-contact',
29
+        'resumePersonalInformations' => '#sf-contact',
30
+    );
31 31
 	
32
-	/**
33
-	 * @When I click edit on :name form
34
-	 * @TODO: [ZF3] move this method to CoreContext
35
-	 */
36
-	public function iClickEditOnForm($name)
37
-	{
38
-		$this->iClickForm($name);
39
-		$name = Inflector::camelize($name);
40
-		$type = $this->elementMap[$name];
41
-		$locator = $type.' .sf-summary .sf-controls button';
42
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
43
-		if(!$element){
44
-			throw new \Exception('No element found with this locator: "'.$locator.'"');
45
-		}
46
-		$element->click();
47
-	}
32
+    /**
33
+     * @When I click edit on :name form
34
+     * @TODO: [ZF3] move this method to CoreContext
35
+     */
36
+    public function iClickEditOnForm($name)
37
+    {
38
+        $this->iClickForm($name);
39
+        $name = Inflector::camelize($name);
40
+        $type = $this->elementMap[$name];
41
+        $locator = $type.' .sf-summary .sf-controls button';
42
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
43
+        if(!$element){
44
+            throw new \Exception('No element found with this locator: "'.$locator.'"');
45
+        }
46
+        $element->click();
47
+    }
48 48
 	
49
-	/**
50
-	 * @When I click :form form
51
-	 */
52
-	public function iClickForm($name)
53
-	{
54
-		$name = Inflector::camelize($name);
55
-		$type = $this->elementMap[$name];
56
-		$locator = $type.' .sf-summary';
57
-		$session = $this->minkContext->getSession();
58
-		$script = <<<EOC
49
+    /**
50
+     * @When I click :form form
51
+     */
52
+    public function iClickForm($name)
53
+    {
54
+        $name = Inflector::camelize($name);
55
+        $type = $this->elementMap[$name];
56
+        $locator = $type.' .sf-summary';
57
+        $session = $this->minkContext->getSession();
58
+        $script = <<<EOC
59 59
 var tElement = jQuery("$locator .sf-controls");
60 60
 tElement.css('display','block');
61 61
 tElement.css('visibility','visible');
62 62
 EOC;
63
-		$session->executeScript($script);
64
-	}
63
+        $session->executeScript($script);
64
+    }
65 65
 	
66
-	/**
67
-	 * @When I save :type form
68
-	 */
69
-	public function iSaveForm($type)
70
-	{
71
-		$type = Inflector::camelize($type);
72
-		$method = 'iSave'.$type;
73
-		if(method_exists($this,$method)){
74
-			call_user_func([$this,$method]);
75
-		}else{
76
-			$locator = $this->elementMap[$type].'-buttons-submit';
77
-			$this->coreContext->scrollIntoView($locator);
78
-			$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
79
-			$element->click();
80
-		}
81
-	}
66
+    /**
67
+     * @When I save :type form
68
+     */
69
+    public function iSaveForm($type)
70
+    {
71
+        $type = Inflector::camelize($type);
72
+        $method = 'iSave'.$type;
73
+        if(method_exists($this,$method)){
74
+            call_user_func([$this,$method]);
75
+        }else{
76
+            $locator = $this->elementMap[$type].'-buttons-submit';
77
+            $this->coreContext->scrollIntoView($locator);
78
+            $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
79
+            $element->click();
80
+        }
81
+    }
82 82
 	
83
-	public function iSaveOrganizationName()
84
-	{
85
-		$locator = '#nameForm-buttons-submit';
86
-		$this->coreContext->scrollIntoView($locator);
87
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
88
-		$element->click();
89
-	}
83
+    public function iSaveOrganizationName()
84
+    {
85
+        $locator = '#nameForm-buttons-submit';
86
+        $this->coreContext->scrollIntoView($locator);
87
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
88
+        $element->click();
89
+    }
90 90
 	
91
-	/**
92
-	 * Saving organization workflow
93
-	 */
94
-	public function iSaveWorkflow()
95
-	{
96
-		$locator = '#workflowSettings-buttons-submit';
97
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
98
-		$element->click();
99
-	}
91
+    /**
92
+     * Saving organization workflow
93
+     */
94
+    public function iSaveWorkflow()
95
+    {
96
+        $locator = '#workflowSettings-buttons-submit';
97
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
98
+        $element->click();
99
+    }
100 100
 	
101
-	public function iSaveOrganizationLocation()
102
-	{
103
-		$locator = '#locationForm-buttons-submit';
104
-		$this->coreContext->scrollIntoView($locator);
105
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
106
-		$element->click();
107
-	}
101
+    public function iSaveOrganizationLocation()
102
+    {
103
+        $locator = '#locationForm-buttons-submit';
104
+        $this->coreContext->scrollIntoView($locator);
105
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
106
+        $element->click();
107
+    }
108 108
 	
109 109
 	
110
-	public function iSaveJobClassification()
111
-	{
112
-		$locator = '#general-classifications-buttons-submit';
113
-		$this->coreContext->scrollIntoView($locator);
114
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
115
-		$element->click();
116
-	}
110
+    public function iSaveJobClassification()
111
+    {
112
+        $locator = '#general-classifications-buttons-submit';
113
+        $this->coreContext->scrollIntoView($locator);
114
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
115
+        $element->click();
116
+    }
117 117
 	
118
-	public function iSaveCustomerNote()
119
-	{
120
-		$locator = '#general-customerNote-buttons-submit';
121
-		$this->coreContext->scrollIntoView('#sf-general-customerNote');
122
-		$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
123
-		$element->click();
124
-	}
118
+    public function iSaveCustomerNote()
119
+    {
120
+        $locator = '#general-customerNote-buttons-submit';
121
+        $this->coreContext->scrollIntoView('#sf-general-customerNote');
122
+        $element = $this->minkContext->getSession()->getPage()->find('css',$locator);
123
+        $element->click();
124
+    }
125 125
 	
126 126
 }
127 127
\ No newline at end of file
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Service/NotificationFactory.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,17 +31,17 @@
 block discarded – undo
31 31
      * @param array|null            $options
32 32
      * @return Notification
33 33
      */
34
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
35
-	{
36
-		$pluginManager = $container->get('ControllerPluginManager');
37
-		$flashMessenger = $pluginManager->get('FlashMessenger');
38
-		$translator = $container->get('translator');
34
+    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
35
+    {
36
+        $pluginManager = $container->get('ControllerPluginManager');
37
+        $flashMessenger = $pluginManager->get('FlashMessenger');
38
+        $translator = $container->get('translator');
39 39
 		
40
-		$notificationListener = $container->get('Core/Listener/Notification');
41
-		$notification   = new Notification($flashMessenger);
42
-		$notification->setListener($notificationListener);
43
-		$notification->setTranslator($translator);
40
+        $notificationListener = $container->get('Core/Listener/Notification');
41
+        $notification   = new Notification($flashMessenger);
42
+        $notification->setListener($notificationListener);
43
+        $notification->setTranslator($translator);
44 44
 		
45
-		return $notification;
46
-	}
45
+        return $notification;
46
+    }
47 47
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/ContentCollector.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public function trigger($event, $target = null)
75 75
     {
76 76
         if (empty($this->_template) || !is_string($this->_template)) {
77
-              throw new \InvalidArgumentException('ContentCollector must have a template-name');
77
+                throw new \InvalidArgumentException('ContentCollector must have a template-name');
78 78
         }
79 79
           
80 80
         $responseCollection = $this->getController()->getEventManager()->trigger($event, $target);
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
         $viewModel->setTemplate($this->_template);
83 83
         foreach ($responseCollection as $i => $response) {
84 84
             if (is_string($response)) {
85
-                      $template = $response;
86
-                      $response = new ViewModel(array('target' => $target));
87
-                      $response->setTemplate($template);
85
+                        $template = $response;
86
+                        $response = new ViewModel(array('target' => $target));
87
+                        $response->setTemplate($template);
88 88
             }
89 89
             $viewModel->addChild($response, $this->_captureTo . $i);
90 90
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Mail.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
         } elseif (isset($this->config['templateHalf'])) {
226 226
             $template = $this->config['templateHalf'];
227 227
         } else {
228
-              throw new \InvalidArgumentException('No template provided for Mail.');
228
+                throw new \InvalidArgumentException('No template provided for Mail.');
229 229
         }
230 230
         return $template;
231 231
     }
@@ -276,11 +276,11 @@  discard block
 block discarded – undo
276 276
         return $erg;
277 277
     }
278 278
     
279
-	/**
280
-	 * @param ContainerInterface $container
281
-	 *
282
-	 * @return static
283
-	 */
279
+    /**
280
+     * @param ContainerInterface $container
281
+     *
282
+     * @return static
283
+     */
284 284
     public static function factory(ContainerInterface $container)
285 285
     {
286 286
         //@TODO: need to define transport to be use during ::send()
Please login to merge, or discard this patch.