Test Setup Failed
Pull Request — master (#4156)
by Craig
09:51 queued 04:54
created
src/system/SettingsModule/Controller/SettingsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $messageModules = $messageModuleCollector->getKeys();
59 59
 
60 60
         $variables = $variableApi->getAll(VariableApi::CONFIG);
61
-        $variables['UseCompression'] = (bool)$variables['UseCompression'];
61
+        $variables['UseCompression'] = (bool) $variables['UseCompression'];
62 62
         $form = $this->createForm(
63 63
             MainSettingsType::class,
64 64
             $variables,
@@ -108,9 +108,9 @@  discard block
 block discarded – undo
108 108
         $form = $this->createForm(
109 109
             LocaleSettingsType::class,
110 110
             [
111
-                'multilingual' => (bool)$variableApi->getSystemVar('multilingual'),
111
+                'multilingual' => (bool) $variableApi->getSystemVar('multilingual'),
112 112
                 'languageurl' => $variableApi->getSystemVar('languageurl'),
113
-                'language_detect' => (bool)$variableApi->getSystemVar('language_detect'),
113
+                'language_detect' => (bool) $variableApi->getSystemVar('language_detect'),
114 114
                 'locale' => $variableApi->getSystemVar('locale'),
115 115
                 'timezone' => $variableApi->getSystemVar('timezone'),
116 116
             ],
Please login to merge, or discard this patch.
src/system/GroupsModule/Validator/Constraints/ValidGroupNameValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                 ->setParameter('excludedGid', $gid);
54 54
         }
55 55
 
56
-        if ((int)$qb->getQuery()->getSingleScalarResult() > 0) {
56
+        if ((int) $qb->getQuery()->getSingleScalarResult() > 0) {
57 57
             $this->context->buildViolation(
58 58
                 $this->translator->trans(
59 59
                     'The group name you entered (%groupName%) does already exist.',
Please login to merge, or discard this patch.