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

Prevent named arguments runtime failure #1509

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

janedbal
Copy link
Contributor

This is a followup of #1508. As we fail hard upon named argument usage during runtime, I think we should also fail within CI (PHPStan / Psalm analysis) to mitigate the risk of missing testcase and failing in production.

See playground: https://phpstan.org/r/f166adcf-c05c-47d5-ae9a-1e638043d186

@janedbal janedbal requested a review from tillkruss as a code owner February 12, 2025 09:30
@tillkruss tillkruss merged commit b196809 into predis:v2.x Feb 12, 2025
66 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants