Increate PHPStan level to 5

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2019-02-04 00:49:35 +01:00
parent b007284857
commit 103a47e134
No known key found for this signature in database
GPG key ID: 221E9281655813A6
2 changed files with 3 additions and 2 deletions

View file

@ -40,7 +40,7 @@ final class In extends AbstractRule
/**
* Initializes the rule with the haystack and optionally compareIdentical flag.
*
* @param array|string $haystack
* @param mixed $haystack
* @param bool $compareIdentical
*/
public function __construct($haystack, bool $compareIdentical = false)

View file

@ -7,7 +7,8 @@ parameters:
- phpt
ignoreErrors:
- '/Call to an undefined static method Respect\\Validation\\Validator::iDoNotExistSoIShouldThrowException/'
level: 3
- '/Parameter #2 $locale of function setlocale expects array|string|null, int given./'
level: 5
paths:
- library/
- tests/