Skip to content

docs: fix outdated documentation on how to exclude multiple test groups#9621

Merged
michalsn merged 1 commit intocodeigniter4:developfrom
FrancescoCiannavei:develop
Jul 3, 2025
Merged

docs: fix outdated documentation on how to exclude multiple test groups#9621
michalsn merged 1 commit intocodeigniter4:developfrom
FrancescoCiannavei:develop

Conversation

@FrancescoCiannavei
Copy link
Copy Markdown
Contributor

Description
This PR updates the documentation on running PHPUnit tests in the CodeIgniter 4 framework.

The currently documented syntax is deprecated and will be removed in PHPUnit version 12.
PHPUnit has updated the way test groups are excluded via the CLI, requiring different arguments than before. While I couldn’t pinpoint exactly when the new syntax was introduced, I found this discussion from 15 years ago that demonstrates its use.

I’ve reported the issue here: #9619

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@ddevsr ddevsr added the documentation Pull requests for documentation only label Jul 3, 2025
@michalsn michalsn merged commit 3d019b0 into codeigniter4:develop Jul 3, 2025
3 checks passed
@michalsn
Copy link
Copy Markdown
Member

michalsn commented Jul 3, 2025

Thank you @Franky5831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: phpunit deprecated the support for using comma-separated values with the --group CLI options

4 participants