Skip to content
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

Configure phpstan to not complain about safety checks #1461

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

stof
Copy link
Member

@stof stof commented Jun 23, 2023

Based on the discussion in #1417 (comment), it is expected that the code performs safety checks even though the phpdoc describes a precise type.

Instead of ignoring errors (which might also ignore actual errors where the condition is useless), this configures phpstan to operate in such mode (thanks to the updated version of phpstan)

@stof stof merged commit c826df1 into async-aws:master Jun 23, 2023
14 checks passed
@stof stof deleted the allow_safety_checks branch June 23, 2023 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants