Commit 48c42c65 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Added a README.md file.

No related merge requests found
Pipeline #5436 passed with stages
in 1 minute and 13 seconds
Showing with 43 additions and 0 deletions
+43 -0
README.md 0 → 100644
# irstea/phpstan-config
Configuration pour phpstan/phpstan.
Inclut les extensions PHPStan pour les outils suivant :
- Doctrine
- Symfony
- PHPUnit
- [beberlei/assert](https://github.com/beberlei/assert)
- [phpspec/prophecy](https://github.com/phpspec/prophecy)
### Installation
```shell
composer require --dev irstea/phpstan-config
```
### Configuration
Exemple :
```neon
includes:
- vendor/irstea/phpstan-config/phpstan.neon
parameters:
paths:
- src
- tests
symfony:
container_xml_path: %currentWorkingDirectory%/var/cache/test/srcApp_KernelTestDebugContainer.xml
```
cf. https://github.com/phpstan/phpstan#configuration pour plus de détails.
### Usage
```shell
vendor/bin/phpstan analyse
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment