mirror of
https://github.com/Respect/Validation.git
synced 2024-06-14 11:35:08 +02:00
Increate PHPStan level to 5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
b007284857
commit
103a47e134
|
@ -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)
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue