Skip to content

Commit b08b0d9

Browse files
committed
Add phpstan baseline
1 parent f7ead50 commit b08b0d9

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

phpstan-baseline.neon

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Call to an undefined method ReflectionClass\\<object\\>\\:\\:newLazyProxy\\(\\)\\.$#"
5+
count: 1
6+
path: src/Container.php
7+
8+
-
9+
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
10+
count: 1
11+
path: src/Container.php
12+
13+
-
14+
message: "#^Call to an undefined method ReflectionType\\:\\:isBuiltin\\(\\)\\.$#"
15+
count: 1
16+
path: src/Container.php
17+
18+
-
19+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
20+
count: 1
21+
path: src/Container.php

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
includes:
33
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
4+
- phpstan-baseline.neon
45

56
parameters:
67
level: 5

0 commit comments

Comments
 (0)