sw-phpstan

star 0

PHPStan für Shopware-6-Plugins: phpstan.neon einrichten, Level, Bootstrap/Autoload des Shopware-Kernels, Baseline, composer phpstan. Trigger: "PHPStan shopware", "phpstan.neon plugin", "phpstan level", "phpstan baseline shopware", "Typprüfung plugin". Shopware 6.7.

zone1987 By zone1987 schedule Updated 6/11/2026

name: sw-phpstan description: > PHPStan für Shopware-6-Plugins: phpstan.neon einrichten, Level, Bootstrap/Autoload des Shopware-Kernels, Baseline, composer phpstan. Trigger: "PHPStan shopware", "phpstan.neon plugin", "phpstan level", "phpstan baseline shopware", "Typprüfung plugin". Shopware 6.7.

Shopware 6 — PHPStan

Statische Typanalyse. Im Plugin eine phpstan.neon mit hohem Level + Shopware-Bootstrap.

parameters:
    level: 8
    paths: [src]
    bootstrapFiles:
        - vendor/shopware/core/...   # Kernel-Bootstrap für DAL/Container-Typen
includes:
    - vendor/phpstan/phpstan-symfony/extension.neon
    - vendor/shopware/phpstan-shopware/...   # Shopware-Regeln (sw-phpstan-shopware)
composer phpstan

Baseline (phpstan-baseline.neon) für Bestandscode; neue Fehler vermeiden. Shopware-spezifische Regeln (Decoration, DAL, internal) über sw-phpstan-shopware. Architektur-Schichten zusätzlich mit Deptrac (sw-deptrac).

Install via CLI
npx skills add https://github.com/zone1987/claude-a-dev-team --skill sw-phpstan
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator