Skip to content

Fix /lib/ ignore ruleset #105

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 1 commit into from
Dec 18, 2018
Merged

Fix /lib/ ignore ruleset #105

merged 1 commit into from
Dec 18, 2018

Conversation

Rud5G
Copy link
Contributor

@Rud5G Rud5G commented Dec 18, 2018

See #81 , the expected behaviour is: ignoring the '/lib/* directory
the relative path is matched without the starting directory separator.
see https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Filters/Filter.php#L221
hence the removal of the starting /

See magento#81 , the expected behaviour is: ignoring the '/lib/* directory
the relative path is matched without the starting directory separator.
see https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Filters/Filter.php#L221
hence the removal of the starting `/`
@lenaorobei
Copy link
Contributor

@Rud5G thank you fo the contribution!

@lenaorobei lenaorobei merged commit 2230486 into magento:master Dec 18, 2018
@Rud5G Rud5G deleted the patch-1 branch December 18, 2018 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants