Completed
Push — master ( 2227ec...a18735 )
by Craig
04:51
created
src/system/RoutesModule/Twig/TwigExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
                 ->getPathWithBundlePrefix($route)
88 88
         );
89 89
 
90
-        $path = preg_replace_callback('#%(.*?)%#', static function ($matches) use ($container) {
90
+        $path = preg_replace_callback('#%(.*?)%#', static function($matches) use ($container) {
91 91
             return '<abbr title="' . htmlspecialchars($matches[0]) . '">'
92 92
                 . htmlspecialchars($container->getParameter($matches[1]))
93 93
                 . '</abbr>'
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         $defaults = $route->getDefaults();
98 98
         $requirements = $route->getRequirements();
99
-        $path = preg_replace_callback('#{(.*?)}#', function ($matches) use ($defaults, $requirements) {
99
+        $path = preg_replace_callback('#{(.*?)}#', function($matches) use ($defaults, $requirements) {
100 100
             $title = '';
101 101
             if (isset($defaults[$matches[1]])) {
102 102
                 $title .= $this->trans('Default: %value%', ['%value%' => htmlspecialchars($defaults[$matches[1]])]);
Please login to merge, or discard this patch.
src/system/AdminModule/Helper/AdminLinksHelper.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
     public function sortAdminModsByOrder(array $adminLinks = []): array
22 22
     {
23
-        usort($adminLinks, function (array $a, array $b) {
23
+        usort($adminLinks, function(array $a, array $b) {
24 24
             if ((int)$a['order'] === (int)$b['order']) {
25 25
                 return strcmp($a['moduleName'], $b['moduleName']);
26 26
             }
Please login to merge, or discard this patch.
build/Composer/Process/RequireJsProcess.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
 if (typeof exports !== "undefined" && typeof module !== "undefined") {
209 209
     module.exports = components;
210 210
 }
211
-EOT;
211
+eot;
212 212
 
213 213
         return $output;
214 214
     }
Please login to merge, or discard this patch.
Zikula/CoreInstallerBundle/EventListener/InstallUpgradeCheckListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $containsUpgrade = 'upgrade' === $routeInfo['_route'];
58 58
         $containsLogin = 'Zikula\\UsersModule\\Controller\\AccessController::loginAction' === $routeInfo['_controller'];
59 59
         $containsDoc = 'doc' === $routeInfo['_route'];
60
-        $containsWdt =  '_wdt' === $routeInfo['_route'];
60
+        $containsWdt = '_wdt' === $routeInfo['_route'];
61 61
         $containsProfiler = false !== mb_strpos($routeInfo['_route'], '_profiler');
62 62
         $containsRouter = 'fos_js_routing_js' === $routeInfo['_route'];
63 63
         $doNotRedirect = $containsProfiler || $containsWdt || $containsRouter || $request->isXmlHttpRequest();
Please login to merge, or discard this patch.
src/Zikula/CoreInstallerBundle/Helper/MigrationHelper.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
 
80 80
         $mapping = new AuthenticationMappingEntity();
81
-        $mapping->setUid((int) $user['uid']);
81
+        $mapping->setUid((int)$user['uid']);
82 82
         $mapping->setUname($user['uname']);
83 83
         $mapping->setEmail($user['email']);
84 84
         $mapping->setVerifiedEmail(true);
Please login to merge, or discard this patch.
src/Zikula/CoreInstallerBundle/Stage/Install/CompleteStage.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,11 +97,11 @@
 block discarded – undo
97 97
     <title>${subject}</title>
98 98
 </head>
99 99
 <body>
100
-<h1>Hi ${uName}!</h1>
100
+<h1>Hi ${uname}!</h1>
101 101
 <p>Zikula has been successfully installed at <a href="${url}">${url}</a>. If you have further questions,
102 102
 visit <a href="https://ziku.la">ziku.la</a></p>
103 103
 </body>
104
-EOF;
104
+eof;
105 105
         $message = new Swift_Message($subject, $body, 'text/html');
106 106
         $message->setFrom($adminUser->getEmail());
107 107
         $message->setTo($adminUser->getEmail());
Please login to merge, or discard this patch.
Validator/Constraints/AuthenticateAdminLoginValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
                 ->addViolation()
74 74
             ;
75 75
         } else {
76
-            $granted = $this->permissionApi->hasPermission('.*', '.*', ACCESS_ADMIN, (int) $user['uid']);
76
+            $granted = $this->permissionApi->hasPermission('.*', '.*', ACCESS_ADMIN, (int)$user['uid']);
77 77
             if (!$granted) {
78 78
                 $this->context
79 79
                     ->buildViolation($this->trans('Error! You logged in to an account without Admin permissions'))
Please login to merge, or discard this patch.
Zikula/CoreBundle/Translation/Extractor/Visitor/Php/Knp/Menu/ItemLabel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             return null;
40 40
         }
41 41
 
42
-        $methodName = (string) $node->name;
42
+        $methodName = (string)$node->name;
43 43
         if (!\in_array($methodName, ['addChild', 'setLabel'], true)) {
44 44
             return null;
45 45
         }
Please login to merge, or discard this patch.
Zikula/CoreBundle/Translation/Extractor/Visitor/Php/Knp/Menu/LinkTitle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             return null;
39 39
         }
40 40
 
41
-        $methodName = (string) $node->name;
41
+        $methodName = (string)$node->name;
42 42
         if ('setLinkAttribute' !== $methodName) {
43 43
             return null;
44 44
         }
Please login to merge, or discard this patch.