Skip to content
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

revert confusing change #6597

Merged
merged 1 commit into from
Oct 5, 2021
Merged

revert confusing change #6597

merged 1 commit into from
Oct 5, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Oct 5, 2021

This was a confusing change made in a previous PR so I'm reverting that

@orklah orklah merged commit d8f42d7 into vimeo:master Oct 5, 2021
@orklah orklah deleted the fix-errors branch October 5, 2021 17:48
@@ -237,7 +237,7 @@ private function __construct(string $file_path, FunctionLike $stmt, ProjectAnaly
continue;
}

if ($char === '\\' || preg_match('/\w/', $char)) {
if ($chars[$i + 1] === '\\' || preg_match('/\w/', $char)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It was $chars[$i] I believe.

@orklah orklah mentioned this pull request Oct 5, 2021
@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants