Add static analysis in the test command
khalyomede opened this issue · comments
Khalyomede commented
Description
Static analysis helps catching bugs earlier.
Proposal
- Using phpstan/phpstan and run the command after the test command:
pest --coverage && phpstan analyse src
- Use the level 8 for a maximum of consistency
- Use a
phpstan.neon
configuration file
Worarkound solutions
None.
Notes
None.