Completed
Pull Request — develop (#235)
by ANTHONIUS
08:09
created
module/Core/src/Core/Listener/NotificationAjaxHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 $notifications = $event->getNotifications();
42 42
                 if (is_array($notifications) && !empty($notifications)) {
43 43
                     foreach ($notifications as $notification) {
44
-                        $headScript->appendScript('/* ' . $notification->getNotification() . ' */');
44
+                        $headScript->appendScript('/* '.$notification->getNotification().' */');
45 45
                     }
46 46
                 }
47 47
             }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/CreatePaginator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         /* @var $paginator \Zend\Paginator\Paginator */
72 72
         $paginator = $paginators->get($paginatorName, $params);
73 73
         $paginator->setCurrentPageNumber(isset($params['page']) ? $params['page'] : 1)
74
-                  ->setItemCountPerPage(isset($params['count']) ? $params['count'] : 10)
75
-                  ->setPageRange(isset($params['range']) ? $params['range'] : 5);
74
+                    ->setItemCountPerPage(isset($params['count']) ? $params['count'] : 10)
75
+                    ->setPageRange(isset($params['range']) ? $params['range'] : 5);
76 76
 
77 77
         return $paginator;
78 78
 
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/ContentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function indexAction()
29 29
     {
30 30
         $view = $this->params('view');
31
-        $view = 'content/' . $view;
31
+        $view = 'content/'.$view;
32 32
 
33 33
         $viewModel = new ViewModel();
34 34
         $viewModel->setTemplate($view);
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Paginator/RepositoryAbstractFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,10 +93,10 @@
 block discarded – undo
93 93
         $queryBuilder->find($this->getEntityClassName($requestedName));
94 94
 
95 95
         $filterManager = $services->get('FilterManager');
96
-        $filterName    = 'PaginationQuery/' . $requestedName;
96
+        $filterName    = 'PaginationQuery/'.$requestedName;
97 97
 
98 98
         if ($filterManager->has($filterName)) {
99
-            $filter       = $filterManager->get('PaginationQuery/' . $requestedName);
99
+            $filter       = $filterManager->get('PaginationQuery/'.$requestedName);
100 100
             $queryBuilder = $filter->filter($this->options, $queryBuilder);
101 101
         }
102 102
 
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/StringTemplateMessage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
                 throw new \InvalidArgumentException(
40 40
                     sprintf(
41 41
                         'Expect an array or an instance of \Traversable, but received %s',
42
-                        is_object($variables) ? 'instance of ' . get_class($variables) : 'skalar'
42
+                        is_object($variables) ? 'instance of '.get_class($variables) : 'skalar'
43 43
                     )
44 44
                 );
45 45
             }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 throw new \InvalidArgumentException(
70 70
                     sprintf(
71 71
                         'Expect an array or an instance of \Traversable, but received %s',
72
-                        is_object($callbacks) ? 'instance of ' . get_class($callbacks) : 'skalar'
72
+                        is_object($callbacks) ? 'instance of '.get_class($callbacks) : 'skalar'
73 73
                     )
74 74
                 );
75 75
             }
@@ -141,6 +141,6 @@  discard block
 block discarded – undo
141 141
     
142 142
     protected function getNamePattern($name)
143 143
     {
144
-        return '~##' . preg_quote($name) . '##~is';
144
+        return '~##'.preg_quote($name).'##~is';
145 145
     }
146 146
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/Message.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             throw new \InvalidArgumentException(
27 27
                 sprintf(
28 28
                     'Expected $options to be an array or \Traversable, but received %s',
29
-                    (is_object($options) ? 'instance of ' . get_class($options) : 'skalar')
29
+                    (is_object($options) ? 'instance of '.get_class($options) : 'skalar')
30 30
                 )
31 31
             );
32 32
         }
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@
 block discarded – undo
53 53
 
54 54
         if ($emailOrAddressOrList instanceOf UserInterface) {
55 55
             parent::updateAddressList(
56
-                         $addressList,
57
-                         $emailOrAddressOrList->getInfo()->getEmail(),
58
-                         $emailOrAddressOrList->getInfo()->getDisplayName(false),
59
-                         $callingMethod
56
+                            $addressList,
57
+                            $emailOrAddressOrList->getInfo()->getEmail(),
58
+                            $emailOrAddressOrList->getInfo()->getDisplayName(false),
59
+                            $callingMethod
60 60
             );
61 61
             return;
62 62
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/MailServiceConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                     $recipients->add($match[1]);
70 70
                 }
71 71
             } else {
72
-                trigger_error('invalid address format ("' . $recipient . '") in mails.develop.override_recipient', E_USER_WARNING);
72
+                trigger_error('invalid address format ("'.$recipient.'") in mails.develop.override_recipient', E_USER_WARNING);
73 73
             }
74 74
         }
75 75
         return $recipients;
Please login to merge, or discard this patch.
module/Core/src/Core/Log/Formatter/ErrorAndExceptionHandler.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -139,15 +139,15 @@  discard block
 block discarded – undo
139 139
     {
140 140
         $result = array();
141 141
         foreach ($event as $index => $value) {
142
-            $nextIndex = $key === null ? $index : $key . '[' . $index . ']';
142
+            $nextIndex = $key === null ? $index : $key.'['.$index.']';
143 143
             if ($value === null) {
144 144
                 continue;
145 145
             }
146
-            if (! is_array($value)) {
146
+            if (!is_array($value)) {
147 147
                 if ($key === null) {
148 148
                     $result[$nextIndex] = $value;
149 149
                 } else {
150
-                    if (! is_object($value) || method_exists($value, "__toString")) {
150
+                    if (!is_object($value) || method_exists($value, "__toString")) {
151 151
                         $result[$nextIndex] = $value;
152 152
                     }
153 153
                 }
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
                         $val
197 197
                     );
198 198
                 }
199
-                $outputTrace .= str_repeat('-', 30) . PHP_EOL;
199
+                $outputTrace .= str_repeat('-', 30).PHP_EOL;
200 200
         
201 201
             }
202
-            $output .= "\n[Trace]\n" . $outputTrace;
202
+            $output .= "\n[Trace]\n".$outputTrace;
203 203
         }
204 204
         
205 205
         return $output;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/UserImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function getUri()
31 31
     {
32
-        return '/file/Auth.UserImage/' . $this->id;
32
+        return '/file/Auth.UserImage/'.$this->id;
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.