diff --git a/phpstan.neon.dist b/phpstan.neon.dist index cb3ca8a27..ad96ed9f6 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -20,11 +20,4 @@ parameters: - '#Ternary operator condition is always true\.#' - '#Negated boolean expression is always false\.#' - '#^PHPDoc tag @param has invalid value#' - - '#^PHPDoc tag @return with type AsyncAws\\[^\\]+\\Enum\\[^ ]+ is incompatible with native type string(\|null)?\.$#' - - '#^Method AsyncAws\\[^ ]+ should return string\|null but returns AsyncAws\\[^\\]+\\Enum\\[^\.]+\.$#' - - '#^Property AsyncAws\\[^ ]+ \(AsyncAws\\[^\\]+\\Enum\\[^\)]+\) does not accept string\|null\.$#' - - '#^Parameter \#3 ...\$args of function sprintf expects bool\|float\|int\|string\|null, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#' - - '#^Parameter \#1 \$value of static method AsyncAws\\[^\\]+\\Enum\\[^:]+::exists\(\) expects string, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#' - - '#^PHPDoc tag @(var|return) has invalid value \(list<[^:]+::\*>\): Unexpected token "::", expected .>. at offset \d+.$#' - - '#^Parameter \#3 \$query of class AsyncAws\\Core\\Request constructor expects array, array, array