pccomponentes/phpstan

Shared PHPStan extensions and configuration for PcComponentes projects.

Maintainers

Package info

github.com/PcComponentes/phpstan

pkg:composer/pccomponentes/phpstan

Statistics

Installs: 72

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-03-31 10:54 UTC

README

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.