rfc:partially-supported-callables-expand-deprecation-notices
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:partially-supported-callables-expand-deprecation-notices [2022/05/29 19:38] – Split the vote into two votes jrf | rfc:partially-supported-callables-expand-deprecation-notices [2022/05/31 10:29] – Changes status to Voting jrf | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2022-05-12 | * Date: 2022-05-12 | ||
* Author: Juliette Reinders Folmer, < | * Author: Juliette Reinders Folmer, < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 158: | Line 158: | ||
While for '' | While for '' | ||
- | While it is expected that callables using the syntaxes now deprecated are only small subsection of the callables used in code bases, this can still be annoying. | + | While it is expected that callables using the syntaxes now deprecated are only a small subsection of the callables used in code bases, this can still be annoying. |
For codebases which either don't intend to upgrade to PHP 9.0, or want to delay addressing these deprecation notices, there are three options: | For codebases which either don't intend to upgrade to PHP 9.0, or want to delay addressing these deprecation notices, there are three options: | ||
Line 176: | Line 176: | ||
This change will allow more deprecated partially supported callables to be discovered and fixed prior to PHP 9.0. | This change will allow more deprecated partially supported callables to be discovered and fixed prior to PHP 9.0. | ||
- | While in some cases, this means that two deprecation notices will now be thrown instead of one, in those cases, the same fix which was originally needed anyway, will remove | + | While in some cases, this means that multiple |
As all deprecated partially supported callables have an equivalent which is supported PHP cross-version - see the [[https:// | As all deprecated partially supported callables have an equivalent which is supported PHP cross-version - see the [[https:// | ||
Line 188: | Line 188: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. | + | As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. |
- | **Add a deprecation notice for `is_callable()` when it receives one of the deprecated partially supported callables: yes/no** | + | Voting started on 2022-05-31 10:30 UTC and will end on 2022-06-14 10:30 UTC. |
- | **Add a deprecation notice | + | <doodle title=" |
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
Line 213: | Line 221: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
rfc/partially-supported-callables-expand-deprecation-notices.txt · Last modified: 2022/07/15 16:07 by jrf