An open API service indexing awesome lists of open source software.

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 📜

Awesome Lists containing this project

README

        

# PHPDoc and typehint checks only for PHPStan

[![CircleCI](https://circleci.com/gh/szepeviktor/phpstan-phpdoc.svg?style=svg)](https://circleci.com/gh/szepeviktor/phpstan-phpdoc) [![Packagist](https://img.shields.io/packagist/v/szepeviktor/phpstan-phpdoc.svg?color=239922&style=popout)](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
```