juliangut / phpstan-config

Opinionated as can be configuration defaults for PHPStan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP version Latest Version License

Total Downloads Monthly Downloads

phpstan-config

Opinionated as can be configuration defaults for PHPStan

Installation

Composer

composer require --dev juliangut/phpstan-config

If You need a specific PHPStan constraint

composer require --dev phpstan/phpstan:^1.11

Usage

Include in your phpstan configuration file

Without PHPUnit rules

includes:
  - %rootDir%/../../juliangut/phpstan-config/phpstan.neon

# Add your custom configuration if needed

With PHPUnit rules

includes:
  - %rootDir%/../../juliangut/phpstan-config/phpstan-phpunit.neon

# Add your custom configuration if needed

Contributing

Found a bug or have a feature request? Please open a new issue. Have a look at existing issues before.

See file CONTRIBUTING.md

License

See file LICENSE included with the source code for a copy of the license terms.

About

Opinionated as can be configuration defaults for PHPStan

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 78.2%Language:Makefile 21.8%