Skip to content

Commit 09d2ff1

Browse files
committed
ignore undefined variables in mail templates
1 parent f26c706 commit 09d2ff1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ parameters:
33
paths:
44
- resources
55
- test
6+
ignoreErrors:
7+
- messages:
8+
- '#Variable \$this might not be defined.#'
9+
- '#Variable \$data might not be defined.#'
10+
paths:
11+
- resources/mail/*

0 commit comments

Comments
 (0)