klydev / grumphpx
Kly ComDev GrumPHP Tasks Xtension
v0.1.2
2021-03-03 07:43 UTC
Requires
- php: ^7.2
- nunomaduro/larastan: ^0.7.0
- phpro/grumphp: ^1.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpstan/phpstan: ^0.12.11
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2025-03-29 00:53:42 UTC
README
This package is GrumPHP extension contains tasks that runs :
Installation
composer require klx/grumphpx --dev
Usage
Add the extension loader to your grumphp.yml
parameters: extensions: - Klx\GrumPhpX\Extension
Larastan
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)
Contributing
Please see CONTRIBUTING for details.
Todo
- add tests