Completed
Push — develop ( 037ef6...a650ad )
by Carsten
06:58
created
module/Jobs/src/Jobs/Factory/Controller/ManageControllerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
         $serviceLocator = $serviceLocator->getServiceLocator();
31 31
         $auth = $serviceLocator->get('AuthenticationService');
32 32
         /* @var RepositoryService     $repositoryService */
33
-        $repositoryService =    $serviceLocator->get('repositories');
33
+        $repositoryService = $serviceLocator->get('repositories');
34 34
 
35
-        $translator =    $serviceLocator->get('translator');
35
+        $translator = $serviceLocator->get('translator');
36 36
         return new ManageController($auth, $repositoryService, $translator);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/MailForgotPassword.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 
40 40
     public function __construct($options, $mailService, $coreOptions)
41 41
     {
42
-        $this->options=$options;
43
-        $this->mailService=$mailService;
42
+        $this->options = $options;
43
+        $this->mailService = $mailService;
44 44
         $this->coreOptions = $coreOptions;
45 45
     }
46 46
 
@@ -51,15 +51,15 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function __invoke(AuthEvent $e)
53 53
     {
54
-        $siteName=$this->coreOptions->getSiteName();
54
+        $siteName = $this->coreOptions->getSiteName();
55 55
 
56 56
         $user                    = $e->getUser();
57 57
         $userEmail               = $user->info->email;
58 58
         $userName                = $user->info->displayName;
59 59
         $resetLink               = $e->getResetLink();
60 60
 
61
-        $fromEmail               =  $this->options->getFromEmail();
62
-        $fromName                =  $this->options->getFromName();
61
+        $fromEmail               = $this->options->getFromEmail();
62
+        $fromName                = $this->options->getFromName();
63 63
 
64 64
         $mail                    = $this->mailService->get('htmltemplate');
65 65
         $mail->user              = $user;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/Register.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $this->add($fieldset);
66 66
 
67
-        $mode=$options->getMode();
67
+        $mode = $options->getMode();
68 68
         if (in_array($mode, [CaptchaOptions::RE_CAPTCHA, CaptchaOptions::IMAGE])) {
69 69
             if ($mode == CaptchaOptions::IMAGE) {
70 70
                 $captcha = new Image($options->getImage());
Please login to merge, or discard this patch.
module/Orders/src/Listener/CreateJobOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $this->priceFilter     = $priceFilter;
63 63
         $this->options         = $options;
64 64
         $this->providerOptions = $providerOptions;
65
-        $this->orderRepository      = $orderRepository;
65
+        $this->orderRepository = $orderRepository;
66 66
         $this->draftRepository = $draftRepository;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
module/Orders/src/Form/InvoiceAddress.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
     {
54 54
         parent::setParam($key, $value);
55 55
 
56
-        $events  = $this->getEventManager();
57
-        $events->trigger(FormEvent::EVENT_SET_PARAM, $this, [ 'param_name' => $key, 'param_value' => $value ]);
56
+        $events = $this->getEventManager();
57
+        $events->trigger(FormEvent::EVENT_SET_PARAM, $this, ['param_name' => $key, 'param_value' => $value]);
58 58
 
59 59
         return $this;
60 60
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $valid = parent::isValid();
66 66
 
67 67
         $events = $this->getEventManager();
68
-        $events->trigger(FormEvent::EVENT_VALIDATE, $this, [ 'isValid' => $valid ]);
68
+        $events->trigger(FormEvent::EVENT_VALIDATE, $this, ['isValid' => $valid]);
69 69
 
70 70
         return $valid;
71 71
     }
Please login to merge, or discard this patch.
module/Orders/src/Form/Listener/DisableJobInvoiceAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         /* @var \Orders\Form\InvoiceAddress $invoiceAddress */
36 36
         $invoiceAddress = $event->getForm()->getForm('invoice.invoiceAddress');
37 37
         $invoiceAddress->setDisplayMode(SummaryFormInterface::DISPLAY_SUMMARY);
38
-        foreach($invoiceAddress->getBaseFieldset() as $element) {
38
+        foreach ($invoiceAddress->getBaseFieldset() as $element) {
39 39
             $element->setAttribute('disabled', true);
40 40
         }
41 41
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Repository/Filter/PaginationSearchUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
 
22 22
     protected $sortPropertiesMap = [
23
-        'name' => [ 'info.lastName', 'info.firstName', 'info.email' ],
23
+        'name' => ['info.lastName', 'info.firstName', 'info.email'],
24 24
     ];
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
module/Jobs/config/router.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 // Routes
13 13
 return array('router' => array('routes' => array('lang' => array('child_routes' => array(
14
-    'admin' => [ 'child_routes' => [
14
+    'admin' => ['child_routes' => [
15 15
         'jobs' => [
16 16
             'type' => 'Segment',
17 17
             'options' => [
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Element/StatusSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                         ], $valueOptions);
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $options = parent::getValueOptions();
83 83
 
84 84
         return true === $this->getOption('include_all_option')
85
-               ? array_merge([ 'all' => /*@translate*/ 'All' ], $options)
85
+               ? array_merge(['all' => /*@translate*/ 'All'], $options)
86 86
                : $options;
87 87
     }
88 88
 
Please login to merge, or discard this patch.