folded-php / folded-php/http

Add static analysis in the test command

Open
#11 0 comments 0 reactions 1 assignee Claimed by @aminnairi View on GitHub
enhancement
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.