Test Setup Failed
Push — renovate/patch-composer-(patch... ( 3819d2 )
by
unknown
04:07
created
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.
src/system/CategoriesBundle/Form/Type/CategoryTreeType.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
         $resolver->setAllowedTypes('all', 'bool');
59 59
 
60 60
         $options['translator'] = $this->translator;
61
-        $resolver->setNormalizer('label', static function (Options $options, $label) {
61
+        $resolver->setNormalizer('label', static function(Options $options, $label) {
62 62
             if (null === $label || empty($label)) {
63 63
                 $isMultiple = $options['multiple'];
64 64
                 $translator = $options['translator'];
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
             return $label;
70 70
         });
71
-        $resolver->setNormalizer('placeholder', static function (Options $options, $placeholder) {
71
+        $resolver->setNormalizer('placeholder', static function(Options $options, $placeholder) {
72 72
             if (!$options['required']) {
73 73
                 if (empty($placeholder)) {
74 74
                     $isMultiple = $options['multiple'];
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
             return $placeholder;
82 82
         });
83
-        $resolver->setNormalizer('choices', function (Options $options, $choices) {
83
+        $resolver->setNormalizer('choices', function(Options $options, $choices) {
84 84
             if (empty($choices)) {
85 85
                 $choices = $this->getCategoryChoices($options);
86 86
             }
Please login to merge, or discard this patch.
src/system/LegalBundle/Form/Extension/PoliciesExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@
 block discarded – undo
39 39
             }
40 40
             $builder->add($policyName . 'Accepted', CheckboxType::class, [
41 41
                 'label' => $policyName,
42
-                'getter' => function (User $user, FormInterface $form): bool {
42
+                'getter' => function(User $user, FormInterface $form): bool {
43 43
                     $getter = 'get' . ucwords((string) $form->getPropertyPath());
44 44
 
45 45
                     return null !== $user->{$getter}();
46 46
                 },
47
-                'setter' => function (User $user, bool $state, FormInterface $form): void {
47
+                'setter' => function(User $user, bool $state, FormInterface $form): void {
48 48
                     $setter = 'set' . ucwords((string) $form->getPropertyPath());
49 49
                     $nowUTC = new \DateTime('now', new \DateTimeZone('UTC'));
50 50
                     $user->{$setter}($state ? $nowUTC : null);
Please login to merge, or discard this patch.
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, static function ($role) use (&$roles) {
40
+        array_walk_recursive($this->roleHierarchy, static function($role) use (&$roles) {
41 41
             $definedRoles[$role] = $role;
42 42
         });
43 43
 
Please login to merge, or discard this patch.
src/system/LegalBundle/Menu/ExtensionMenu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         yield MenuItem::linktoRoute(t('Legal Docs'), 'fas fa-gavel', 'zikulalegalbundle_user_index');
62 62
     }
63 63
 
64
-    private function getMenuItem(TranslatableMessage $title, string $defaultRoute, ?string $customUrl): RouteMenuItem|UrlMenuItem
64
+    private function getMenuItem(TranslatableMessage $title, string $defaultRoute, ?string $customUrl): RouteMenuItem | UrlMenuItem
65 65
     {
66 66
         if (null !== $customUrl && '' !== $customUrl) {
67 67
             return MenuItem::linktoUrl($title, null, $customUrl);
Please login to merge, or discard this patch.