diff --git a/.github/workflows/build_scoped_rector.yaml b/.github/workflows/build_scoped_rector.yaml index e8f9707e7a4..80c0b2e4ade 100644 --- a/.github/workflows/build_scoped_rector.yaml +++ b/.github/workflows/build_scoped_rector.yaml @@ -54,8 +54,9 @@ jobs: # to remove dev dependencies - run: composer install --no-dev --ansi - # early downgrade individual functions - - run: bin/rector process src/functions/node_helper.php -c build/config/config-downgrade.php --ansi + # early downgrade individual functions and the autoloaded RuleDoc classes, so the class-alias + # bootstrap can load them under the PHP 7.4 lint step without a parse error + - run: bin/rector process src/functions/node_helper.php src/RuleDoc -c build/config/config-downgrade.php --ansi # 1. copy files to $NESTED_DIRECTORY directory Exclude the scoped/nested directories to prevent rsync from copying in a loop - run: rsync --exclude rector-build -av * rector-build --quiet