[wp-trac] [WordPress Trac] #63268: PHPStan code quality improvements for 6.9
WordPress Trac
noreply at wordpress.org
Sun Apr 20 23:49:27 UTC 2025
#63268: PHPStan code quality improvements for 6.9
--------------------------+-------------------------------
Reporter: justlevine | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"60176" 60176]:
{{{
#!CommitTicketReference repository="" revision="60176"
Coding Standards: Correct default parameter type in
`WP_Meta_Query::__construct()`.
This adjusts the default `$meta_query` parameter value to match the
documented type of `array`.
Since the function is gated with a loose, falsey `! $meta_query` check,
there is no difference to function behavior.
Follow-up to [17699].
Props justlevine.
See #63268.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63268#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list