Passed
Push — dependabot/composer/doctrine/d... ( 409ec1 )
by
unknown
07:02
created
src/Zikula/Bundle/CoreBundle/Tests/Bundle/MetaDataTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
     }
120 120
 }
121
-EOF
121
+eof
122 122
         ;
123 123
 
124 124
         return json_decode($json, true);
Please login to merge, or discard this patch.
src/Zikula/Bundle/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/Zikula/Bundle/CoreBundle/Site/SiteDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         return $this->requestStack->getCurrentRequest()->getLocale();
81 81
     }
82 82
 
83
-    private function getLocalizedField(string $fieldName): string|array
83
+    private function getLocalizedField(string $fieldName): string | array
84 84
     {
85 85
         $locale = $this->getLocale();
86 86
         if (array_key_exists($locale, $this->siteData) && isset($this->siteData[$locale][$fieldName])) {
Please login to merge, or discard this patch.
src/Zikula/Bundle/CoreBundle/Command/InitBundleCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
 <info>php %command.full_name% AcmeFooBundle</info>
45 45
 
46
-EOT
46
+eot
47 47
             );
48 48
     }
49 49
 
Please login to merge, or discard this patch.
public/index.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
 require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
17 17
 
18
-return function (array $context) {
18
+return function(array $context) {
19 19
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
20 20
 };
Please login to merge, or discard this patch.
src/system/UsersBundle/Form/Type/DeleteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $builder
29 29
             ->add('users', EntityType::class, [
30
-                'choice_attr' => static function () {
30
+                'choice_attr' => static function() {
31 31
                     return ['class' => 'user-checkboxes'];
32 32
                 },
33 33
                 'class' => User::class,
Please login to merge, or discard this patch.
src/system/UsersBundle/Helper/DeleteHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         }
67 67
         if (isset($date)) {
68 68
             $date = \DateTime::createFromFormat('YmdHis', $date, new \DateTimeZone('UTC'));
69
-            $users = $users->filter(function (User $user) use ($date) {
69
+            $users = $users->filter(function(User $user) use ($date) {
70 70
                 return $user->getRegistrationDate() < $date;
71 71
             });
72 72
         }
Please login to merge, or discard this patch.
src/system/UsersBundle/Helper/MailHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
         if ($this->mailLoggingEnabled) {
201 201
             $this->mailLogger->info(sprintf('Email sent to %s', 'multiple users'), [
202 202
                 'in' => __METHOD__,
203
-                'users' => array_reduce($users, function ($result, User $user) { return $result . $user->getEmail() . ','; }, 'emails: ')
203
+                'users' => array_reduce($users, function($result, User $user) { return $result . $user->getEmail() . ','; }, 'emails: ')
204 204
             ]);
205 205
         }
206 206
 
Please login to merge, or discard this patch.
src/system/UsersBundle/Repository/UserRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
         // the following process should be unnecessary because cascade = all but MySQL 5.7 not working with that (#3726)
56 56
         $qb = $this->_em->createQueryBuilder();
57 57
         $qb->delete(UserAttribute::class, 'a')
58
-           ->where('a.user = :userId')
59
-           ->setParameter('userId', $user->getUid());
58
+            ->where('a.user = :userId')
59
+            ->setParameter('userId', $user->getUid());
60 60
         $query = $qb->getQuery();
61 61
         $query->execute();
62 62
         // end of theoretically unrequired process
Please login to merge, or discard this patch.