/phpstan-phpdoc

PHPDoc and typehint checks **only** for PHPStan 📜

PHPDoc and typehint checks only for PHPStan

CircleCI Packagist

This PHPStan extension checks only PHPDoc and typehint related errors in your code.

Installation

  1. Do not set rule level (--level)
  2. Require this package in Composer:
composer require --dev szepeviktor/phpstan-phpdoc

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/szepeviktor/phpstan-phpdoc/extension.neon