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

Explicitly recommend v0.4.1+ of the DealerDirect Composer plugin #1077

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 1, 2017

Version 0.4.0 of the DealerDirect Composer plugin registers each standard individually as if they were root-directory standards, not a collection of standards, which exposes a bug in PHPCS 3.x.

Refs:

@jrfnl jrfnl added this to the 0.13.0 milestone Aug 1, 2017
@jrfnl jrfnl requested a review from GaryJones August 1, 2017 04:51
GaryJones
GaryJones previously approved these changes Aug 1, 2017
@frenck
Copy link

frenck commented Aug 1, 2017

PHPCSStandards/composer-installer#33 is fixed, closed and solved.

I've released version v0.4.1 of the plugin, which should make this PR obsolete?

@GaryJones GaryJones dismissed their stale review August 1, 2017 13:33

Redundant, now that 0.4.1 of the DealerDirect plugin has solved the immediate issue.

Version 0.4.0 of the DealerDirect Composer plugin registers each standard individually as if they were root-directory standards, not a collection of standards which exposes a bug in PHPCS 3.x.

Refs:
* squizlabs/PHP_CodeSniffer/pull/1581
* PHPCSStandards/composer-installer/issues/33
@jrfnl jrfnl changed the title Explicitly recommend v0.3.x of the DealerDirect Composer plugin Explicitly recommend v0.4.1+ of the DealerDirect Composer plugin Aug 1, 2017
@jrfnl
Copy link
Member Author

jrfnl commented Aug 1, 2017

@GaryJones @frenck I've updated the PR to explicitly recommend version 0.4.1+

@jrfnl jrfnl force-pushed the feature/recommend-dealerdirect-v0.3 branch from c71684e to 4f41c4b Compare August 1, 2017 15:16
@GaryJones GaryJones merged commit abcf6a9 into develop Aug 1, 2017
@GaryJones GaryJones deleted the feature/recommend-dealerdirect-v0.3 branch August 1, 2017 18:25
@jrfnl
Copy link
Member Author

jrfnl commented Aug 1, 2017

@GaryJones @JDGrimes Does this change warrant an entry in the Changelog PR #1058 ? Or is it enough that Composer users will see this when they run Composer ?

@@ -65,7 +65,7 @@ For the convenience of using `phpcs` as a global command, you may want to add th
When installing the WordPress Coding Standards as a dependency in a larger project, the above mentioned step 3 will not be executed automatically.

There are two actively maintained Composer plugins which can handle the registration of standards with PHP_CodeSniffer for you:
* [composer-phpcodesniffer-standards-plugin](https://github.com/higidi/composer-phpcodesniffer-standards-plugin)
* [composer-phpcodesniffer-standards-plugin](https://github.com/higidi/composer-phpcodesniffer-standards-plugin):"^0.4.1"
Copy link

Choose a reason for hiding this comment

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

@jrfnl You've added the version restriction in the documentation (README.md) to the wrong plugin.

Copy link
Member Author

Choose a reason for hiding this comment

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

@frenck Oh darn it! Thanks for catching that. Will fix this straight away.

Copy link
Member Author

Choose a reason for hiding this comment

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

See #1078 - I would merge it straight away, but for the fact that at least one person other than the pullee has to approve it 😬

@JDGrimes
Copy link
Contributor

JDGrimes commented Aug 1, 2017

@jrfnl I'm indifferent to whether or not we note this in the changelog.

@GaryJones
Copy link
Member

No need to mention it in our change log. Someone can dig into the DealerDirect plugin issues if they want to know the reason we happen to recommend a particular version in the Readme.

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.

4 participants