Skip to content

Commit 0bf34f1

Browse files
committed
Updated Rector to commit 0e8debcce2038e1f01c29a1525e9e5306ef3c2c6
1 parent 67c2c98 commit 0bf34f1

52 files changed

Lines changed: 489 additions & 64 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

vendor/composer/installed.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,12 +1917,12 @@
19171917
"source": {
19181918
"type": "git",
19191919
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
1920-
"reference": "0c9bbedaabd74a81d44d1cf38cbcb873d799d813"
1920+
"reference": "e6de0b6b77d94b816855dbcfd9b18e9ef228e06a"
19211921
},
19221922
"dist": {
19231923
"type": "zip",
1924-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/0c9bbedaabd74a81d44d1cf38cbcb873d799d813",
1925-
"reference": "0c9bbedaabd74a81d44d1cf38cbcb873d799d813",
1924+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/e6de0b6b77d94b816855dbcfd9b18e9ef228e06a",
1925+
"reference": "e6de0b6b77d94b816855dbcfd9b18e9ef228e06a",
19261926
"shasum": ""
19271927
},
19281928
"require": {
@@ -1954,7 +1954,7 @@
19541954
"tomasvotruba\/unused-public": "^2.2",
19551955
"tracy\/tracy": "^2.12"
19561956
},
1957-
"time": "2026-08-03T13:36:36+00:00",
1957+
"time": "2026-08-03T13:48:35+00:00",
19581958
"default-branch": true,
19591959
"type": "rector-extension",
19601960
"extra": {

vendor/composer/installed.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

vendor/rector/extension-installer/src/GeneratedConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
final class GeneratedConfig
1111
{
12-
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main 3c3f2c1'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main bd7ce51'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main e68085d'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 0c9bbed'));
12+
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main 3c3f2c1'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main bd7ce51'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main e68085d'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main e6de0b6'));
1313
private function __construct()
1414
{
1515
}

vendor/rector/rector-symfony/config/sets/symfony/composer-based.php

Lines changed: 147 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,75 @@
4444
use Rector\Symfony\CodeQuality\Rector\AttributeGroup\SingleConditionSecurityAttributeToIsGrantedRector;
4545
use Rector\Symfony\CodeQuality\Rector\Class_\SplitAndSecurityAttributeToIsGrantedRector;
4646
use Rector\Symfony\Symfony25\Rector\MethodCall\AddViolationToBuildViolationRector;
47+
use Rector\Symfony\Symfony25\Rector\MethodCall\MaxLengthSymfonyFormOptionToAttrRector;
4748
use Rector\Symfony\Symfony26\Rector\MethodCall\RedirectToRouteRector;
49+
use Rector\Symfony\Symfony27\Rector\MethodCall\ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector;
50+
use Rector\Symfony\Symfony28\Rector\MethodCall\GetToConstructorInjectionRector;
51+
use Rector\Symfony\Symfony28\Rector\StaticCall\ParseFileRector;
52+
use Rector\Symfony\Symfony30\Rector\ClassMethod\FormTypeGetParentRector;
53+
use Rector\Symfony\Symfony30\Rector\ClassMethod\GetRequestRector;
54+
use Rector\Symfony\Symfony30\Rector\ClassMethod\RemoveDefaultGetBlockPrefixRector;
55+
use Rector\Symfony\Symfony30\Rector\MethodCall\ChangeStringCollectionOptionToConstantRector;
56+
use Rector\Symfony\Symfony30\Rector\MethodCall\FormTypeInstanceToClassConstRector;
57+
use Rector\Symfony\Symfony30\Rector\MethodCall\OptionNameRector;
58+
use Rector\Symfony\Symfony30\Rector\MethodCall\ReadOnlyOptionToAttributeRector;
59+
use Rector\Symfony\Symfony30\Rector\MethodCall\StringFormTypeToClassRector;
60+
use Rector\Symfony\Symfony33\Rector\ClassConstFetch\ConsoleExceptionToErrorEventConstantRector;
61+
use Rector\Symfony\Symfony34\Rector\ClassMethod\MergeMethodAnnotationToRouteAnnotationRector;
62+
use Rector\Symfony\Symfony34\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;
63+
use Rector\Symfony\Symfony34\Rector\ClassMethod\ReplaceSensioRouteAnnotationWithSymfonyRector;
64+
use Rector\Symfony\Symfony34\Rector\Closure\ContainerGetNameToTypeInTestsRector;
65+
use Rector\Symfony\Symfony40\Rector\ConstFetch\ConstraintUrlOptionRector;
66+
use Rector\Symfony\Symfony40\Rector\MethodCall\ContainerBuilderCompileEnvArgumentRector;
67+
use Rector\Symfony\Symfony40\Rector\MethodCall\FormIsValidRector;
68+
use Rector\Symfony\Symfony40\Rector\MethodCall\VarDumperTestTraitMethodArgsRector;
4869
use Rector\Symfony\Symfony42\Rector\New_\RootNodeTreeBuilderRector;
4970
use Rector\Symfony\Symfony42\Rector\New_\StringToArrayArgumentProcessRector;
5071
use Rector\Symfony\Symfony43\Rector\ClassMethod\EventDispatcherParentConstructRector;
72+
use Rector\Symfony\Symfony43\Rector\MethodCall\ConvertRenderTemplateShortNotationToBundleSyntaxRector;
73+
use Rector\Symfony\Symfony43\Rector\MethodCall\GetCurrencyBundleMethodCallsToIntlRector;
5174
use Rector\Symfony\Symfony43\Rector\MethodCall\MakeDispatchFirstArgumentEventRector;
75+
use Rector\Symfony\Symfony43\Rector\StmtsAwareInterface\TwigBundleFilesystemLoaderToTwigRector;
5276
use Rector\Symfony\Symfony44\Rector\ClassMethod\ConsoleExecuteReturnIntRector;
5377
use Rector\Symfony\Symfony44\Rector\MethodCall\AuthorizationCheckerIsGrantedExtractorRector;
5478
use Rector\Symfony\Symfony51\Rector\Class_\LogoutHandlerToLogoutEventSubscriberRector;
5579
use Rector\Symfony\Symfony51\Rector\Class_\LogoutSuccessHandlerToLogoutEventSubscriberRector;
5680
use Rector\Symfony\Symfony51\Rector\ClassMethod\CommandConstantReturnCodeRector;
81+
use Rector\Symfony\Symfony51\Rector\ClassMethod\RouteCollectionBuilderToRoutingConfiguratorRector;
5782
use Rector\Symfony\Symfony52\Rector\MethodCall\DefinitionAliasSetPrivateToSetPublicRector;
83+
use Rector\Symfony\Symfony52\Rector\MethodCall\FormBuilderSetDataMapperRector;
5884
use Rector\Symfony\Symfony52\Rector\MethodCall\ReflectionExtractorEnableMagicCallExtractorRector;
5985
use Rector\Symfony\Symfony52\Rector\MethodCall\ValidatorBuilderEnableAnnotationMappingRector;
6086
use Rector\Symfony\Symfony52\Rector\New_\PropertyAccessorCreationBooleanToFlagsRector;
87+
use Rector\Symfony\Symfony52\Rector\New_\PropertyPathMapperToDataMapperRector;
6188
use Rector\Symfony\Symfony52\Rector\StaticCall\BinaryFileResponseCreateToNewInstanceRector;
89+
use Rector\Symfony\Symfony53\Rector\StaticPropertyFetch\KernelTestCaseContainerPropertyDeprecationRector;
6290
use Rector\Symfony\Symfony60\Rector\FuncCall\ReplaceServiceArgumentRector;
91+
use Rector\Symfony\Symfony60\Rector\MethodCall\GetHelperControllerToServiceRector;
92+
use Rector\Symfony\Symfony61\Rector\Class_\CommandConfigureToAttributeRector;
93+
use Rector\Symfony\Symfony61\Rector\Class_\CommandPropertyToAttributeRector;
94+
use Rector\Symfony\Symfony61\Rector\Class_\MagicClosureTwigExtensionToNativeMethodsRector;
6395
use Rector\Symfony\Symfony61\Rector\StaticPropertyFetch\ErrorNamesPropertyToConstantRector;
96+
use Rector\Symfony\Symfony62\Rector\Class_\MessageHandlerInterfaceToAttributeRector;
97+
use Rector\Symfony\Symfony62\Rector\Class_\MessageSubscriberInterfaceToAttributeRector;
6498
use Rector\Symfony\Symfony62\Rector\Class_\SecurityAttributeToIsGrantedAttributeRector;
6599
use Rector\Symfony\Symfony62\Rector\ClassMethod\ClassMethod\ArgumentValueResolverToValueResolverRector;
100+
use Rector\Symfony\Symfony62\Rector\ClassMethod\ParamConverterAttributeToMapEntityAttributeRector;
66101
use Rector\Symfony\Symfony63\Rector\Class_\ParamAndEnvAttributeRector;
67102
use Rector\Symfony\Symfony63\Rector\Class_\SignalableCommandInterfaceReturnTypeRector;
103+
use Rector\Symfony\Symfony72\Rector\StmtsAwareInterface\PushRequestToRequestStackConstructorRector;
104+
use Rector\Symfony\Symfony73\Rector\Class_\AddVoteArgumentToVoteOnAttributeRector;
105+
use Rector\Symfony\Symfony73\Rector\Class_\AuthorizationCheckerToAccessDecisionManagerInVoterRector;
106+
use Rector\Symfony\Symfony73\Rector\Class_\CommandDefaultNameAndDescriptionToAsCommandAttributeRector;
107+
use Rector\Symfony\Symfony73\Rector\Class_\CommandHelpToAttributeRector;
108+
use Rector\Symfony\Symfony73\Rector\Class_\ConstraintOptionsToNamedArgumentsRector;
109+
use Rector\Symfony\Symfony73\Rector\Class_\GetFiltersToAsTwigFilterAttributeRector;
110+
use Rector\Symfony\Symfony73\Rector\Class_\GetFunctionsToAsTwigFunctionAttributeRector;
111+
use Rector\Symfony\Symfony80\Rector\Class_\RemoveEraseCredentialsRector;
112+
use Rector\Symfony\Symfony81\Rector\MethodCall\ConstraintValidatorValidateToValidateInContextRector;
113+
use Rector\Symfony\Symfony81\Rector\MethodCall\RenameCopyOnWindowsOptionToFollowSymlinksRector;
114+
use Rector\Symfony\Symfony81\Rector\New_\RemoveEraseCredentialsFromAuthenticatorManagerRector;
115+
use Rector\Symfony\Symfony81\Rector\StaticCall\AddFormatArgumentToIsValidRector;
68116
use Rector\Symfony\ValueObject\ReplaceServiceArgument;
69117
use Rector\Transform\Rector\Attribute\AttributeKeyToClassConstFetchRector;
70118
use Rector\Transform\Rector\ClassMethod\WrapReturnRector;
@@ -92,41 +140,130 @@
92140
// each of these rules declares the exact Symfony package and the version its target API was added in,
93141
// @see ComposerPackageConstraintInterface
94142
$rectorConfig->rules([
143+
// symfony/form 2.5
144+
MaxLengthSymfonyFormOptionToAttrRector::class,
95145
// symfony/validator 2.5
96146
AddViolationToBuildViolationRector::class,
97147
// symfony/framework-bundle 2.6
98148
RedirectToRouteRector::class,
149+
// symfony/form 2.7
150+
ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector::class,
151+
// symfony/framework-bundle 2.8
152+
GetToConstructorInjectionRector::class,
153+
// symfony/yaml 2.8
154+
ParseFileRector::class,
155+
// symfony/form 3.0
156+
ChangeStringCollectionOptionToConstantRector::class,
157+
FormTypeGetParentRector::class,
158+
OptionNameRector::class,
159+
ReadOnlyOptionToAttributeRector::class,
160+
RemoveDefaultGetBlockPrefixRector::class,
161+
StringFormTypeToClassRector::class,
162+
// symfony/framework-bundle 3.0
163+
FormTypeInstanceToClassConstRector::class,
164+
GetRequestRector::class,
165+
// symfony/console 3.3
166+
ConsoleExceptionToErrorEventConstantRector::class,
167+
// symfony/dependency-injection 3.4
168+
ContainerGetNameToTypeInTestsRector::class,
169+
// symfony/routing 3.4
170+
MergeMethodAnnotationToRouteAnnotationRector::class,
171+
RemoveServiceFromSensioRouteRector::class,
172+
ReplaceSensioRouteAnnotationWithSymfonyRector::class,
173+
// symfony/dependency-injection 4.0
174+
ContainerBuilderCompileEnvArgumentRector::class,
175+
// symfony/form 4.0
176+
FormIsValidRector::class,
177+
// symfony/validator 4.0
178+
ConstraintUrlOptionRector::class,
179+
// symfony/var-dumper 4.0
180+
VarDumperTestTraitMethodArgsRector::class,
99181
// symfony/config 4.2
100182
RootNodeTreeBuilderRector::class,
101183
// symfony/process 4.2
102184
StringToArrayArgumentProcessRector::class,
103185
// symfony/event-dispatcher 4.3
104-
MakeDispatchFirstArgumentEventRector::class,
105186
EventDispatcherParentConstructRector::class,
106-
// symfony/console 4.4 and 5.1
187+
MakeDispatchFirstArgumentEventRector::class,
188+
// symfony/framework-bundle 4.3
189+
ConvertRenderTemplateShortNotationToBundleSyntaxRector::class,
190+
// symfony/intl 4.3
191+
GetCurrencyBundleMethodCallsToIntlRector::class,
192+
// symfony/twig-bundle 4.3
193+
TwigBundleFilesystemLoaderToTwigRector::class,
194+
// symfony/console 4.4
107195
ConsoleExecuteReturnIntRector::class,
108-
CommandConstantReturnCodeRector::class,
109196
// symfony/security-core 4.4
110197
AuthorizationCheckerIsGrantedExtractorRector::class,
198+
// symfony/console 5.1
199+
CommandConstantReturnCodeRector::class,
200+
// symfony/framework-bundle 5.1
201+
RouteCollectionBuilderToRoutingConfiguratorRector::class,
111202
// symfony/security-http 5.1
112203
LogoutHandlerToLogoutEventSubscriberRector::class,
113204
LogoutSuccessHandlerToLogoutEventSubscriberRector::class,
114-
// symfony/* 5.2
205+
// symfony/dependency-injection 5.2
115206
DefinitionAliasSetPrivateToSetPublicRector::class,
207+
// symfony/form 5.2
208+
FormBuilderSetDataMapperRector::class,
209+
PropertyPathMapperToDataMapperRector::class,
210+
// symfony/http-foundation 5.2
211+
BinaryFileResponseCreateToNewInstanceRector::class,
212+
// symfony/property-access 5.2
213+
PropertyAccessorCreationBooleanToFlagsRector::class,
214+
// symfony/property-info 5.2
116215
ReflectionExtractorEnableMagicCallExtractorRector::class,
216+
// symfony/validator 5.2
117217
ValidatorBuilderEnableAnnotationMappingRector::class,
118-
PropertyAccessorCreationBooleanToFlagsRector::class,
119-
BinaryFileResponseCreateToNewInstanceRector::class,
218+
// symfony/framework-bundle 5.3
219+
KernelTestCaseContainerPropertyDeprecationRector::class,
220+
// symfony/framework-bundle 6.0
221+
GetHelperControllerToServiceRector::class,
222+
// symfony/console 6.1
223+
CommandConfigureToAttributeRector::class,
224+
CommandPropertyToAttributeRector::class,
225+
// symfony/twig-bridge 6.1
226+
MagicClosureTwigExtensionToNativeMethodsRector::class,
120227
// symfony/validator 6.1
121228
ErrorNamesPropertyToConstantRector::class,
122-
// attributes added in Symfony 6.2
229+
// symfony/doctrine-bridge 6.2
230+
ParamConverterAttributeToMapEntityAttributeRector::class,
231+
// symfony/http-kernel 6.2
232+
ArgumentValueResolverToValueResolverRector::class,
233+
// symfony/messenger 6.2
234+
MessageHandlerInterfaceToAttributeRector::class,
235+
MessageSubscriberInterfaceToAttributeRector::class,
236+
// symfony/security-http 6.2
123237
SecurityAttributeToIsGrantedAttributeRector::class,
124238
SingleConditionSecurityAttributeToIsGrantedRector::class,
125239
SplitAndSecurityAttributeToIsGrantedRector::class,
126-
ArgumentValueResolverToValueResolverRector::class,
127-
// symfony/dependency-injection and symfony/console 6.3
128-
ParamAndEnvAttributeRector::class,
240+
// symfony/console 6.3
129241
SignalableCommandInterfaceReturnTypeRector::class,
242+
// symfony/dependency-injection 6.3
243+
ParamAndEnvAttributeRector::class,
244+
// symfony/http-foundation 7.2
245+
PushRequestToRequestStackConstructorRector::class,
246+
// symfony/console 7.3
247+
CommandDefaultNameAndDescriptionToAsCommandAttributeRector::class,
248+
CommandHelpToAttributeRector::class,
249+
// symfony/security-core 7.3
250+
AddVoteArgumentToVoteOnAttributeRector::class,
251+
AuthorizationCheckerToAccessDecisionManagerInVoterRector::class,
252+
// symfony/validator 7.3
253+
ConstraintOptionsToNamedArgumentsRector::class,
254+
// symfony/security-core 8.0
255+
RemoveEraseCredentialsRector::class,
256+
// symfony/filesystem 8.1
257+
RenameCopyOnWindowsOptionToFollowSymlinksRector::class,
258+
// symfony/security-http 8.1
259+
RemoveEraseCredentialsFromAuthenticatorManagerRector::class,
260+
// symfony/uid 8.1
261+
AddFormatArgumentToIsValidRector::class,
262+
// symfony/validator 8.1
263+
ConstraintValidatorValidateToValidateInContextRector::class,
264+
// twig/twig 3.21
265+
GetFiltersToAsTwigFilterAttributeRector::class,
266+
GetFunctionsToAsTwigFunctionAttributeRector::class,
130267
]);
131268
// shared types used by the configuration below
132269
$arrayType = new ArrayType(new MixedType(), new MixedType());

vendor/rector/rector-symfony/rules/Symfony25/Rector/MethodCall/MaxLengthSymfonyFormOptionToAttrRector.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
use Rector\Exception\ShouldNotHappenException;
1414
use Rector\PhpParser\Node\Value\ValueResolver;
1515
use Rector\Rector\AbstractRector;
16+
use Rector\VersionBonding\Contract\ComposerPackageConstraintInterface;
17+
use Rector\VersionBonding\ValueObject\ComposerPackageConstraint;
1618
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1719
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1820
/**
@@ -22,7 +24,7 @@
2224
*
2325
* @see \Rector\Symfony\Tests\Symfony25\Rector\Array_\MaxLengthSymfonyFormOptionToAttrRector\MaxLengthSymfonyFormOptionToAttrRectorTest
2426
*/
25-
final class MaxLengthSymfonyFormOptionToAttrRector extends AbstractRector
27+
final class MaxLengthSymfonyFormOptionToAttrRector extends AbstractRector implements ComposerPackageConstraintInterface
2628
{
2729
/**
2830
* @readonly
@@ -32,6 +34,10 @@ public function __construct(ValueResolver $valueResolver)
3234
{
3335
$this->valueResolver = $valueResolver;
3436
}
37+
public function provideComposerPackageConstraint(): ComposerPackageConstraint
38+
{
39+
return new ComposerPackageConstraint('symfony/form', '>=2.5');
40+
}
3541
public function getRuleDefinition(): RuleDefinition
3642
{
3743
return new RuleDefinition('Change form option "max_length" to a form "attr" > "max_length"', [new CodeSample(<<<'CODE_SAMPLE'

vendor/rector/rector-symfony/rules/Symfony27/Rector/MethodCall/ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
use Rector\Symfony\NodeAnalyzer\FormAddMethodCallAnalyzer;
1515
use Rector\Symfony\NodeAnalyzer\FormCollectionAnalyzer;
1616
use Rector\Symfony\NodeAnalyzer\FormOptionsArrayMatcher;
17+
use Rector\VersionBonding\Contract\ComposerPackageConstraintInterface;
18+
use Rector\VersionBonding\ValueObject\ComposerPackageConstraint;
1719
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1820
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
1921
/**
2022
* @changelog https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#form
2123
*
2224
* @see \Rector\Symfony\Tests\Symfony27\Rector\MethodCall\ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector\ChangeCollectionTypeOptionNameFromTypeToEntryTypeRectorTest
2325
*/
24-
final class ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector extends AbstractRector
26+
final class ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector extends AbstractRector implements ComposerPackageConstraintInterface
2527
{
2628
/**
2729
* @readonly
@@ -50,6 +52,10 @@ public function __construct(FormAddMethodCallAnalyzer $formAddMethodCallAnalyzer
5052
$this->formCollectionAnalyzer = $formCollectionAnalyzer;
5153
$this->valueResolver = $valueResolver;
5254
}
55+
public function provideComposerPackageConstraint(): ComposerPackageConstraint
56+
{
57+
return new ComposerPackageConstraint('symfony/form', '>=2.7');
58+
}
5359
public function getRuleDefinition(): RuleDefinition
5460
{
5561
return new RuleDefinition('Rename `type` option to `entry_type` in CollectionType', [new CodeSample(<<<'CODE_SAMPLE'

0 commit comments

Comments
 (0)