Skip to content

Commit 58f4e08

Browse files
fix: exclude legacy Guzzle6AuthHandler and drop stale phpstan ignore
1 parent d706b2c commit 58f4e08

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

phpstan.neon.dist

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ parameters:
33
level: 5
44
paths:
55
- src
6-
ignoreErrors:
7-
# On Guzzle 7 the base RequestException has getResponse(), so the
8-
# method_exists() guard is statically true; it stays for the Guzzle 8
9-
# code path, where the response lives only on the ResponseException
10-
# subclass.
11-
-
12-
message: '#^Call to function method_exists\(\) with GuzzleHttp\\Exception\\RequestException and ''getResponse'' will always evaluate to true\.$#'
13-
path: src/Http/REST.php
6+
excludePaths:
7+
# Legacy, unused Guzzle 6 auth handler retained for backwards
8+
# compatibility only; it relies on APIs removed in Guzzle 8.
9+
- src/AuthHandler/Guzzle6AuthHandler.php

0 commit comments

Comments
 (0)