Running "shell:phpunit" (shell) task
PHPUnit 7.4.3 by Sebastian Bergmann and contributors.
unrecognized option --gruntfile
Warning: Command failed: vendor/bin/phpunit --gruntfile=/home/redaxmedia/PhpstormProjects/redaxscript/gruntfile.js
Use --force to continue.
Could you please remove the --gruntfile option and release a new version?
I used to run PHPUnit via Grunt using
grunt phpunit
what basicly does agrunt shell:phpunit
.Since grunt-cli 1.3.0 the gruntfile option is being passed to the command. As PHPUnit is detecting an invalid option - it cancles the operation.
Fragment of the
grunt-shell
task:Error reported by PHPUnit:
Could you please remove the --gruntfile option and release a new version?
Thank you