[wp-trac] [WordPress Trac] #51423: Fix function argument type issues reported by PHPStan

WordPress Trac noreply at wordpress.org
Mon Nov 9 10:20:42 UTC 2020


#51423: Fix function argument type issues reported by PHPStan
-------------------------------------------+-------------------------------
 Reporter:  SergeyBiryukov                 |       Owner:  SergeyBiryukov
     Type:  task (blessed)                 |      Status:  accepted
 Priority:  normal                         |   Milestone:  5.6
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:  coding-standards
-------------------------------------------+-------------------------------

Comment (by xknown):

 I compiled a list of changes that it'd good to include in the 5.6 release
 to avoid potential PHP 8.0 issues (some of them fix real PHP 8.0 fatals),
 if we want to leave the unneeded type casts changes out of them, that's
 fine for me. At this point I think it'd be good to add either these
 patches here or maybe have an individual PR for each change, so it's
 easier to be reviewed.

 - https://github.com/WordPress/wordpress-
 develop/commit/bbd0a6674ec51a73f43c17527175e46c15005d4a.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/2293464146dfba70b1e4b6f25f9dde3343cbc397.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/6faab47f0d02c65f0fccbf6e7bd2c222b565fcbe.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/174414b2b5a6d2803a49c045fc96a687c46186d3.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/4df45db40eb7dee4fe35e1bd55858e84ab250816.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/943b24fe5f052e701f6859a0c1901b1a29ab3a46.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/b141c7d20796304ab43d25ab014250159c8764fe.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/8f4155d9570ad647701122e65dfd30a0b7443b5c.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/8abbe61141ac599ed9a39557d4018fc1458197ed.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/4610deabb881676a830e2d3b729b437a67b7ed7f.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/30e3c0aa8e4a64242cf72b39b77294f1b5eadfb6.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/6abe05c0f104323381a7af5a95dc2fd52d3666eb.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/514d8c25292d2a75ac0d74b0b561fce2f2dea8d2.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/a791daffbd642d9239f69e6d62eba421a3d9298a.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/2ecb556ca593f2a2ac8ee96b4f3aa2b221248d14.diff
 - https://github.com/WordPress/wordpress-
 develop/commit/fae1cc76011b45cf269025f740b5909d0c02acaf.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/2959d5d997de9ade045ac508ea122ddf371c59a7.patch
 (`wp_http_supports` invalid parameter)
 - https://github.com/WordPress/wordpress-
 develop/commit/08ccb0f64513004872b538df90bf4c0c8ab5edb2.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/ab4657c1adbd7b104543a6d0b9423365513eca3d.diff
 - https://github.com/WordPress/wordpress-
 develop/commit/b71e78396a8c3fa255fe90e49afed88d19f2fb00.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/d12e5090f6adec44c65912b8caf67e980c1b5e41.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/fe3ed74e60fce4c5a7a852e4368afe4b968a595f.patch
 - https://github.com/WordPress/wordpress-
 develop/commit/19ed05fecd4c466f1c39534dd752bf84e2ffea77.patch

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51423#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list