Add static analysis in the test command

Open
#11 0 comments 0 reactions 1 assignee View on GitHub

@aminnairi is already working on this.

Since Oct 3, 2020.

Assessment

This issue has not been assessed yet.

Description

enhancement

Description

Static analysis helps catching bugs earlier.

Proposal

  • Using phpstan/phpstan in the make test command: php vendor/bin/phpunit && php vendor/bin/phpstan analyse sources
  • Use the level 8 for a maximum of consistency
  • Use a phpstan.neon configuration file

Worarkound solutions

None.

Notes

None.

Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.