Open
Description
Hello!
You may reach very robust code by using @phpstan
phpstan.neon.dist
#$ composer require --dev phpstan/phpstan-shim
#$ vendor/bin/phpstan analyze
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 2
# level: 4
# level: max
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%/src/
# - %currentWorkingDirectory%/test/
ignoreErrors:
#
# These are way too easy to fix!
- '#^Variable \$\S+ might not be defined\.$#'
- '#^Access to an undefined property WebimpressCodingStandard\\\S+\.$#'