PHPStan Config for Standalone Chameleon Project

Install

composer require --dev phpstan/phpstan

Standard phpstan.neon file for standalone chameleon project.

parameters:
    scanDirectories:
        - app/cache/autoclasses
    excludePaths:
        - src/*/Migration*
    level: 6
    paths:
        - src

Run:

 vendor/bin/phpstan analyse -c phpstan.neon 

Views: 39