Skip to content

Conversation

dng-dev
Copy link
Contributor

@dng-dev dng-dev commented Aug 22, 2019

In composer Composer 1.9.0 2019-08-02 20:55:32 the env variable COMPOSER_DEV_MODE got been removed for post events. Please see the difference of the post and pre
hooks.
This happend in this commit

In composer Composer 1.9.0 2019-08-02 20:55:32 the env variable COMPOSER_DEV_MODE got been removed for post events. Please see the difference of the [post](https://github.com/composer/composer/blob/96ad0aa01fa49a39539c089ca4a1aa1a54cba98d/src/Composer/Installer.php#L321) and [pre](https://github.com/composer/composer/blob/96ad0aa01fa49a39539c089ca4a1aa1a54cba98d/src/Composer/Installer.php#L199) hooks. This happend [in this commit](composer/composer@4c4f516#diff-74425bc790838a69d0d16f06fc313edb)
"post-install-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
"post-install-cmd": [
"( [ -f vendor/bin/phpcs ] && [ -L vendor/bin/phpcs ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/) || true"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please investigate the possibility to avoid the use of || true here?

@lenaorobei lenaorobei added the needs update PR or issue needs update from the author label Sep 4, 2019
@lenaorobei
Copy link
Contributor

@dng-dev closing this PR due to inactivity. Please feel free to reopen if you are planning to continue working on it.

@lenaorobei lenaorobei closed this Sep 20, 2019
@lenaorobei lenaorobei deleted the dng-dev-patch-1-1 branch November 4, 2019 18:09
@lenaorobei lenaorobei restored the dng-dev-patch-1-1 branch November 4, 2019 18:09
@lenaorobei lenaorobei deleted the dng-dev-patch-1-1 branch August 18, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs update PR or issue needs update from the author Progress: review

2 participants