Passed
Push — renovate/symfony ( 7a0d53 )
by
unknown
17:12
created
src/system/UsersBundle/Helper/ChoiceHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         ];
38 38
 
39 39
         $definedRoles = [];
40
-        array_walk_recursive($this->roleHierarchy, function ($role) use (&$roles) {
40
+        array_walk_recursive($this->roleHierarchy, function($role) use (&$roles) {
41 41
             $definedRoles[$role] = $role;
42 42
         });
43 43
 
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.
src/system/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/system/CategoriesBundle/Form/Type/CategoryRegistryType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         ;
72 72
 
73 73
         $translator = $this->translator;
74
-        $formModifier = function (FormInterface $form, string $bundleName = null) use ($translator) {
74
+        $formModifier = function(FormInterface $form, string $bundleName = null) use ($translator) {
75 75
             $entities = null === $bundleName ? [] : $this->categorizableBundleHelper->buildEntityChoiceListFor($bundleName);
76 76
             $form->add('entityname', ChoiceType::class, [
77 77
                 'label' => $translator->trans('Entity'),
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
         $builder->addEventListener(
83 83
             FormEvents::PRE_SET_DATA,
84
-            static function (FormEvent $event) use ($formModifier) {
84
+            static function(FormEvent $event) use ($formModifier) {
85 85
                 /** @var CategoryRegistry $data */
86 86
                 $data = $event->getData();
87 87
                 $formModifier($event->getForm(), $data->getBundleName());
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
         $builder->get('bundleName')->addEventListener(
92 92
             FormEvents::POST_SUBMIT,
93
-            static function (FormEvent $event) use ($formModifier) {
93
+            static function(FormEvent $event) use ($formModifier) {
94 94
                 $bundleName = $event->getForm()->getData();
95 95
                 $formModifier($event->getForm()->getParent(), $bundleName);
96 96
             }
Please login to merge, or discard this patch.
src/system/UsersBundle/Helper/UploadHelper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
             $imagine = new Imagine();
111 111
             $image = $imagine->open($avatarFilePath);
112 112
             $image->resize(new Box($this->uploadConfig['max_width'], $this->uploadConfig['max_height']))
113
-                  ->save($avatarFilePath);
113
+                    ->save($avatarFilePath);
114 114
         }
115 115
 
116 116
         chmod($avatarFilePath, 0644);
Please login to merge, or discard this patch.