src/PHPFormatter/Loader/ConfigLoader.php
public function loadConfigValue(
        $commandName,
        $configValue,
        $commandValue,
        $defaultValue
    ) {
        return array_key_exists($commandName, $configValue)
            ? ($configValue[$commandName] ?? '')
            : (!is_null($commandValue)
                ? $commandValue
                : $defaultValue);
    }
public function loadConfigValue(
        $commandName,
        $configValue,
        $commandValue,
        $defaultValue
    ) {
        return array_key_exists($commandName, $configValue)
            ? ($configValue[$commandName] ?? '')
            : (!is_null($commandValue)
                ? $commandValue
                : $defaultValue);
    }
public function loadConfigValue ( $ commandName , $ configValue , $ commandValue , $ defaultValue ) { return array_key_exists ( $ commandName , $ configValue ) ? ( $ configValue [ $ commandName ] ?? '' ) : ( ! is_null ( $ commandValue ) ? $ commandValue : $ defaultValue ) ; }
This method parses the config file, if exists, and determines the real
option value.

* If an option is defined as a command parameter, this will be used
* Otherwise, if an option is defined in the configuration file, this will
be used.
* Otherwise, default values will be used

If none of these is defined, then return null

@param string $commandName
@param mixed  $configValue
@param mixed  $commandValue
@param mixed  $defaultValue

@return mixed|null
This method parses the config file if exists and determines the real option value .