[PHPUnit10] Replace deleted PHPUnit methods#438
Merged
samsonasik merged 1 commit intorectorphp:mainfrom Jan 17, 2025
Merged
Conversation
c1e929f to
39d6ddc
Compare
Member
|
Please run: to fix CI |
5fa7dbf to
be4f218
Compare
samsonasik
reviewed
Jan 15, 2025
rules/PHPUnit100/Rector/MethodCall/PropertyExistsWithoutAssertRector.php
Show resolved
Hide resolved
be4f218 to
bb77782
Compare
samsonasik
reviewed
Jan 15, 2025
rules/PHPUnit100/Rector/MethodCall/PropertyExistsWithoutAssertRector.php
Outdated
Show resolved
Hide resolved
…ibute, classHasStaticAttribute and assertClassNotHasStaticAttribute by property_exists() sebastianbergmann/phpunit#4601
bb77782 to
4ed85c1
Compare
Member
|
Thank you @66Ton99 |
Member
|
@66Ton99 next, could you register to phpunit100 config ? https://github.com/rectorphp/rector-phpunit/blob/main/config/sets/phpunit100.php thank you. |
Member
|
@66Ton99 nvm, I registered at new PR: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace deleted PHPUnit methods:
assertClassHasStaticAttribute
classHasStaticAttribute
assertClassNotHasStaticAttribute
by property_exists()
sebastianbergmann/phpunit#4601