Make phpstan configuration more flexible

This commit is contained in:
Marcus Moore 2023-02-07 13:32:32 -08:00
parent fd524c5f14
commit 321a34a9d3
No known key found for this signature in database
3 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
.env
.env.dusk.*
!.env.dusk.example
phpstan.neon
.idea
/bin/
/bootstrap/compiled.php

8
phpstan.neon.example Normal file
View file

@ -0,0 +1,8 @@
# Copy this file to "phpstan.neon" and update the parameters section as needed
includes:
- phpstan.neon.dist
parameters:
# https://phpstan.org/user-guide/output-format#opening-file-in-an-editor
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'