forked from Adgoal/ValueObject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
17 lines (14 loc) · 1.12 KB
/
phpstan.neon
File metadata and controls
17 lines (14 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
includes:
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
ignoreErrors:
- '#Call to method PHPUnit\\Framework\\Assert::assertSame\(\) with .IPv.. and AdgoalCommon\\ValueObject\\Web\\IPAddressVersion will always evaluate to false\.#'
- '#Parameter \#1 \$value of class AdgoalCommon\\ValueObject\\Geography\\Latitude constructor expects float, string given.#'
- '#Parameter \#1 \$value of class AdgoalCommon\\ValueObject\\Geography\\Longitude constructor expects float, string given.#'
- '#Parameter \#1 \$value of class AdgoalCommon\\ValueObject\\Number\\Real constructor expects float, string given.#'
- '#Parameter \#1 \$value of class AdgoalCommon\\ValueObject\\StringLiteral\\StringLiteral constructor expects string, int given.#'
- '#Call to an undefined static method.*#'
- '#Static call to instance method.*#'
- '#Parameter \#1 \$value of class AdgoalCommon\\ValueObject\\Number\\Integer constructor expects int, float given.#'
- '#PHPDoc tag \@param for parameter $value with type float|int is not subtype of native type float\.#'