Skip to content

Commit

Permalink
add phpstan baseline (#82)
Browse files Browse the repository at this point in the history
add phpstan baseline for stub
  • Loading branch information
davidlienhard committed Nov 8, 2021
1 parent e38ff7e commit 54ecad0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
parameters:
ignoreErrors:
-
message: "#^Property DavidLienhard\\\\Log\\\\Stub\\:\\:\\$append is never read, only written\\.$#"
count: 1
path: src/Stub.php

-
message: "#^Property DavidLienhard\\\\Log\\\\Stub\\:\\:\\$file is never read, only written\\.$#"
count: 1
path: src/Stub.php

-
message: "#^Property DavidLienhard\\\\Log\\\\Stub\\:\\:\\$gz is never read, only written\\.$#"
count: 1
path: src/Stub.php

-
message: "#^Property DavidLienhard\\\\Log\\\\Stub\\:\\:\\$silent is never read, only written\\.$#"
count: 1
path: src/Stub.php

2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
includes:
- phpstan-baseline.neon

parameters:
level: max
Expand Down

0 comments on commit 54ecad0

Please sign in to comment.