Open deviantintegral opened 11 months ago
Yes, +1 to this, using a phpstan.neon.dist is preferred and what we provided via scaffolding on a shared install profile across several sites, which allows individual projects to still use their own phpstan.neon file that overrides/references the dist file already.
Same type of issue as #238 .
As I noted at https://github.com/Lullabot/drainpipe/pull/216, phpstan generally recommends and expects a
.dist
file to be committed to the repo, andphpstan.neon
to be git ignored. As well, PHPStorm throws an error that phpstan.neon.dist doesn't exist.Instead, lets:
-c
in our task:static tests.