-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Account for changes introduced in PHP 8.1 #1299
Labels
Comments
This was referenced Mar 9, 2022
Merged
11 tasks
This was referenced Dec 5, 2022
This was referenced Dec 5, 2022
This was referenced Jan 2, 2023
This was referenced Apr 5, 2023
This was referenced Aug 4, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just an issue to keep track of which of the implemented RFCs for PHP 8.1 have been addressed.
This list should be updated when additional RFCs are accepted/implemented.
To Do
setAccessible()
no-opSub-list:
Aside from the RFCs, there are also the changes which were made outside of the RFC process and are listed in:
Status: anything which relates to "list"-based sniffs has been accounted for and pulled. Still plenty more to review for scannability.
Status: reviewed for anything which PHPCompatibility should account for up to commit php/php-src@33cd61c dd Feb 23 2022.
Claimed
Sub-list:
Status: WIP/Needs to wait for PHPCSUtils alpha 4 named parameters support PR for the
OptionalToRequiredFunctionParameters
sniff to be pulled firstOwner: @jrfnl
Has PR
PHPCompatibility.Numbers.NewExplicitOctalNotation
sniff #1420PHPCompatibility.ParameterValues.NewArrayMergeRecursiveWithGlobalsVar
sniff #1488never
and verify standalone types #1458PHPCompatibility.Classes.NewFinalClassConstants
sniff #1317 + Classes/NewConstVisibility: account for PHP 8.1 final class constants #1318PHPCompatibility.InitialValue.NewNewInInitializers
sniff #1464 + ✨ PHP 8.1: NewPHPCompatibility.InitialValue.NewNewInDefine
sniff #1465Sub-list:
PHPCompatibility.ParameterValues.RemovedMbCheckEncodingNoArgs
sniff #1315PHPCompatibility.FunctionDeclarations.RemovedReturnByReferenceFromVoid
sniff #1316PHPCompatibility.Syntax.NewFirstClassCallables
sniff #1425PHPCompatibility.Classes.NewReadonlyProperties
sniff #1426Reviewed and concluded non-sniffable
get_class(), get_parent_class() and get_called_class() without argumentRFC rejectedt fopen modeRFC rejectedProcess
If anyone starts work on updating PHPCompatibility to handle any of these issues, please either update the above list (if you can) or leave a comment below, so one of the maintainers can update the list.
Once PHP 8.1 comes out, individual issues should be opened for the changes which remain at that point in time.
The text was updated successfully, but these errors were encountered: