Skip to content
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

Classes/RemovedClasses: detect removed classes in PHP 8.2 DNF types #1716

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 24, 2024

This updates the sniff to also detect removed classes when used in DNF types.

Includes unit tests.

Related to #1348


Note: this PR has been opened as draft as it depends on PR #1714 due to the need for PHPCS 3.10.0 (and will need a rebase once that PR has been merged). Having said that, the PR in itself is ready.

@jrfnl jrfnl added enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels May 24, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone May 24, 2024
@jrfnl jrfnl requested a review from wimg May 24, 2024 16:00
Base automatically changed from php-8.2/detect-dnf-types to develop June 7, 2024 09:46
This updates the sniff to also detect removed classes when used in DNF types.

Includes unit tests.
@jrfnl jrfnl force-pushed the php-8.2/removed-classes-detect-classes-in-dnf-types branch from 432d8ea to 46b70ba Compare June 7, 2024 11:56
@jrfnl
Copy link
Member Author

jrfnl commented Jun 7, 2024

Rebased without changes now #1714 has been merged. Marking as ready.

@jrfnl jrfnl marked this pull request as ready for review June 7, 2024 11:58
@wimg wimg merged commit 5bd72b9 into develop Jul 13, 2024
46 checks passed
@wimg wimg deleted the php-8.2/removed-classes-detect-classes-in-dnf-types branch July 13, 2024 00:57
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants