-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpstan.neon
25 lines (25 loc) · 963 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
paths:
- uri
- components
- interfaces
ignoreErrors:
- message: '#Cannot cast mixed to string.#'
path: interfaces/IPv4/BCMathCalculator.php
- message: '#Cannot cast mixed to string.#'
path: interfaces/IPv4/NativeCalculator.php
- message: '#function gmp_(.*)? expects (GMP|int)#'
path: interfaces/IPv4/GMPCalculator.php
- identifier: missingType.iterableValue
- message: '#Variable method call on League\\Uri\\Contracts\\UriInterface.#'
path: components/Modifier.php
- message: '#Variable method call on Psr\\Http\\Message\\UriInterface.#'
path: components/Modifier.php
- '#Attribute class Deprecated does not exist.#'
reportUnmatchedIgnoredErrors: true
treatPhpDocTypesAsCertain: false