diff --git a/phpcs.xml b/phpcs.xml
index 4403873898b..fa2200f0d43 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -245,4 +245,17 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Psalm/Internal/Analyzer/MethodComparator.php b/src/Psalm/Internal/Analyzer/MethodComparator.php
index 6a0394256fb..7522b905ff8 100644
--- a/src/Psalm/Internal/Analyzer/MethodComparator.php
+++ b/src/Psalm/Internal/Analyzer/MethodComparator.php
@@ -127,7 +127,7 @@ public static function compare(
&& !$implementer_method_storage->signature_return_type
&& !array_filter(
$implementer_method_storage->attributes,
- static fn (AttributeStorage $s): bool => $s->fq_class_name === 'ReturnTypeWillChange'
+ static fn(AttributeStorage $s): bool => $s->fq_class_name === 'ReturnTypeWillChange'
)
) {
IssueBuffer::maybeAdd(
diff --git a/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayMapReturnTypeProvider.php b/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayMapReturnTypeProvider.php
index 78d58b7d819..35319816cea 100644
--- a/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayMapReturnTypeProvider.php
+++ b/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayMapReturnTypeProvider.php
@@ -100,7 +100,7 @@ public static function getFunctionReturnType(FunctionReturnTypeProviderEvent $ev
/** @param non-empty-array $sub */
function (array $sub) use ($null) {
$sub = array_map(
- fn (?Union $t) => $t ?? $null,
+ fn(?Union $t) => $t ?? $null,
$sub
);
return new Union([new TKeyedArray($sub, null, null, true)]);
diff --git a/src/Psalm/Internal/Type/SimpleAssertionReconciler.php b/src/Psalm/Internal/Type/SimpleAssertionReconciler.php
index d25125a2244..143889f3023 100644
--- a/src/Psalm/Internal/Type/SimpleAssertionReconciler.php
+++ b/src/Psalm/Internal/Type/SimpleAssertionReconciler.php
@@ -649,7 +649,7 @@ private static function reconcileNonEmptyCountable(
$existing_var_type->removeType('array');
$existing_var_type->addType($array_atomic_type->setProperties(
array_map(
- fn (Union $union) => $union->setPossiblyUndefined(false),
+ fn(Union $union) => $union->setPossiblyUndefined(false),
$array_atomic_type->properties
)
));
@@ -740,7 +740,7 @@ private static function reconcileExactlyCountable(
$existing_var_type->removeType('array');
$existing_var_type->addType($array_atomic_type->setProperties(
array_map(
- fn (Union $union) => $union->setPossiblyUndefined(false),
+ fn(Union $union) => $union->setPossiblyUndefined(false),
$array_atomic_type->properties
)
));