-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code quality improvements at level 4 of PHPStan (part II)
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
level: 4 | ||
paths: | ||
- ./src | ||
excludePaths: | ||
- src/core/Curl/Handler.php | ||
ignoreErrors: | ||
- '#Call to an undefined static method Swoole\\Coroutine\\Socket::import\(\).#' | ||
- '#Access to an undefined property Swoole\\Coroutine\\Socket::\$__ext_sockets_timeout.#' | ||
- '#Access to an undefined property Swoole\\Coroutine\\Socket::\$__ext_sockets_nonblock.#' | ||
- '#Property Swoole\\Coroutine\\FastCGI\\Client::\$socket \(Swoole\\Coroutine\\Socket\) does not accept null.#' | ||
- '#Access to an undefined property Swoole\\Coroutine\\Http\\ClientProxy::\$errCode.#' | ||
- '#Property Swoole\\Server::\$admin_server \(Swoole\\Coroutine\\Http\\Server\) does not accept null.#' | ||
- '#Return type \(Swoole\\StringObject\) of method Swoole\\ArrayObject::serialize\(\) should be compatible with return type \(string\|null\) of method Serializable::serialize\(\)#' | ||
- '#Property Swoole\\ConnectionPool::\$pool \(Swoole\\Coroutine\\Channel\) does not accept null.#' | ||
- '#Argument of an invalid type Swoole\\Curl\\Handler supplied for foreach, only iterables are supported.#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters