Skip to content

Commit c476c9f

Browse files
committed
cs
1 parent a5ff686 commit c476c9f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

config/sets/symfony/symfony6/symfony60/symfony60-serializer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
$privatesAccessor = new PrivatesAccessor();
4444
$privatesAccessor->setPrivateProperty($scalarArrayObjectUnionType, 'types', $scalarArrayObjectUnionedTypes);
45+
4546
$rectorConfig->ruleWithConfiguration(AddReturnTypeDeclarationRector::class, [
4647
new AddReturnTypeDeclaration(
4748
'Symfony\Component\Serializer\Encoder\DecoderInterface',

rector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
declare(strict_types=1);
44

5+
use Rector\CodingStyle\Rector\String_\UseClassKeywordForClassNameResolutionRector;
56
use Rector\Config\RectorConfig;
67
use Rector\Naming\Rector\Foreach_\RenameForeachValueVariableToMatchMethodCallReturnTypeRector;
78
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
@@ -23,7 +24,7 @@
2324
'*/Source*/*',
2425
'*/tests/*/Fixture*/Expected/*',
2526
StringClassNameToClassConstantRector::class => [__DIR__ . '/config'],
26-
\Rector\CodingStyle\Rector\String_\UseClassKeywordForClassNameResolutionRector::class => [__DIR__ . '/config'],
27+
UseClassKeywordForClassNameResolutionRector::class => [__DIR__ . '/config'],
2728

2829
RenameForeachValueVariableToMatchMethodCallReturnTypeRector::class => [
2930
// "data" => "datum" false positive

0 commit comments

Comments
 (0)