-
Notifications
You must be signed in to change notification settings - Fork 144
[CLEANUP] Always escape backslashes in strings #639
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
19fa907
to
441c698
Compare
This was done using the `string_implicit_backslashes` PHP-CS-Fixer rule.
441c698
to
9179703
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.
In some of the regex patterns with the PCRE_EXTENDED
modifier, the comments have become misaligned. Otherwise looks fine.
src/Property/KeyframeSelector.php
Outdated
)* | ||
)| | ||
(\d+%) # keyframe animation progress percentage (e.g. 50%) | ||
(\\d+%) # keyframe animation progress percentage (e.g. 50%) |
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.
I think the comment here neeeds moving to align with the others.
src/Property/Selector.php
Outdated
| | ||
(\:( # pseudo classes | ||
(\\:( # pseudo classes |
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.
Same here.
src/Property/Selector.php
Outdated
| | ||
\:{1,2}( # pseudo-elements | ||
\\:{1,2}( # pseudo-elements |
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.
And here.
Fixed the alignments and repushed. |
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.
Looks fine now.
This was done using the
string_implicit_backslashes
PHP-CS-Fixer rule.