Test Setup Failed
Push — master ( dc8a85...76f699 )
by Craig
05:08
created
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.
Translation/Extractor/Visitor/Php/Knp/Menu/AbstractKnpMenuVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             return null;
61 61
         }
62 62
 
63
-        $methodName = (string) $node->name;
63
+        $methodName = (string)$node->name;
64 64
         if ('setExtra' !== $methodName) {
65 65
             return null;
66 66
         }
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Twig/Extension/SessionExtension.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             }
81 81
 
82 82
             // set class for the messages
83
-            $class = !empty($params['class']) ? $params['class'] : "alert alert-${bootstrapClass}";
83
+            $class = !empty($params['class']) ? $params['class'] : "alert alert-${bootstrapclass}";
84 84
             $totalMessages += $messages;
85 85
             // build output of the messages
86 86
             if (empty($params['tag']) || ('span' !== $params['tag'])) {
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Command/AssetsInstallCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
 <info>php %command.full_name% web --symlink --relative</info>
58 58
 
59
-EOT
59
+eot
60 60
             );
61 61
     }
62 62
 
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Doctrine/EntityAccess.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,6 +140,6 @@
 block discarded – undo
140 140
         }
141 141
 
142 142
         $class = get_class($this);
143
-        throw new RuntimeException("Entity \"${class}\" does not have a setter for property \"${name}\". Please add ${setMethod}().");
143
+        throw new RuntimeException("Entity \"${class}\" does not have a setter for property \"${name}\". Please add ${setmethod}().");
144 144
     }
145 145
 }
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/HttpFoundation/Session/ZikulaSessionStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             // added due to https://github.com/symfony/symfony/issues/28577
142 142
             session_destroy();
143 143
 
144
-            ini_set('session.cookie_lifetime', (string) $lifetime);
144
+            ini_set('session.cookie_lifetime', (string)$lifetime);
145 145
 
146 146
             // added due to https://github.com/symfony/symfony/issues/28577
147 147
             session_start();
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Tests/Twig/TokenParser/SwitchTokenParserTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
     {
35 35
         $this->tokenParser = new SwitchTokenParser();
36 36
         $this->twigParser = $this->getMockBuilder(Parser::class)
37
-             ->disableOriginalConstructor()
38
-             ->getMock();
37
+                ->disableOriginalConstructor()
38
+                ->getMock();
39 39
         $this->tokenParser->setParser($this->twigParser);
40 40
     }
41 41
 
Please login to merge, or discard this patch.