PHPStan Config for Standalone Chameleon Project

Hits: 96

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