Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 820 Bytes

File metadata and controls

39 lines (29 loc) · 820 Bytes

Back

Development

This package includes several development tools configured via Composer scripts.


Composer scripts

composer cs:check    # Run code style check
composer cs:fix      # Run code style fix
composer phpstan     # Run static analysis (PHPStan)
composer tests:build # Build unit tests
composer tests:run   # Run unit tests

PHPStan Static analysis

The project uses PHPStan for static analysis.

  • phpstan.core.neon - primary config used by the command line
  • phpstan.neon.dist- template config for editor integrations
  • phpstan.neon - optional local override (copied from .dist)

To run PHPStan:

composer phpstan

Tests

To run all tests:

composer tests:build
composer tests:run