diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100644 index 0000000..d4cfdc7 --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,7 @@ +parameters: + ignoreErrors: + - + message: '#^Method AssoConnect\\PHPPercent\\Percent\:\:toRatio\(\) cannot have float as its return type \- floats are not allowed\.$#' + identifier: float.type + count: 1 + path: src/Percent.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 6b7abda..66a3ee9 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,9 +1,8 @@ parameters: - level: 8 paths: - src/ - tests/ + includes: - - vendor/phpstan/phpstan-phpunit/extension.neon - - vendor/phpstan/phpstan-phpunit/rules.neon - - vendor/phpstan/phpstan-strict-rules/rules.neon + - vendor/assoconnect/php-quality-config/phpstan.extension.neon + - phpstan-baseline.neon