Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,36 @@
\Rector\NodeTypeResolver\Node\AttributeKey::KIND,
\Rector\NodeTypeResolver\Node\AttributeKey::CLASS_SHORT_NAME,
);

expectedArguments(
\Rector\Core\Rector\AbstractRector::isAtLeastPhpVersion(),
0,
\Rector\Core\ValueObject\PhpVersionFeature::DIR_CONSTANT,
\Rector\Core\ValueObject\PhpVersionFeature::ELVIS_OPERATOR,
\Rector\Core\ValueObject\PhpVersionFeature::CLASSNAME_CONSTANT,
\Rector\Core\ValueObject\PhpVersionFeature::EXP_OPERATOR,
\Rector\Core\ValueObject\PhpVersionFeature::SCALAR_TYPES,
\Rector\Core\ValueObject\PhpVersionFeature::NULL_COALESCE,
\Rector\Core\ValueObject\PhpVersionFeature::SPACESHIP,
\Rector\Core\ValueObject\PhpVersionFeature::DIRNAME_LEVELS,
\Rector\Core\ValueObject\PhpVersionFeature::CSPRNG_FUNCTIONS,
\Rector\Core\ValueObject\PhpVersionFeature::THROWABLE_TYPE,
\Rector\Core\ValueObject\PhpVersionFeature::ITERABLE_TYPE,
\Rector\Core\ValueObject\PhpVersionFeature::VOID_TYPE,
\Rector\Core\ValueObject\PhpVersionFeature::CONSTANT_VISIBILITY,
\Rector\Core\ValueObject\PhpVersionFeature::ARRAY_DESTRUCT,
\Rector\Core\ValueObject\PhpVersionFeature::MULTI_EXCEPTION_CATCH,
\Rector\Core\ValueObject\PhpVersionFeature::OBJECT_TYPE,
\Rector\Core\ValueObject\PhpVersionFeature::IS_COUNTABLE,
\Rector\Core\ValueObject\PhpVersionFeature::ARRAY_KEY_FIRST_LAST,
\Rector\Core\ValueObject\PhpVersionFeature::JSON_EXCEPTION,
\Rector\Core\ValueObject\PhpVersionFeature::SETCOOKIE_ACCEPT_ARRAY_OPTIONS,
\Rector\Core\ValueObject\PhpVersionFeature::ARROW_FUNCTION,
\Rector\Core\ValueObject\PhpVersionFeature::LITERAL_SEPARATOR,
\Rector\Core\ValueObject\PhpVersionFeature::NULL_COALESCE_ASSIGN,
\Rector\Core\ValueObject\PhpVersionFeature::TYPED_PROPERTIES,
\Rector\Core\ValueObject\PhpVersionFeature::BEFORE_UNION_TYPES,
\Rector\Core\ValueObject\PhpVersionFeature::COVARIANT_RETURN,
\Rector\Core\ValueObject\PhpVersionFeature::ARRAY_SPREAD,
\Rector\Core\ValueObject\PhpVersionFeature::UNION_TYPES,
);
44 changes: 22 additions & 22 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@
"Rector\\PHPUnit\\": "rules/phpunit/src",
"Rector\\PSR4\\": "rules/psr4/src",
"Rector\\Phalcon\\": "rules/phalcon/src",
"Rector\\Php52\\": "rules/php-52/src",
"Rector\\Php53\\": "rules/php-53/src",
"Rector\\Php54\\": "rules/php-54/src",
"Rector\\Php55\\": "rules/php-55/src",
"Rector\\Php56\\": "rules/php-56/src",
"Rector\\Php70\\": "rules/php-70/src",
"Rector\\Php71\\": "rules/php-71/src",
"Rector\\Php72\\": "rules/php-72/src",
"Rector\\Php73\\": "rules/php-73/src",
"Rector\\Php74\\": "rules/php-74/src",
"Rector\\Php80\\": "rules/php-80/src",
"Rector\\Php52\\": "rules/php52/src",
"Rector\\Php53\\": "rules/php53/src",
"Rector\\Php54\\": "rules/php54/src",
"Rector\\Php55\\": "rules/php55/src",
"Rector\\Php56\\": "rules/php56/src",
"Rector\\Php70\\": "rules/php70/src",
"Rector\\Php71\\": "rules/php71/src",
"Rector\\Php72\\": "rules/php72/src",
"Rector\\Php73\\": "rules/php73/src",
"Rector\\Php74\\": "rules/php74/src",
"Rector\\Php80\\": "rules/php80/src",
"Rector\\PhpDeglobalize\\": "rules/php-deglobalize/src",
"Rector\\PhpSpecToPHPUnit\\": "rules/php-spec-to-phpunit/src",
"Rector\\Polyfill\\": "packages/polyfill/src",
Expand Down Expand Up @@ -159,17 +159,17 @@
"Rector\\PHPUnit\\Tests\\": "rules/phpunit/tests",
"Rector\\PSR4\\Tests\\": "rules/psr4/tests",
"Rector\\Phalcon\\Tests\\": "rules/phalcon/tests",
"Rector\\Php52\\Tests\\": "rules/php-52/tests",
"Rector\\Php53\\Tests\\": "rules/php-53/tests",
"Rector\\Php54\\Tests\\": "rules/php-54/tests",
"Rector\\Php55\\Tests\\": "rules/php-55/tests",
"Rector\\Php56\\Tests\\": "rules/php-56/tests",
"Rector\\Php70\\Tests\\": "rules/php-70/tests",
"Rector\\Php71\\Tests\\": "rules/php-71/tests",
"Rector\\Php72\\Tests\\": "rules/php-72/tests",
"Rector\\Php73\\Tests\\": "rules/php-73/tests",
"Rector\\Php74\\Tests\\": "rules/php-74/tests",
"Rector\\Php80\\Tests\\": "rules/php-80/tests",
"Rector\\Php52\\Tests\\": "rules/php52/tests",
"Rector\\Php53\\Tests\\": "rules/php53/tests",
"Rector\\Php54\\Tests\\": "rules/php54/tests",
"Rector\\Php55\\Tests\\": "rules/php55/tests",
"Rector\\Php56\\Tests\\": "rules/php56/tests",
"Rector\\Php70\\Tests\\": "rules/php70/tests",
"Rector\\Php71\\Tests\\": "rules/php71/tests",
"Rector\\Php72\\Tests\\": "rules/php72/tests",
"Rector\\Php73\\Tests\\": "rules/php73/tests",
"Rector\\Php74\\Tests\\": "rules/php74/tests",
"Rector\\Php80\\Tests\\": "rules/php80/tests",
"Rector\\PhpDeglobalize\\Tests\\": "rules/php-deglobalize/tests",
"Rector\\PhpSpecToPHPUnit\\Tests\\": "rules/php-spec-to-phpunit/tests",
"Rector\\Polyfill\\Tests\\": "packages/polyfill/tests",
Expand Down
1 change: 1 addition & 0 deletions config/set/php/php74.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ services:
Rector\Php74\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector: null
Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector: null
Rector\Php74\Rector\MethodCall\ChangeReflectionTypeToStringToGetNameRector: null
Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector: null
Loading