Skip to content

Fix CI followup: phpcs-changed and empty test suite#1028

Merged
kraftbj merged 1 commit into
trunkfrom
fix/ci-followup
Apr 7, 2026
Merged

Fix CI followup: phpcs-changed and empty test suite#1028
kraftbj merged 1 commit into
trunkfrom
fix/ci-followup

Conversation

@kraftbj
Copy link
Copy Markdown
Contributor

@kraftbj kraftbj commented Apr 7, 2026

Summary

Followup to #1020. Fixes two issues found in CI:

  • phpcs-changed requires explicit file arguments; now passes the list of changed PHP files from git diff
  • Removes failOnEmptyTestSuite from PHPUnit 11/12 configs since there are no test files yet (only bootstrap.php)
  • Skips PHPCS entirely when no PHP files are changed

Test plan

  • PHPUnit passes on PHP 8.2, 8.3, 8.4, 8.5
  • PHPCS passes when no new violations are introduced
  • PHPCS skips gracefully when no PHP files are changed

@kraftbj kraftbj merged commit 58603b3 into trunk Apr 7, 2026
@kraftbj kraftbj deleted the fix/ci-followup branch April 7, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant