Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 926 Bytes

File metadata and controls

55 lines (35 loc) · 926 Bytes

Testing

This package provides a consistent set of Composer scripts for local validation.

Tool references:

Code style checks (PHPCodeSniffer)

Run code style checks.

composer cs

Fix code style issues.

composer cs-fix

Static analysis (PHPStan)

Run static analysis.

composer static

Unit tests (Codeception)

Run the full test suite.

composer tests

Passing extra arguments

Composer scripts support forwarding additional arguments using --.

Run Codeception with a specific suite.

composer tests -- Acceptance

Run PHPStan with a different memory limit.

composer static -- --memory-limit=512M