-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TypeDeclaration] Using native type scope get on ReturnTypeInferer #4648
Conversation
@@ -1,18 +0,0 @@ | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this remove leftover fixture with .php
suffix instead of .php.inc
use Rector\DowngradePhp80\Rector\MethodCall\DowngradeNamedArgumentRector; | ||
|
||
return static function (RectorConfig $rectorConfig): void { | ||
$rectorConfig->rule(SymmetricArrayDestructuringToListRector::class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SymmetricArrayDestructuringToListRector
is removed at PR:
so this test no longer needed.
@@ -63,7 +63,6 @@ final class MissingInSetCommand extends Command | |||
__DIR__ . '/../../vendor/rector/rector-phpunit/rules/CodeQuality' => __DIR__ . '/../../vendor/rector/rector-phpunit/config/sets/phpunit-code-quality.php', | |||
|
|||
// rector-downgrade | |||
__DIR__ . '/../../vendor/rector/rector-downgrade-php/rules/DowngradePhp71' => __DIR__ . '/../../vendor/rector/rector-downgrade-php/config/set/downgrade-php71.php', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config/set/downgrade-php71.php
no longer exists, so it must be unregistered from MissingInSetCommand
All checks have passed 🎉 @TomasVotruba I am merging it ;) |
Getting type
$this->nodeTypeResolver->getType()
may read docblock which we mostly don't want, this PR make to use$this->nodeTypeResolver->getNativeType()
instead.