This package is GrumPHP extension contains tasks that runs :
composer require klx/grumphpx --dev
Add the extension loader to your grumphp.yml
parameters:
extensions:
- Klx\GrumPhpX\Extension
Add the task to your grumphp.yml
parameters:
tasks:
larastan:
config: ~
paths:
- app
- config
- tests
level: 5
config
Default: null
Custom phpstan.neon config file. Path to the config file is relative to root project directory.
paths
Default: []
This parameters is an array of directories to run larastan on.
level
Default: 5
Larastan analyse level. You can choose from currently 8 levels: (0 is the loosest and 7 is the strictest)
Please see CONTRIBUTING for details.
- add tests