[wp-trac] [WordPress Trac] #56033: PHP 8.2: explicitly declare all known properties
WordPress Trac
noreply at wordpress.org
Sun Aug 7 14:20:17 UTC 2022
#56033: PHP 8.2: explicitly declare all known properties
--------------------------------------------+-----------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch php82 has-unit-tests | Focuses:
--------------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"53851" 53851]:
{{{
#!CommitTicketReference repository="" revision="53851"
Code Modernization: Remove unused dynamic property in
`Tests_WP_Customize_*`.
The dynamically created `$undefined` property appears to be a copy/paste
from the `Tests_WP_Customize_Setting` class, and is not actually used in
other test classes:
* `Tests_WP_Customize_Manager`
* `Tests_WP_Customize_Panel`
* `Tests_WP_Customize_Section`
Follow-up to [31329], [32658].
Props jrf.
See #56033.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56033#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list