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

Tests: add new PlayNiceWithScriptsTest #169

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 5, 2022

Proposed Changes

This new test class tests that the plugin does not block other post install/update scripts from running.

I have confirmed that this test as-is would fail in combination with the 0.6.0 and 0.6.1 versions of the plugin and would pass with 0.5.0, 0.6.2 and current.
For confirmation see this build against 0.6.0: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/actions/runs/1787983161 (only run against Composer 1 as 0.6.0 was not compatible with Composer 2 yet).

Notes:

  • This test is about Composer and the plugin, so does not need to be tested against multiple PHPCS versions.
  • The behaviour also shouldn't differ between a global vs local Composer install, so only testing one type.

Related Issues

This test class covers the following bug previously reported:

Related to #92

This new test class tests that the plugin does not block other post install/update scripts from running.

I have confirmed that this test as-is would fail in combination with the `0.6.0` and `0.6.1` versions of the plugin and would pass with `0.5.0`, `0.6.2` and current.
For confirmation see this build against `0.6.0`: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/actions/runs/1787983161 (only run against Composer 1 as `0.6.0` was not compatible with Composer 2 yet).

Notes:
* This test is about Composer and the plugin, so does not need to be tested against multiple PHPCS versions.
* The behaviour also shouldn't differ between a global vs local Composer install, so only testing one type.

This test class covers the following bug previously reported:
* Dealerdirect/phpcodesniffer-composer-installer PR 105
@jrfnl jrfnl requested a review from a team March 5, 2022 16:17
@Potherca Potherca merged commit d2b0d40 into master Apr 18, 2022
@Potherca Potherca deleted the feature/tests-add-playnicewithscripts-test branch April 18, 2022 10:12
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.

2 participants