Skip to content

Commit a77c885

Browse files
committed
added phpstan-baseline
1 parent a59e75e commit a77c885

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

phpstan-baseline.neon

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^PHPDoc tag @param has invalid value \\(\\$installationId An integration installation id\\)\\: Unexpected token \"\\$installationId\", expected type at offset 155$#"
5+
count: 1
6+
path: lib/Github/Api/Apps.php
7+
8+
-
9+
message: "#^PHPDoc tag @param has invalid value \\(\\$org An organization\\)\\: Unexpected token \"\\$org\", expected type at offset 188$#"
10+
count: 1
11+
path: lib/Github/Api/Apps.php
12+
13+
-
14+
message: "#^PHPDoc tag @param has invalid value \\(\\$owner the owner of a repository\\)\\: Unexpected token \"\\$owner\", expected type at offset 182$#"
15+
count: 1
16+
path: lib/Github/Api/Apps.php
17+
18+
-
19+
message: "#^PHPDoc tag @param has invalid value \\(\\$repo the name of the repository\\)\\: Unexpected token \"\\$repo\", expected type at offset 230$#"
20+
count: 1
21+
path: lib/Github/Api/Apps.php
22+
23+
-
24+
message: "#^PHPDoc tag @param has invalid value \\(\\$username\\)\\: Unexpected token \"\\$username\", expected type at offset 170$#"
25+
count: 1
26+
path: lib/Github/Api/Apps.php
27+
28+
-
29+
message: "#^PHPDoc tag @param has invalid value \\(\\$installationId An integration installation id\\)\\: Unexpected token \"\\$installationId\", expected type at offset 161$#"
30+
count: 1
31+
path: lib/Github/Api/Apps.php
32+

phpstan.neon.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
includes:
2+
- phpstan-baseline.neon
3+
14
parameters:
2-
level: 0
5+
level: 3
36
paths:
47
- lib

0 commit comments

Comments
 (0)