Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Ignore unused method errors for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Oct 20, 2023
1 parent 8c86bf1 commit b3a6000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ unit: vendor
phpdbg -qrr vendor/bin/phpunit --testdox --coverage-text --coverage-clover=coverage.xml --coverage-html=./report/

static: vendor
vendor/bin/phpstan analyse src --level 8
vendor/bin/phpstan analyse src --level max

watch: vendor
find . -name "*.php" -not -path "./vendor/*" -o -name "*.json" -not -path "./vendor/*" | entr -c make test
Expand Down
2 changes: 2 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
parameters:
ignoreErrors:
-
message: '#^Method Tuupola\\\\Middleware\\\\JwtAuthentication::.* is unused.#'
-
message: "#^Offset 'secret' does not exist on array\\{secret\\?\\: array\\<string\\>\\|string, secure\\: bool, relaxed\\: array\\<string\\>, algorithm\\: array\\<string\\>, header\\: string, regexp\\: string, cookie\\: string, attribute\\: string, \\.\\.\\.\\}\\.$#"
count: 1
Expand Down

0 comments on commit b3a6000

Please sign in to comment.