CI: fix dead scrutinizer-ci.com/ocular.phar URL - #115
Merged
Conversation
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #115 +/- ##
=========================================
Coverage 97.73% 97.73%
Complexity 498 498
=========================================
Files 29 29
Lines 1460 1460
=========================================
Hits 1427 1427
Misses 33 33 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Every CI job currently fails, on every branch/PR, regardless of the actual code change. The "Upload Coverage to Scrutinizer CI (PHP < 8.0)" step runs:
which now returns
403 Forbidden— this endpoint appears to be dead.wgetexits non-zero and fails the whole job, even thoughvendor/bin/phpunititself passes cleanly right before it (visible in the logs of every currently-failing job, e.g. PR #114).Only the
PHP < 8.0step is affected — thePHP >= 8.0step installsscrutinizer/ocularvia Composer instead and never hits that URL.Fix
Point
wgetat the GitHub Releases copy ofocular.pharinstead:Verified the URL resolves and serves the file (
200 OK). Same fix already applied in a sibling repo,console-helpers/svn-buddy(commit7a34548, "Use "ocular.phar" from GitHub CDN").Closes #112