-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docs: allow boolean values in the model for PHPStan #9276
Conversation
requires removal from phpstan-baseline.php |
@datamweb Will this solve the whole issue, or not? |
@michalsn In my opinion, it’s better to write a unit test for this, as I can’t practically verify the issue for all drivers. However, this can be handled through GitHub Actions to ensure proper verification. |
@datamweb I was under the impression that it was just a problem of setting allowed data types for PHPStan, which now treated booleans as an error. We already have tests for boolean values: https://github.com/codeigniter4/CodeIgniter4/blob/develop/tests/system/Database/Live/UpdateTest.php#L363 |
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.
Description
fix #9197
Checklist: