src/Textpattern/Composer/Installer/Textpattern/Validate.php
public function isValidConfig()
    {
        $missing = [];

        foreach ($this->required as $required) {
            if (!array_key_exists($required, $this->txpcfg)) {
                $missing[] = $required;
            }
        }

        if ($missing) {
            throw new \InvalidArgumentException(
                'Textpattern installation missing config values: '.implode(', ', $missing)
            );
        }
    }
public function isValidConfig()
    {
        $missing = [];

        foreach ($this->required as $required) {
            if (!array_key_exists($required, $this->txpcfg)) {
                $missing[] = $required;
            }
        }

        if ($missing) {
            throw new \InvalidArgumentException(
                'Textpattern installation missing config values: '.implode(', ', $missing)
            );
        }
    }
public function isValidConfig ( ) { $ missing = [ ] ; foreach ( $ this -> required as $ required ) { if ( ! array_key_exists ( $ required , $ this -> txpcfg ) ) { $ missing [ ] = $ required ; } } if ( $ missing ) { throw new \ InvalidArgumentException ( 'Textpattern installation missing config values: ' . implode ( ', ' , $ missing ) ) ; } }
Checks that the config contains all needed options.

@throws \InvalidArgumentException
Checks that the config contains all needed options .