-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix them
Description
PHP Version
8.4
CodeIgniter4 Version
4.6.1
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
apache
Database
No response
What happened?
I ran the phpunit tests as i red in the Codeigniter 4 documentation with the following command:
vendor/bin/phpunit --exclude-group DatabaseLive,CacheLive
and I got the following message:
There were 2 PHPUnit test runner warnings:
1) Using comma-separated values with --exclude-group is deprecated and will no longer work in PHPUnit 12. You can use --exclude-group multiple times instead.
As you can read here that has been deprecated.
The new syntax is supposed to be:
vendor/bin/phpunit --exclude-group DatabaseLive --exclude-group CacheLive
Steps to Reproduce
Run the following commands:
vendor/bin/phpunit --exclude-group DatabaseLive,CacheLivevendor/bin/phpunit --exclude-group DatabaseLive --exclude-group CacheLive
Expected Output
- A warning
- Nothing
Anything else?
Should I just create a pull request next time or do you prefer a issue for this kind of reports?
Metadata
Metadata
Assignees
Labels
bugVerified issues on the current code behavior or pull requests that will fix themVerified issues on the current code behavior or pull requests that will fix them