[wp-trac] [WordPress Trac] #42918: Replace intval(), strval(), ... function calls with type casts
WordPress Trac
noreply at wordpress.org
Sat Sep 12 09:51:47 UTC 2020
#42918: Replace intval(), strval(), ... function calls with type casts
---------------------------+-----------------------------
Reporter: ayeshrajans | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-refresh | Focuses: performance
---------------------------+-----------------------------
Changes (by ayeshrajans):
* Attachment "42918-php-typehints-2.patch" added.
Thanks a lot for picking this up. I rebased and added several more cases
to the list. Tests: https://travis-ci.com/github/Ayesh/wordpress-
develop/builds/184027317 (PHPCS linting fails at the moment), but unit
tests pass in all versions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42918>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list