Completed
Push — master ( 501eb0...142aae )
by Axel
05:47 queued 11s
created
src/system/ExtensionsModule/Command/ZikulaExtensionUninstallCommand.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
         $requiredDependents = $this->dependencyHelper->getDependentExtensions($extension);
58 58
         if (!empty($requiredDependents)) {
59 59
             if ($input->isInteractive()) {
60
-                $names = implode(', ', array_map(function (ExtensionEntity $dependent) {
60
+                $names = implode(', ', array_map(function(ExtensionEntity $dependent) {
61 61
                     return $dependent->getName();
62 62
                 }, $requiredDependents));
63 63
 
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Command/TranslationKeyToValueCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 Example running against default messages directory
45 45
 
46 46
   <info>php %command.full_name%</info>
47
-EOF
47
+eof
48 48
             )
49 49
         ;
50 50
     }
Please login to merge, or discard this patch.
src/system/ZAuthModule/Validator/Constraints/ValidUserFieldsValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 ->setParameter('excludedUid', $authenticationMappingEntity->getUid());
77 77
         }
78 78
 
79
-        if ((int)$qb->getQuery()->getSingleScalarResult() > 0) {
79
+        if ((int) $qb->getQuery()->getSingleScalarResult() > 0) {
80 80
             $this->context->buildViolation($this->translator->trans('The user name you entered (%userName%) has already been registered.', ['%userName%' => $userName], 'validators'))
81 81
                 ->atPath('uname')
82 82
                 ->addViolation();
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             $qb->andWhere('m.uid != :excludedUid')
96 96
                 ->setParameter('excludedUid', $authenticationMappingEntity->getUid());
97 97
         }
98
-        $uCount = (int)$qb->getQuery()->getSingleScalarResult();
98
+        $uCount = (int) $qb->getQuery()->getSingleScalarResult();
99 99
 
100 100
         $query = $this->userVerificationRepository->createQueryBuilder('v')
101 101
             ->select('COUNT(v.uid)')
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             ->setParameter('email', $emailAddress)
105 105
             ->setParameter('chgtype', ZAuthConstant::VERIFYCHGTYPE_EMAIL)
106 106
             ->getQuery();
107
-        $vCount = (int)$query->getSingleScalarResult();
107
+        $vCount = (int) $query->getSingleScalarResult();
108 108
 
109 109
         if ($uCount + $vCount > 0) {
110 110
             $this->context->buildViolation($this->translator->trans('The email address you entered (%email%) has already been registered.', ['%email%' => $emailAddress], 'validators'))
Please login to merge, or discard this patch.
src/system/AdminModule/Entity/Repository/AdminCategoryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             ->select('COUNT(c.cid)')
35 35
             ->getQuery();
36 36
 
37
-        return (int)$query->getSingleScalarResult();
37
+        return (int) $query->getSingleScalarResult();
38 38
     }
39 39
 
40 40
     public function getModuleCategory(int $moduleId): ?AdminCategoryEntity
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 = static::class;
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/system/GroupsModule/GroupsModuleInstaller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         switch ($oldVersion) {
49 49
             case '2.4.0': // shipped with Core-1.4.3
50
-                $this->setVar('mailwarning', (bool)$this->getVar('mailwarning'));
51
-                $this->setVar('hideclosed', (bool)$this->getVar('hideclosed'));
50
+                $this->setVar('mailwarning', (bool) $this->getVar('mailwarning'));
51
+                $this->setVar('hideclosed', (bool) $this->getVar('hideclosed'));
52 52
                 $this->setVar('hidePrivate', false);
53 53
                 // no break
54 54
             case '2.4.1':
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
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         switch ($oldVersion) {
95 95
             case '2.9.11': // shipped with Core-1.4.3
96
-                $this->setSystemVar('UseCompression', (bool)$this->getSystemVar('UseCompression'));
96
+                $this->setSystemVar('UseCompression', (bool) $this->getSystemVar('UseCompression'));
97 97
                 // no break
98 98
             case '2.9.12': // shipped with Core-1.4.4
99 99
                 // reconfigure TZ settings
Please login to merge, or discard this patch.
src/Zikula/CoreBundle/Configurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
      */
188 188
     public function arrayDiffAssocRecursive(array $array1, array $array2): array
189 189
     {
190
-        $difference=[];
190
+        $difference = [];
191 191
         foreach ($array1 as $key => $value) {
192 192
             if (is_array($value)) {
193 193
                 if (!isset($array2[$key]) || !is_array($array2[$key])) {
Please login to merge, or discard this patch.