Please consider using @phpstan `phpstan analyse src/ -l 2` Level 4 is the lowest sustainable, `max` is ideal.