szepeviktor / phpstan-phpdoc
PHPDoc and typehint checks only for PHPStan
Package info
github.com/szepeviktor/phpstan-phpdoc
Type:phpstan-extension
pkg:composer/szepeviktor/phpstan-phpdoc
v0.2.1
2020-05-25 17:23 UTC
Requires
- php: ~7.1
- phpstan/phpstan: ^0.12.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-26 07:02:25 UTC
README
This PHPStan extension checks only PHPDoc and typehint related errors in your code.
Installation
- Do not set rule level (
--level) - 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