diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index b4bf70b7c8..0199489252 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -102,10 +102,18 @@ jobs: run: phpcs -i - name: Run PHPCS on all Core files - run: phpcs -q -n --report=checkstyle | cs2pr + continue-on-error: true + run: phpcs -n --report-full --report-checkstyle=./.cache/phpcs-report.xml + + - name: Show PHPCS results in PR + run: cs2pr ./.cache/phpcs-report.xml - name: Check test suite files for warnings - run: phpcs tests -q --report=checkstyle | cs2pr + continue-on-error: true + run: phpcs tests --report-full --report-checkstyle=./.cache/phpcs-tests-report.xml + + - name: Show test suite scan results in PR + run: cs2pr ./.cache/phpcs-tests-report.xml - name: Ensure version-controlled files are not modified during the tests run: git diff --exit-code diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index c92e059675..038d4d2bec 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -97,7 +97,11 @@ jobs: run: phpcs -i - name: Run PHP compatibility tests - run: phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr + continue-on-error: true + run: phpcs --standard=phpcompat.xml.dist --report-full --report-checkstyle=./.cache/phpcs-compat-report.xml + + - name: Show PHPCompatibility results in PR + run: cs2pr ./.cache/phpcs-compat-report.xml - name: Ensure version-controlled files are not modified or deleted run: git diff --exit-code