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:
	level: max
	paths:
		- uri
		- components
		- interfaces
		- polyfill
	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
		- '#Attribute class Deprecated does not exist.#'
		- '#deprecated class League\\Uri\\BaseUri#'
		- '#deprecated interface League\\Uri\\Contracts\\UriAccess#'
		- message: '#Call to deprecated method fromBaseUri\(\) of class#'
		  path: uri/FactoryTest.php
	reportUnmatchedIgnoredErrors: true
	treatPhpDocTypesAsCertain: false
