-
Notifications
You must be signed in to change notification settings - Fork 5
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
add rule 'declare_strict_types' => true #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a little description? 😉 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should only change the BedrockStreaming configuration, the other one are deprecated and this should encourage people to move on and update their project.
@valentin-claras he did not change the other configs, he only added "declare(strict_types=1)" to these files (maybe because he simply ran it looks good |
That's exactly what I did, but I understand there's no real point in updating deprecated files indeed ... 🤷🏼 |
56ff3db
to
e254b0b
Compare
Adding this rule via cs-fixer following a common decision (internal RFC).
This will prevent some oversights and help us to use php strict typing.