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

Added instanceof check to prevent root package from being installed #21

Merged
merged 3 commits into from
Mar 16, 2017
Merged

Conversation

bastianschwarz
Copy link
Contributor

Proposed Changes

The root package needs a different install path (since it's not really installed, it's already there) so right now the install fails. The instance of check prevents the package from being installed if the package has the RootPackageInterface.

Related Issues

Fix for #19

I had some spare minutes and wanted to continue my sniff so I just fixed it online on Github so I won't mess up the formatting.

Ignoring root package when installing so the plugin will work again when installed into a code sniff package
Documentation
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.

Looks good.

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