juliangut/phpstan-config

PHPStan configuration

Fund package maintenance!
juliangut

1.2 2024-03-05 15:13 UTC

This package is auto-updated.

Last update: 2024-04-05 20:52:24 UTC


README

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.