Completed
Push — develop ( fd8298...e653e2 )
by Carsten
14s
created
module/Auth/src/Auth/Factory/Form/Element/UserSearchbarFactory.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-
63 62
      *
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         /* @var \Zend\View\Helper\HeadScript $headScript */
49 49
 
50
-        $viewHelpers= $container->get('ViewHelperManager');
50
+        $viewHelpers = $container->get('ViewHelperManager');
51 51
         $headScript = $viewHelpers->get('headscript');
52 52
         $basePath   = $viewHelpers->get('basepath');
53 53
         $headScript->appendFile($basePath('Auth/js/form.usersearchbar.js'));
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/View/Helper/SocialButtonsFactory.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 $serviceLocator \Zend\View\HelperPluginManager */
36 36
         $options = $container->get('Auth/Options');
37 37
         $config = $container->get('Config');
38
-        $helper = new SocialButtons($options,$config);
38
+        $helper = new SocialButtons($options, $config);
39 39
         return $helper;
40 40
     }
41 41
 
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Form/View/Helper/FormEditorLightFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,16 +46,16 @@
 block discarded – undo
46 46
         $lang = $event->getRouteMatch()->getParam('lang');
47 47
 
48 48
         $helper = new FormEditorLight();
49
-        if(isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])){
49
+        if (isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])) {
50 50
             $helper->setOptions($config['view_helper_config']['form_editor']['light']);
51 51
         }
52 52
 
53
-        $helper->setOption('theme' ,  'modern');
54
-        $helper->setOption('selector' ,  'div.tinymce_light');
53
+        $helper->setOption('theme', 'modern');
54
+        $helper->setOption('selector', 'div.tinymce_light');
55 55
 
56
-        if (in_array($lang,['de','fr','it','es','hi','ar','ru','zh','tr'])) {
56
+        if (in_array($lang, ['de', 'fr', 'it', 'es', 'hi', 'ar', 'ru', 'zh', 'tr'])) {
57 57
             $helper->setOption('language', $lang);
58
-            $helper->setOption('language_url', $basePath('/js/tinymce-lang/') . $lang .'.js');
58
+            $helper->setOption('language_url', $basePath('/js/tinymce-lang/').$lang.'.js');
59 59
         }
60 60
         return $helper;
61 61
     }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/JobboardController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@
 block discarded – undo
79 79
         $request = $this->getRequest();
80 80
         $getParams = $request->getQuery();
81 81
         $routeParams = $this->params()->fromRoute();
82
-        if (isset($routeParams['q']) && !isset($getParams['q'])){
83
-            $getParams['q']=$routeParams['q'];
82
+        if (isset($routeParams['q']) && !isset($getParams['q'])) {
83
+            $getParams['q'] = $routeParams['q'];
84 84
         }
85 85
 
86 86
         $result = $this->pagination([
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AttachableEntityInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param AttachableEntityManager $attachableEntityManager
24 24
      * @throws \LogicException If attachable entity manager is already set
25
+     * @return AttachableEntityTrait
25 26
      */
26 27
     public function setAttachableEntityManager(AttachableEntityManager $attachableEntityManager);
27 28
 
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AttachableEntityTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     /**
79 79
      * @see AttachableEntityInterface::createAttachedEntity()
80 80
      */
81
-    public function createAttachedEntity($entityClass, $values = [], $key=null)
81
+    public function createAttachedEntity($entityClass, $values = [], $key = null)
82 82
     {
83 83
         return $this->getAttachableEntityManager()->createAttachedEntity($entityClass, $values, $key);
84 84
     }
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Snippet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     private function fromEvent($name, $values)
91 91
     {
92
-        $event  = $this->events->getEvent($name, $this, $values);
92
+        $event = $this->events->getEvent($name, $this, $values);
93 93
         $results = $this->events->triggerEvent($event);
94 94
 
95 95
         $snippets = [];
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             $content = $item['content'];
139 139
 
140 140
             foreach ($values as $key => $val) {
141
-                $content = str_replace('%' . $key . '%', $val, $content);
141
+                $content = str_replace('%'.$key.'%', $val, $content);
142 142
             }
143 143
 
144 144
             return $content;
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/TranslatorAwareMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * </pre>
103 103
      *
104 104
      * @param string $subject
105
-     * @param bool|mixed $translate
105
+     * @param string $translate
106 106
      *
107 107
      * @since 0.19
108 108
      * @since 0.29 Add sprintf support for translation
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->getDisplayName(false);
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.