Repository navigation
Fix CI: drop local path repository, generate test config, update Qodana linter - #642
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRepairs PHP 8.4 CI failures by removing a developer-only Composer repository, regenerating the configuration required by tests in both workflows, and aligning setup-php and Qodana versions with the current GitHub Actions environment. The change was locally verified against the updated dependency set with 3,156 tests passing. Sequence diagram for CI test configuration bootstrapsequenceDiagram
participant CI as GitHub Actions workflow
participant Composer
participant Bootstrap as console/console.php
participant Tests
CI->>Composer: composer update
Composer-->>CI: Install dependencies from Packagist
CI->>Bootstrap: ci-bootstrap
Bootstrap-->>CI: Generate htdocs/mainfile.php and config
CI->>Tests: Run test suite
Tests-->>CI: 3156 tests passed
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟢 Approval recommended
The focused configuration changes correctly address the identified CI failures, subject to the documented external dependency merge.
0 open findings
What changed in this PR
Restores CI and analysis compatibility for PHP 8.4.
Changes:
- Resolves dependencies through Packagist.
- Generates required test configuration before PHPUnit.
- Updates Qodana and
setup-phptooling.
| File | Description |
|---|---|
composer.json.dist |
Removes the local-only repository. |
.github/workflows/ci.yml |
Bootstraps test configuration. |
.github/workflows/sonarcloud.yml |
Updates PHP setup and bootstraps tests. |
qodana.yaml |
Updates the PHP linter image. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sourcery withdrew this approval because the latest commits introduced blocking findings.
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
|



CI has failed on master since the PHP 8.4 modernization, so every open Dependabot PR (#637–#641) inherits the failures. This fixes the causes on master.
xoops/base-requiresand drop that package. The repo is archived and Packagist marks it abandoned, the Packagistdev-masterstill has the pre-8.4 dependency set, and the../base-requirespath repository only existed on developer machines.firebase/php-jwtmoves to^7.0, because every 6.x release is blocked by GHSA-2x45-7fc3-mxwq. The oldsmarty/smarty >=5.0conflict is dropped, since^4.5.6already excludes 5.x.php console/console.php ci-bootstrapbefore the tests. The suite needshtdocs/mainfile.phpand its config file, which the old Travis setup generated and the Actions port dropped. No database is needed.qodana-php:2025.3linter, to match the 2025.3 CLI the action ships.setup-phpto v2.40.0. The previous pin ran on Node 20, which has been removed from the runners.Verified locally on PHP 8.4 from a clean checkout, the same way CI runs:
composer updateresolves with no advisory blocks, and the suite passes with 3156 tests and 0 failures.After merging,
@dependabot rebase#637–#641.Summary by Sourcery
Restore reliable PHP 8.4 CI by modernizing dependency resolution, generating test configuration, and aligning code-quality workflows with current tooling.
Bug Fixes:
Enhancements:
CI:
Summary by CodeRabbit