1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-12 03:24:26 +01:00
guzzle/phpstan-baseline.neon
Richard van Laak c4c348a4f1
Reduce PHPStan baseline errors (#2677)
Co-authored-by: Richard van Laak <richard@scribbr.nl>
Co-authored-by: Tobias Nyholm <tobias.nyholm@gmail.com>
Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
2020-06-09 15:22:29 +03:00

33 lines
814 B
Plaintext

parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$str of function strtolower expects string, int\\|string given\\.$#"
count: 1
path: src/Client.php
-
message: "#^Parameter \\#2 \\$prefix of function http_build_query expects string, null given\\.$#"
count: 1
path: src/Client.php
-
message: "#^Binary operation \"\\*\" between float\\|int\\|string and 1000 results in an error\\.$#"
count: 1
path: src/Handler/MockHandler.php
-
message: "#^Parameter \\#1 \\$str1 of function strcasecmp expects string, int\\|string given\\.$#"
count: 1
path: src/Handler/CurlFactory.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/Middleware.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Pool.php