Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 534 Bytes

quick-start.md

File metadata and controls

14 lines (11 loc) · 534 Bytes

Quick Start

  1. Create "phpstan.neon" in project directory. For more configuration options, see Advanced Usage.
includes:
    - vendor/syntro/silverstripe-phpstan/phpstan.neon
  1. Execute from project dir:
vendor/bin/phpstan analyse app/src -c phpstan.neon -a vendor/syntro/silverstripe-phpstan/bootstrap.php --level 4
  1. Visit the PHPStan Github for additional information. Try adjusting the --level, lower = less strict, higher = more strict.