The tests are failing because phpstan is not compatible with 7.1. We don't need it to be, as we only run it on one PHP version. So we should remove it from the dev dependencies and add phpstan at test time so that we don't get the PHP 7.1 error. Something like:
The tests are failing because
phpstan
is not compatible with 7.1. We don't need it to be, as we only run it on one PHP version. So we should remove it from the dev dependencies and addphpstan
at test time so that we don't get the PHP 7.1 error. Something like: