[wp-trac] [WordPress Trac] #63268: PHPStan code quality improvements for 6.9
WordPress Trac
noreply at wordpress.org
Fri Jun 13 18:22:14 UTC 2025
#63268: PHPStan code quality improvements for 6.9
----------------------------+-------------------------------
Reporter: justlevine | Owner: SergeyBiryukov
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"60307" 60307]:
{{{
#!CommitTicketReference repository="" revision="60307"
Docs: Correct parameter type for the `oembed_dataparse` filter.
This commit updates the filter documentation to indicate that it can both
take and return a `string|false` value.
Documentation for functions attached to the filter has been similarly
corrected:
* `WP_oEmbed::_strip_newlines()`
* `wp_filter_oembed_result()`
* `wp_filter_oembed_iframe_title_attribute()`
Follow-up to [12153], [25723], [34903], [34974], [44942].
Props justlevine.
See #63268.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63268#comment:109>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list