Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 662 Bytes

File metadata and controls

27 lines (18 loc) · 662 Bytes

pccomponentes/phpstan

Shared PHPStan configuration and extensions for PcComponentes projects.

What it includes

  • phpstan/phpstan
  • phpstan/phpstan-beberlei-assert
  • phpstan/phpstan-symfony
  • custom type-specifying extensions for Beberlei Assert chains and LazyAssertion::verifyNow()

Installation

composer require --dev pccomponentes/phpstan

Usage

Include the package extension from your project phpstan.neon:

includes:
  - vendor/pccomponentes/phpstan/extension.neon

Keep project-specific configuration such as level, excludePaths, ignoreErrors, and symfony.containerXmlPath in the consumer project.