Passed
Push — renovate/patch-composer-(patch... ( 2a6412...9c1f9e )
by
unknown
07:38 queued 40s
created
src/system/CategoriesBundle/Controller/NodeController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,8 @@
 block discarded – undo
79 79
                         $parent = $categoryRepository->find($parentId);
80 80
                         $category->setParent($parent);
81 81
                         $category->setRoot($parent->getRoot());
82
-                    } elseif (empty($parentId) && $request->request->has('after')) { // sibling of top-level child
82
+                    } elseif (empty($parentId) && $request->request->has('after')) {
83
+// sibling of top-level child
83 84
                         /** @var Category $sibling */
84 85
                         $sibling = $categoryRepository->find($request->request->get('after'));
85 86
                         $category->setParent($sibling->getParent());
Please login to merge, or discard this patch.
src/system/CategoriesBundle/Entity/Category.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     /**
213 213
      * @return array|string the category display name(s)
214 214
      */
215
-    public function getDisplayName(string $lang = null): array|string
215
+    public function getDisplayName(string $lang = null): array | string
216 216
     {
217 217
         if (!empty($lang)) {
218 218
             return $this->displayName[$lang] ?? $this->displayName['en'] ?? $this->name;
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     /**
232 232
      * @return array|string the category display description
233 233
      */
234
-    public function getDisplayDesc(string $lang = null): array|string
234
+    public function getDisplayDesc(string $lang = null): array | string
235 235
     {
236 236
         if (!empty($lang)) {
237 237
             return $this->displayDesc[$lang] ?? $this->displayDesc['en'] ?? '';
Please login to merge, or discard this patch.
src/system/ThemeBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                             ->info('Index page behavior.')
53 53
                             ->addDefaultsIfNotSet()
54 54
                             ->validate()
55
-                                ->ifTrue(static function ($v) {
55
+                                ->ifTrue(static function($v) {
56 56
                                     $amount = 0;
57 57
                                     $amount += isset($v['template']) ? 1 : 0;
58 58
                                     $amount += isset($v['redirect']['crud']) ? 1 : 0;
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
                             ->info('Index page behavior.')
122 122
                             ->addDefaultsIfNotSet()
123 123
                             ->validate()
124
-                                ->ifTrue(static function ($v) {
124
+                                ->ifTrue(static function($v) {
125 125
                                     $amount = 0;
126 126
                                     $amount += isset($v['template']) ? 1 : 0;
127 127
                                     $amount += isset($v['redirect']['crud']) ? 1 : 0;
Please login to merge, or discard this patch.
src/system/UsersBundle/Entity/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         return $this->approvedDate;
113 113
     }
114 114
 
115
-    public function setApprovedDate(string|\DateTimeInterface $approvedDate): self
115
+    public function setApprovedDate(string | \DateTimeInterface $approvedDate): self
116 116
     {
117 117
         if ($approvedDate instanceof \DateTimeInterface) {
118 118
             $this->approvedDate = $approvedDate;
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         return $this->registrationDate;
151 151
     }
152 152
 
153
-    public function setRegistrationDate(string|\DateTimeInterface $registrationDate): self
153
+    public function setRegistrationDate(string | \DateTimeInterface $registrationDate): self
154 154
     {
155 155
         if ($registrationDate instanceof \DateTimeInterface) {
156 156
             $this->registrationDate = $registrationDate;
Please login to merge, or discard this patch.
src/system/UsersBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                             ->info('E-mail address to notify of registrations (leave blank for no notifications).')
46 46
                             ->defaultNull()
47 47
                             ->validate()
48
-                                ->ifTrue(static function ($v) {
48
+                                ->ifTrue(static function($v) {
49 49
                                     return null !== $v && !filter_var($v, FILTER_VALIDATE_EMAIL);
50 50
                                 })
51 51
                                 ->thenInvalid('Please enter a valid mail address.')
Please login to merge, or discard this patch.
src/system/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/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.
src/system/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/system/CoreBundle/Twig/Runtime/CoreRuntime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     {
72 72
         $string = preg_replace_callback(
73 73
             '/(.)@(.)/s',
74
-            static function ($m) {
74
+            static function($m) {
75 75
                 return '&#' . sprintf('%03d', ord($m[1])) . ';&#064;&#' . sprintf('%03d', ord($m[2])) . ';';
76 76
             },
77 77
             $string
Please login to merge, or discard this patch.