Skip to content

[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

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

oliverklee
Copy link
Collaborator

No description provided.

@oliverklee oliverklee self-assigned this Jun 19, 2024
@oliverklee oliverklee marked this pull request as draft June 19, 2024 06:45
@oliverklee
Copy link
Collaborator Author

We'll need some casts first (in a separate PR).

@oliverklee oliverklee force-pushed the task/strict-param-rule branch 3 times, most recently from f6f1163 to 4186cc9 Compare June 22, 2024 07:59
@oliverklee oliverklee marked this pull request as ready for review June 22, 2024 07:59
@oliverklee oliverklee requested review from JakeQZ and sabberworm June 22, 2024 07:59
Copy link
Collaborator

@JakeQZ JakeQZ left a 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.

Comment on lines 353 to 354
// 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.
Copy link
Collaborator

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@oliverklee oliverklee force-pushed the task/strict-param-rule branch from 4186cc9 to 7da54fb Compare June 29, 2024 07:36
@oliverklee oliverklee requested a review from JakeQZ June 29, 2024 07:36
Copy link
Collaborator

@JakeQZ JakeQZ left a 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'.)

@JakeQZ JakeQZ merged commit d6821b9 into main Jun 29, 2024
18 checks passed
@JakeQZ JakeQZ deleted the task/strict-param-rule branch June 29, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants