src/Composer/Plugin.php
public function setConfigPath()
    {
        if ($this->getExtra(self::PACKAGE_NAME . '.auto-setting') === false) {
            $this->message('not setting config path, extra.' . self::PACKAGE_NAME . '.auto-setting is false', 'yellow');
            return;
        }
        $this->setExtra(self::PACKAGE_NAME . '.auto-setting', true);
        if ($this->getExtra('grumphp.config-default-path') !== self::DEFAULT_CONFIG_PATH) {
            $this->setExtra('grumphp.config-default-path', self::DEFAULT_CONFIG_PATH);
            $this->message('auto setting grumphp.config-default-path', 'green');
        }
    }
public function setConfigPath()
    {
        if ($this->getExtra(self::PACKAGE_NAME . '.auto-setting') === false) {
            $this->message('not setting config path, extra.' . self::PACKAGE_NAME . '.auto-setting is false', 'yellow');
            return;
        }
        $this->setExtra(self::PACKAGE_NAME . '.auto-setting', true);
        if ($this->getExtra('grumphp.config-default-path') !== self::DEFAULT_CONFIG_PATH) {
            $this->setExtra('grumphp.config-default-path', self::DEFAULT_CONFIG_PATH);
            $this->message('auto setting grumphp.config-default-path', 'green');
        }
    }
ACTIONS: