From: Tim Düsterhus Date: Wed, 22 Sep 2021 07:57:33 +0000 (+0200) Subject: Satisfy the PHP syntax check in GitHub Actions X-Git-Tag: 5.5.0_Alpha_1~427^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d399e520a1db93a94765ab017f0ef7b027e27bae;p=GitHub%2FWoltLab%2FWCF.git Satisfy the PHP syntax check in GitHub Actions The PHP 7.3 polyfill fails for PHP 7.3, because of a duplicate class declaration. This file is not actually loaded in new PHP versions, thus we can ignore it. --- diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 1068c40b0a..2c790ce1a3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -32,5 +32,6 @@ jobs: run: | rm wcfsetup/install/files/lib/system/api/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php rm wcfsetup/install/files/lib/system/api/symfony/polyfill-mbstring/bootstrap80.php + rm wcfsetup/install/files/lib/system/api/symfony/polyfill-php73/Resources/stubs/JsonException.php - run: | ! find . -type f -name '*.php' -exec php -l '{}' \; 2>&1 |grep -v '^No syntax errors detected'