Skip to content

Commit 321a34a

Browse files
committed
Make phpstan configuration more flexible
1 parent fd524c5 commit 321a34a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.env
44
.env.dusk.*
55
!.env.dusk.example
6+
phpstan.neon
67
.idea
78
/bin/
89
/bootstrap/compiled.php

phpstan.neon phpstan.neon.dist

File renamed without changes.

phpstan.neon.example

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

0 commit comments

Comments
 (0)