Skip to content

Fix CS #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>, array<string, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#'
- '#^Parameter \#4 \$headers of class AsyncAws\\Core\\Request constructor expects array<string>, array<string, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#'
- '#^Parameter \#1 \$input of class AsyncAws\\[^\\]+\\ValueObject\\[^ ]+ constructor expects array\([^\)]+\), array\([^\)]+\) given\.#'