Test Setup Failed
Push — master ( 00f439...517b3f )
by Axel
05:29 queued 12s
created
src/Zikula/CoreBundle/Resources/skeleton/extension/BundleClass.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use Zikula\ExtensionsModule\Abstract<?php echo $type; ?>;
17 17
 
18
-class <?php echo $name; ?> extends Abstract<?php echo $type."\n"; ?>
18
+class <?php echo $name; ?> extends Abstract<?php echo $type . "\n"; ?>
19 19
 {
20 20
 }
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Resources/skeleton/extension/composer.json.tpl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
             "class": "<?php echo str_replace('\\', '\\\\', $namespace); ?>\\<?php echo $bundleClass; ?>",
23 23
             "displayname": "<?php echo $bundleClass; ?>",
24 24
             "icon": "fas fa-layer-group",
25
-            "url": "<?php echo mb_strtolower($vendor.$name.$type); ?>",
25
+            "url": "<?php echo mb_strtolower($vendor . $name . $type); ?>",
26 26
 <?php if ('Module' === $type) { ?>
27 27
             "securityschema": {
28
-                "<?php echo $vendor.$name.$type; ?>::": "::"
28
+                "<?php echo $vendor . $name . $type; ?>::": "::"
29 29
             },
30 30
 <?php } ?>
31 31
             "capabilities": {
Please login to merge, or discard this patch.
src/system/ThemeModule/Tests/Engine/AssetBagTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $bag->add(['C' => 2]);
139 139
         $bag->add(['A' => 5]);
140 140
         $bag->add(['A' => 7]);
141
-        $this->assertEquals(3, $bag->allWithWeight()['A']);  // asset listed at lowest weight submitted
141
+        $this->assertEquals(3, $bag->allWithWeight()['A']); // asset listed at lowest weight submitted
142 142
         $expected = [
143 143
             'B' => 1,
144 144
             'C' => 2,
Please login to merge, or discard this patch.
ZAuthModule/AuthenticationMethod/AbstractNativeAuthenticationMethod.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,8 @@
 block discarded – undo
111 111
             return $mapping->getUid();
112 112
         } elseif ($passwordEncoder->isPasswordValid($mapping->getPass(), $data['pass'], null)) {
113 113
             // new way
114
-            if ($passwordEncoder->needsRehash($mapping->getPass())) { // check to update hash to newer algo
114
+            if ($passwordEncoder->needsRehash($mapping->getPass())) {
115
+// check to update hash to newer algo
115 116
                 $this->updatePassword($mapping, $data['pass']);
116 117
             }
117 118
 
Please login to merge, or discard this patch.
src/system/ZAuthModule/Listener/DeletePendingRegistrationsListener.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 Your registration at %site% associated with this email (%email%) has been deleted from the site.
109 109
 This could have happened because you have delayed too long in confirming your email address, or because the administrator manually deleted your registration.
110 110
 If you have any questions, please contact the site administrator or re-register.
111
-EOT
111
+eot
112 112
         , ['%site%' => $siteName, '%email%' => $event->getUser()->getEmail()]));
113 113
         try {
114 114
             $this->mailer->send($email);
Please login to merge, or discard this patch.
src/system/UsersModule/Helper/MailHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
         if ($this->mailLoggingEnabled) {
261 261
             $this->logger->info(sprintf('Email sent to %s', 'multiple users'), [
262 262
                 'in' => __METHOD__,
263
-                'users' => array_reduce($users, function (UserEntity $user) { return $user->getEmail() . ','; }, 'emails: ')
263
+                'users' => array_reduce($users, function(UserEntity $user) { return $user->getEmail() . ','; }, 'emails: ')
264 264
             ]);
265 265
         }
266 266
 
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Helper/LocalDotEnvHelper.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
             } else {
65 65
                 $quote = in_array(mb_substr((string) $value, 0, 1), ['\'', '"']) ? '\'' : '';
66 66
                 $value = !empty($quote) ? trim((string) $value, '\'"') : (string) $value;
67
-                $value =  $quote . urlencode($value) . $quote;
67
+                $value = $quote . urlencode($value) . $quote;
68 68
             }
69 69
             $lines[] = $key . '=' . $value;
70 70
         }
Please login to merge, or discard this patch.
src/system/GroupsModule/GroupsModuleInstaller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
     {
53 53
         switch ($oldVersion) {
54 54
             case '2.4.0': // shipped with Core-1.4.3
55
-                $this->setVar('mailwarning', (bool)$this->getVar('mailwarning'));
56
-                $this->setVar('hideclosed', (bool)$this->getVar('hideclosed'));
55
+                $this->setVar('mailwarning', (bool) $this->getVar('mailwarning'));
56
+                $this->setVar('hideclosed', (bool) $this->getVar('hideclosed'));
57 57
                 $this->setVar('hidePrivate', false);
58 58
             case '2.4.1':
59 59
                 /** @var UserEntity $anonymousUser */
Please login to merge, or discard this patch.
src/system/SettingsModule/SettingsModuleInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     {
95 95
         switch ($oldVersion) {
96 96
             case '2.9.11': // shipped with Core-1.4.3
97
-                $this->setSystemVar('UseCompression', (bool)$this->getSystemVar('UseCompression'));
97
+                $this->setSystemVar('UseCompression', (bool) $this->getSystemVar('UseCompression'));
98 98
             case '2.9.12': // shipped with Core-1.4.4
99 99
                 // reconfigure TZ settings
100 100
                 $this->setGuestTimeZone();
Please login to merge, or discard this patch.