includes/phing/src/Tasks/PhpCodeSnifferConfigurationTask.php
public function setReports($reports)
    {
        $this->_reports = array();
        $token          = ' ,;';
        $report         = strtok($reports, $token);

        while ($report !== false) {
            $this->_reports[] = $reports;
            $report           = strtok($token);
        }

    }
public function setReports($reports)
    {
        $this->_reports = array();
        $token          = ' ,;';
        $report         = strtok($reports, $token);

        while ($report !== false) {
            $this->_reports[] = $reports;
            $report           = strtok($token);
        }

    }
public function setReports ( $ reports ) { $ this -> _reports = array ( ) ; $ token = ' ,;' ; $ report = strtok ( $ reports , $ token ) ; while ( $ report !== false ) { $ this -> _reports [ ] = $ reports ; $ report = strtok ( $ token ) ; } }
Sets the report formats to use.

@param string $reports A list of report types, delimited by spaces,
commas or semicolons.

@return void
Sets the report formats to use .