classes/phing/tasks/ext/pdepend/PhpDependTask.php
protected function validateLoggers()
    {
        foreach ($this->loggers as $logger) {
            if ($logger->getType() === '') {
                throw new BuildException('Logger missing required "type" attribute');
            }

            if ($logger->getOutfile() === null) {
                throw new BuildException('Logger requires "outfile" attribute');
            }
        }
    }
protected function validateLoggers()
    {
        foreach ($this->loggers as $logger) {
            if ($logger->getType() === '') {
                throw new BuildException('Logger missing required "type" attribute');
            }

            if ($logger->getOutfile() === null) {
                throw new BuildException('Logger requires "outfile" attribute');
            }
        }
    }
protected function validateLoggers ( ) { foreach ( $ this -> loggers as $ logger ) { if ( $ logger -> getType ( ) === '' ) { throw new BuildException ( 'Logger missing required "type" attribute' ) ; } if ( $ logger -> getOutfile ( ) === null ) { throw new BuildException ( 'Logger requires "outfile" attribute' ) ; } } }
Validates the available loggers

@throws BuildException
Validates the available loggers