To use this extension, require it using Composer:
composer require --dev ekino/phpstan-sonata
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use phpstan/extension-installer
, include extension.neon in your project's PHPStan config:
includes:
- vendor/ekino/phpstan-sonata/extension.neon