protected function getFlags()
    {
        $ignore = '';
        if (count($this->ignore)) {
            $ignore = ' --ignore=' . implode(',', $this->ignore);
        }

        if (strpos($this->standard, '/') !== false) {
            $standard = ' --standard='.$this->directory.$this->standard;
        } else {
            $standard = ' --standard='.$this->standard;
        }

        $suffixes = '';
        if (count($this->suffixes)) {
            $suffixes = ' --extensions=' . implode(',', $this->suffixes);
        }

        return array($ignore, $standard, $suffixes);
    }
protected function getFlags()
    {
        $ignore = '';
        if (count($this->ignore)) {
            $ignore = ' --ignore=' . implode(',', $this->ignore);
        }

        if (strpos($this->standard, '/') !== false) {
            $standard = ' --standard='.$this->directory.$this->standard;
        } else {
            $standard = ' --standard='.$this->standard;
        }

        $suffixes = '';
        if (count($this->suffixes)) {
            $suffixes = ' --extensions=' . implode(',', $this->suffixes);
        }

        return array($ignore, $standard, $suffixes);
    }
protected function getFlags ( ) { $ ignore = '' ; if ( count ( $ this -> ignore ) ) { $ ignore = ' --ignore=' . implode ( ',' , $ this -> ignore ) ; } if ( strpos ( $ this -> standard , '/' ) !== false ) { $ standard = ' --standard=' . $ this -> directory . $ this -> standard ; } else { $ standard = ' --standard=' . $ this -> standard ; } $ suffixes = '' ; if ( count ( $ this -> suffixes ) ) { $ suffixes = ' --extensions=' . implode ( ',' , $ this -> suffixes ) ; } return array ( $ ignore , $ standard , $ suffixes ) ; }
Process options and produce an arguments string for PHPCS.
@return array
Process options and produce an arguments string for PHPCS .