-
Notifications
You must be signed in to change notification settings - Fork 144
[TASK] Always use the strict version of in_array
& friends
#584
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
Conversation
We'll need some casts first (in a separate PR). |
f6f1163
to
4186cc9
Compare
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.
The comment re font-weight
needs changing or removing. Otherwise LGTM.
src/RuleSet/DeclarationBlock.php
Outdated
// Note: font weights should be integers, not floats. For now, we'll keep using floats. We will | ||
// drill down on this and fix it in https://github.com/MyIntervals/PHP-CSS-Parser/issues/612. |
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.
This comment needs changing (or removing), now that we have closed #612 on the basis that CSS treats all numerical values as a number
, regardless of whether they may be floating-point.
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.
Done.
4186cc9
to
7da54fb
Compare
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.
LG now. (Though I didn't notice any 'friends'.)
No description provided.