Skip to content

mshddev/klx-grumphpx

Repository files navigation

Kly ComDev GrumPhp Xtension

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

About

Kly ComDev GrumPhp Xtension

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages