Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 978 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 978 Bytes

PHPStan PHP-DI

Software license PHP version Latest release

A PHPStan extension to support PHP-DI.

Features

  • Instance properties with a PHP-DI #[Inject] attribute will be recognized as always written.

Installation

First, install the package via composer as a development dependency:

composer require --dev zorac/phpstan-php-di

Then add the extension to the includes sectiopn of your phpstan.neon:

includes:
  - ./vendor/zorac/phpstan-php-di/extension.neon