Skip to content

v1.7.2

tagged this 12 Aug 22:00
excludePaths named `vendor-bin` and `lib/Resources/template` without the `(?)`
optional marker. PHPStan 2.x VALIDATES excludePaths and aborts when an entry
names something that does not exist; 1.x accepts it silently, which is why this
went unnoticed through v1.7.0 and v1.7.1.

zaakafhandelapp is the only fleet app on PHPStan 2 (2.2.8; the other seventeen
are on 1.12.33). It has neither directory, so including the base unchanged made
`composer phpstan` exit before analysing a single file — the same failure shape
as v1.7.0's relative paths, from a different cause.

`vendor` stays mandatory: phpstan runs from vendor/bin, so it always exists.

The marker is stripped during resolution, so no app's resolved value changes —
verified on docudesk (PHPStan 1.12.33) with a planted `no-such-dir-control (?)`,
which analysed cleanly and dumped as a plain path.
Assets 2
Loading