szepeviktor / phpstan-phpdoc
PHPDoc and typehint checks only for PHPStan
Installs: 1 033
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
Type:phpstan-extension
Requires
- php: ~7.1
- phpstan/phpstan: ^0.12.0
This package is auto-updated.
Last update: 2024-11-26 03:21:33 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