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

Fixes #33. Changes the way the installed_paths are set. #34

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

frenck
Copy link
Contributor

@frenck frenck commented Aug 1, 2017

Proposed Changes

Changes the behavior of registering installed_paths in PHP_CodeSniffer 3.x. It will now work in the same way as was required for PHP_CodeSniffer 2.x. It will record the directory ABOVE the directory containing the coding standard. The only exception is when the root project itself provides the standard in the root of its project.

Related Issues

#33 Incorrect relative paths for WPCS

Changes the behavior of registering installed_paths in PHP_CodeSniffer 3.x. It will now work in the same way as was required for PHP_CodeSniffer 2.x. It will record the directory ABOVE the directory containing the coding standard. The only exception is when the root project itself provides the standard in the root of its project.
@brammittendorff-dd
Copy link
Contributor

Looks sane, you got my approve!

@frenck frenck merged commit b437eb3 into master Aug 1, 2017
@frenck frenck deleted the hotfix/change-installed-paths-behavior branch August 1, 2017 12:43
@frenck
Copy link
Contributor Author

frenck commented Aug 1, 2017

Thanks for reviewing @brammittendorff-dd!

Copy link
Member

@Potherca Potherca left a comment

Choose a reason for hiding this comment

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

Good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants