Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.1 KB

File metadata and controls

52 lines (33 loc) · 1.1 KB

Testing

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

Tool references:

Automated refactoring (Rector)

Run Rector to apply automated code refactoring.

composer rector

Coding standards (ECS)

Run Easy Coding Standard (ECS) and apply fixes.

composer ecs

Dependency definition check

Verify that runtime dependencies are correctly declared in composer.json.

composer check-dependencies

Static analysis (PHPStan)

Run static analysis.

composer static

Passing extra arguments

Composer scripts support forwarding additional arguments using --.

Run ECS with a different memory limit.

composer ecs -- --memory-limit=512M