File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
rules/TypeDeclaration/Rector/ClassMethod Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2222use PHPStan \Type \TypeCombinator ;
2323use Rector \BetterPhpDocParser \PhpDocInfo \PhpDocInfoFactory ;
2424use Rector \Rector \AbstractRector ;
25+ use Rector \ValueObject \PhpVersionFeature ;
2526use Rector \VendorLocker \ParentClassMethodTypeOverrideGuard ;
27+ use Rector \VersionBonding \Contract \MinPhpVersionInterface ;
2628use Symplify \RuleDocGenerator \ValueObject \CodeSample \CodeSample ;
2729use Symplify \RuleDocGenerator \ValueObject \RuleDefinition ;
2830/**
2931 * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\StrictStringParamConcatRector\StrictStringParamConcatRectorTest
3032 */
31- final class StrictStringParamConcatRector extends AbstractRector
33+ final class StrictStringParamConcatRector extends AbstractRector implements MinPhpVersionInterface
3234{
3335 /**
3436 * @readonly
@@ -72,6 +74,10 @@ public function getNodeTypes(): array
7274 {
7375 return [ClassMethod::class, Function_::class, Closure::class];
7476 }
77+ public function provideMinPhpVersion (): int
78+ {
79+ return PhpVersionFeature::SCALAR_TYPES ;
80+ }
7581 /**
7682 * @param ClassMethod|Function_|Closure $node
7783 */
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ final class VersionResolver
1919 * @api
2020 * @var string
2121 */
22- public const PACKAGE_VERSION = '572e3188de77263eb8755690aed4e6e81d925957 ' ;
22+ public const PACKAGE_VERSION = '0071144a396d7d42472f076b85ed089a555c34fb ' ;
2323 /**
2424 * @api
2525 * @var string
2626 */
27- public const RELEASE_DATE = '2026-03-08 00:49:37 ' ;
27+ public const RELEASE_DATE = '2026-03-12 18:24:13 ' ;
2828 /**
2929 * @var int
3030 */
You can’t perform that action at this time.
0 commit comments