Skip to content

PHP 8.1 | Various sniffs: detect enums and enum related features (RFC) #1604

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

Merged
merged 6 commits into from
Aug 10, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 4, 2023

PHP 8.1 | NewKeywords: detect enums (RFC)

PHP 8.1 | NewFunctions: detect use of enum_exists() (RFC)

PHP 8.1 | NewConstants: detect new T_ENUM constant (RFC)

PHP 8.1 | NewClasses: add support for enum related classes (RFC)

PHP 8.1 | NewInterfaces: detect new enum related interfaces (RFC)

PHP 8.1 | InternalInterfaces: detect new enum related internal interfaces (RFC)

Support for Enumerations has been added.

Refs:

Related to #1299

jrfnl added 6 commits August 5, 2023 00:00
@jrfnl jrfnl added enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 4, 2023
@jrfnl jrfnl added this to the 10.0.0 milestone Aug 4, 2023
@jrfnl jrfnl requested a review from wimg August 4, 2023 22:20
@wimg wimg merged commit 60974d3 into develop Aug 10, 2023
@wimg wimg deleted the php-8.1/detect-everything-enum branch August 10, 2023 19:13
@github-actions github-actions bot removed PR: ready for review PR: quick merge PR only contains relatively simple changes labels Aug 10, 2023
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.

2 participants