- Upgrade phpstan/phpstan 1.12 → 2.1 - Add tomasvotruba/unused-public 2.2 for automatic dead code detection - Generate baseline (486 existing findings) to keep CI green - Remove stale @phpstan-ignore annotation in login page (ternary.alwaysFalse) - New code is fully checked against PHPStan 2 + unused-public rules Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
336 B
Plaintext
19 lines
336 B
Plaintext
includes:
|
|
- vendor/tomasvotruba/unused-public/config/extension.neon
|
|
- phpstan-baseline.neon
|
|
|
|
parameters:
|
|
level: 5
|
|
phpVersion: 80499
|
|
scanFiles:
|
|
- web/index.php
|
|
- bin/console
|
|
paths:
|
|
- config
|
|
- core
|
|
- modules
|
|
- pages
|
|
- tests
|
|
fileExtensions:
|
|
- php
|