PHPCSStandards / composer-installer

Composer installer for PHP_CodeSniffer coding standards
https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer
MIT License
549 stars 36 forks source link

Tests: add new `PlayNiceWithScriptsTest` #169

Closed jrfnl closed 2 years ago

jrfnl commented 2 years ago

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:

Related Issues

This test class covers the following bug previously reported:

Related to #92