https://github.com/szepeviktor/phpstan-phpdoc
PHPDoc and typehint checks **only** for PHPStan 📜
https://github.com/szepeviktor/phpstan-phpdoc
phpdoc phpstan phpstan-extension typehints
Last synced: 3 months ago
JSON representation
PHPDoc and typehint checks **only** for PHPStan 📜
- Host: GitHub
- URL: https://github.com/szepeviktor/phpstan-phpdoc
- Owner: szepeviktor
- Created: 2019-07-29T23:23:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T17:24:19.000Z (about 5 years ago)
- Last Synced: 2025-01-14T19:09:22.746Z (5 months ago)
- Topics: phpdoc, phpstan, phpstan-extension, typehints
- Homepage: https://packagist.org/packages/szepeviktor/phpstan-phpdoc
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHPDoc and typehint checks only for PHPStan
[](https://circleci.com/gh/szepeviktor/phpstan-phpdoc) [](https://packagist.org/packages/szepeviktor/phpstan-phpdoc)
This [PHPStan](https://github.com/phpstan/phpstan) extension
checks only PHPDoc and typehint related errors in your code.## Installation
1. Do not set rule level (`--level`)
1. Require this package in [Composer](https://getcomposer.org/):```
composer require --dev szepeviktor/phpstan-phpdoc
```If you also install [phpstan/extension-installer](https://github.com/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
```