PHPStan

When you update some method typehint only make it restricted when you are sure the method will only return that type.

  • vendor/bin/phpstan.phar analyse src/
  • vendor/bin/phpstan.phar analyse tests/

At the end we can ignore the invalid errors with composer stan-rebuild-baseline

Go to the next step (Run Psalm)

NEED A CUSTOM SOLUTION?
GET IN TOUCH:

We Bake with CakePHP