File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ if [ ! -d vendor ]; then
1414 composer update
1515fi
1616
17+ # Convert non-negative-int to int<0,max> in SimplePie
18+ sed -i -e ' s# non-negative-int # int<0,max> #' source/wordpress/wp-includes/SimplePie/src/File.php
19+ sed -i -e ' s# non-negative-int # int<0,max> #' source/wordpress/wp-includes/SimplePie/src/HTTP/Parser.php
20+
1721# Exclude globals.
1822" $( dirname " $0 " ) /vendor/bin/generate-stubs" \
1923 --force \
3337 printf ' \n/**\n * WordPress database abstraction object.\n * @var wpdb\n */\n$wpdb = \\null;\n' >> " $FILE "
3438fi
3539
36- # Convert non-negative-int to int<0,max> in SimplePie
37- sed -i -e ' s# non-negative-int # int<0,max> #' source/wordpress/wp-includes/SimplePie/src/File.php
38- sed -i -e ' s# non-negative-int # int<0,max> #' source/wordpress/wp-includes/SimplePie/src/HTTP/Parser.php
39-
4040if [ -r source/wordpress/wp-includes/Requests/Cookie/Jar.php ]; then
4141 # Add ReturnTypeWillChange attribute to PHP 8-incompatible methods.
4242 declare -r -a REQUESTS_V1_METHODS=(
You can’t perform that action at this time.
0 commit comments