Updated Rector to commit 6a63c6376124c9604097d85aa4cc77c190bdacd2

6a63c63761 [PHP 7.4] Skip typed properties in the set, as standalone set now available (#5342)
This commit is contained in:
Tomas Votruba 2023-12-08 16:11:44 +00:00
parent b4235c46ba
commit 5fbad6d865
2 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,6 @@ use Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector;
use Rector\Php74\Rector\StaticCall\ExportToReflectionFunctionRector;
use Rector\Php74\Rector\Ternary\ParenthesizeNestedTernaryRector;
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
return static function (RectorConfig $rectorConfig) : void {
$rectorConfig->ruleWithConfiguration(RenameFunctionRector::class, [
#the_real_type
@ -27,5 +26,5 @@ return static function (RectorConfig $rectorConfig) : void {
# https://wiki.php.net/rfc/deprecations_php_7_4
'apache_request_headers' => 'getallheaders',
]);
$rectorConfig->rules([ArrayKeyExistsOnPropertyRector::class, FilterVarToAddSlashesRector::class, ExportToReflectionFunctionRector::class, MbStrrposEncodingArgumentPositionRector::class, RealToFloatTypeCastRector::class, NullCoalescingOperatorRector::class, ClosureToArrowFunctionRector::class, AddLiteralSeparatorToNumberRector::class, RestoreDefaultNullToNullableTypePropertyRector::class, CurlyToSquareBracketArrayStringRector::class, MoneyFormatToNumberFormatRector::class, ParenthesizeNestedTernaryRector::class, TypedPropertyFromAssignsRector::class]);
$rectorConfig->rules([ArrayKeyExistsOnPropertyRector::class, FilterVarToAddSlashesRector::class, ExportToReflectionFunctionRector::class, MbStrrposEncodingArgumentPositionRector::class, RealToFloatTypeCastRector::class, NullCoalescingOperatorRector::class, ClosureToArrowFunctionRector::class, AddLiteralSeparatorToNumberRector::class, RestoreDefaultNullToNullableTypePropertyRector::class, CurlyToSquareBracketArrayStringRector::class, MoneyFormatToNumberFormatRector::class, ParenthesizeNestedTernaryRector::class]);
};

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'f2a8542f3e7538a2c1aafdfd93a773e4065adcff';
public const PACKAGE_VERSION = '6a63c6376124c9604097d85aa4cc77c190bdacd2';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-12-08 14:43:36';
public const RELEASE_DATE = '2023-12-08 16:09:33';
/**
* @var int
*/