konradmichalik/phpstan-typo3-preset

TYPO3 preset configuration for PHPStan

Installs: 380

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/konradmichalik/phpstan-typo3-preset

0.1.0 2025-10-10 09:22 UTC

This package is auto-updated.

Last update: 2025-10-10 09:25:01 UTC


README

TYPO3 PHPStan Preset

This package provides a basic TYPO3 PHPStan configuration.

Important

This package is intended for use in my personal projects only. It is not designed for general use.

🔥 Installation

Packagist Packagist Downloads

composer require konradmichalik/phpstan-typo3-preset --dev

⚡ Usage

If you have the phpstan/extension-installer package installed, there's nothing more to do. The base configuration is automatically included.

Manual Setup

# phpstan.neon

includes:
  - %rootDir%/../../konradmichalik/phpstan-typo3-preset/phpstan.neon.dist

parameters:
  level: 7

  paths:
    - Classes
    - Configuration
    - Resources
    - Tests/Unit

  excludePaths:
    - .Build (?)

  type_coverage:
    constant: 0 # TODO: Remove when PHP 8.3 is minimum requirement

💛 Acknowledgements

This project is partly based on the best practices of tea extension.

⭐ License

This project is licensed under GNU General Public License 3.0 (or later).