From cdd8696155626e23801589f43473cd64b158cf82 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 23 Jul 2026 14:08:37 +0300 Subject: [PATCH] CI: fix dead scrutinizer-ci.com/ocular.phar URL The "Upload Coverage to Scrutinizer CI (PHP < 8.0)" step downloads ocular.phar via wget from scrutinizer-ci.com, which now returns 403 Forbidden, failing every CI job on every PHP version even though the actual test run passes. Point wget at the GitHub Releases copy of ocular.phar instead, same fix already applied in console-helpers/svn-buddy. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0555235..a028fdb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -73,7 +73,7 @@ jobs: - name: Upload Coverage to Scrutinizer CI (PHP < 8.0) if: "${{ matrix.php < '8.0' }}" run: | - wget https://scrutinizer-ci.com/ocular.phar + wget https://github.com/scrutinizer-ci/ocular/releases/download/1.6.0/ocular.phar php ocular.phar code-coverage:upload --repository=g/aik099/CodingStandard --format=php-clover coverage.clover - name: Upload Coverage to Scrutinizer CI (PHP >= 8.0)