Passed
Push — renovate/patch-doctrine ( 233659 )
by
unknown
16:18
created
src/system/LegalBundle/EventSubscriber/UsersUiSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             return;
106 106
         }
107 107
 
108
-        $attributeIsEmpty = function ($name) use ($user) {
108
+        $attributeIsEmpty = function($name) use ($user) {
109 109
             if ($user->hasAttribute($name)) {
110 110
                 $v = $user->getAttributeValue($name);
111 111
 
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/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/FormExtensionBundle/Event/FormAwareEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         return $this->form->getData();
42 42
     }
43 43
 
44
-    public function formAdd(FormInterface|string|int $child, string $type = null, array $options = []): self
44
+    public function formAdd(FormInterface | string | int $child, string $type = null, array $options = []): self
45 45
     {
46 46
         $this->form->add($child, $type, $options);
47 47
 
Please login to merge, or discard this patch.
src/system/FormExtensionBundle/Form/Type/DynamicFieldType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             'placeholder' => 'Select',
79 79
         ]);
80 80
 
81
-        $formModifier = function (FormInterface $form, $formType = null) use ($builder) {
81
+        $formModifier = function(FormInterface $form, $formType = null) use ($builder) {
82 82
             switch ($formType) {
83 83
                 case ChoiceType::class:
84 84
                     $optionsType = ChoiceFormOptionsArrayType::class;
@@ -114,12 +114,12 @@  discard block
 block discarded – undo
114 114
             }
115 115
             $form->add($formOptions->getForm());
116 116
         };
117
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, static function (FormEvent $event) use ($formModifier) {
117
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, static function(FormEvent $event) use ($formModifier) {
118 118
             $data = $event->getData();
119 119
             $formType = $data['formType'];
120 120
             $formModifier($event->getForm(), $formType);
121 121
         });
122
-        $builder->get('formType')->addEventListener(FormEvents::POST_SUBMIT, static function (FormEvent $event) use ($formModifier) {
122
+        $builder->get('formType')->addEventListener(FormEvents::POST_SUBMIT, static function(FormEvent $event) use ($formModifier) {
123 123
             $formType = $event->getForm()->getData();
124 124
             $formModifier($event->getForm()->getParent(), $formType);
125 125
         });
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.