Skip to content

Classes/NewConstVisibility: account for PHP 8.1 final class constants#1318

Merged
wimg merged 1 commit intodevelopfrom
feature/newconstvisibility-allow-for-final-constants
Mar 9, 2022
Merged

Classes/NewConstVisibility: account for PHP 8.1 final class constants#1318
wimg merged 1 commit intodevelopfrom
feature/newconstvisibility-allow-for-final-constants

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Mar 9, 2022

Prevent the sniff from not reporting on this issue when PHP 8.1 final class constants are used with the final keyword between the visibility modifier and the const keyword.

Includes unit tests.
Includes fixing a parse error in the test case file.
Includes touching up the documentation of the test file.

Related to #1299

Prevent the sniff from not reporting on this issue when PHP 8.1 `final` class constants are used with the `final` keyword between the visibility modifier and the `const` keyword.

Includes unit tests.
Includes fixing a parse error in the test case file.
Includes touching up the documentation of the test file.
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Mar 9, 2022
@jrfnl jrfnl added this to the 10.0.0 milestone Mar 9, 2022
@jrfnl jrfnl requested a review from wimg March 9, 2022 00:28
@wimg wimg merged commit 461f0a6 into develop Mar 9, 2022
@wimg wimg deleted the feature/newconstvisibility-allow-for-final-constants branch March 9, 2022 12:14
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 4, 2022
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