-
Notifications
You must be signed in to change notification settings - Fork 74
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
Phase 1 - Refactor to support Rector 0.17 #238
Conversation
…can actually add comments
… to AssertLegacyTraitBase
…otPerformAssertionToNonAssertingTestRector in drupal-8-all-deprecations.php
…rupal 10.0 were on phpunit 9.x, so the setlist should be phpunit 9, not phpunit 10.
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.
One clarifying question and an agreement on using a Trait.
We could move the Trait work to a new PR or do it here.
@@ -8,7 +8,7 @@ | |||
|
|||
return static function (\Rector\Config\RectorConfig $rectorConfig): void { | |||
$rectorConfig->sets([ | |||
PHPUnitSetList::PHPUNIT_91 | |||
PHPUnitSetList::PHPUNIT_90 |
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.
@bbrala This feels like a regresssion, even though it probably is not.
Any idea why this change is required?
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.
The list for PHPUnit 9.1 has been deprecated and replaces with the 100 version. But, since core doesn't really support PhpUnit 10, it seems weird to add that list.
Its changes like this one: sebastianbergmann/phpunit#4087 which is a change to PHPUnit 10. Should core start using PHPUnit 10, then we might need this?
That was my thought process at least.
Description
This are all the changes that were needed from the stan-fails branch to work on rector 0.17.x. Cleaned up with readable commits. Also; we do not need: