[wp-meta] [Making WordPress.org] #3791: Consider bumping pre-commit checker on plugins to PHP 7.X
Making WordPress.org
noreply at wordpress.org
Fri May 21 13:11:12 UTC 2021
#3791: Consider bumping pre-commit checker on plugins to PHP 7.X
------------------------------+-----------------------
Reporter: Ipstenu | Owner: (none)
Type: defect | Status: reopened
Priority: high | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+-----------------------
Comment (by pomegranate):
@uglyrobot until this is fixed, I think the most simple solution is to
patch the affected files in your deployment process (mine is automated by
a github action).
So after fetching my composer libraries I simply execute:
{{{
sed -i "s/: string|false//" "/vendor/symfony/polyfill-intl-
idn/bootstrap80.php"
sed -i "s/: string|false//" "/vendor/symfony/polyfill-intl-
normalizer/bootstrap80.php"
}}}
(which in this case removes the return type declaration that is not
strictly necessary)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3791#comment:33>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list