classes/phing/tasks/ext/PhpCodeSnifferTaskFormatterElement.php
public function parsingComplete()
    {
        if (empty($this->type)) {
            throw new BuildException("Format missing required 'type' attribute.");
        }
        if ($this->useFile && empty($this->outfile)) {
            throw new BuildException("Format requires 'outfile' attribute when 'useFile' is true.");
        }
    }
public function parsingComplete()
    {
        if (empty($this->type)) {
            throw new BuildException("Format missing required 'type' attribute.");
        }
        if ($this->useFile && empty($this->outfile)) {
            throw new BuildException("Format requires 'outfile' attribute when 'useFile' is true.");
        }
    }
public function parsingComplete ( ) { if ( empty ( $ this -> type ) ) { throw new BuildException ( "Format missing required 'type' attribute." ) ; } if ( $ this -> useFile && empty ( $ this -> outfile ) ) { throw new BuildException ( "Format requires 'outfile' attribute when 'useFile' is true." ) ; } }
Validate config.
Validate config .