Changeset 677

Show
Ignore:
Timestamp:
05/27/07 22:45:23 (1 year ago)
Author:
schst
Message:

Use class constants, added info, if no CS issues have been found.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/info/phing/tasks/stubCheckStyleTask.php

    r676 r677  
    8686                    throw $be; 
    8787                } else { 
    88                     $this->log($be->getMessage(), $this->quiet ? PROJECT_MSG_VERBOSE : PROJECT_MSG_WARN); 
     88                    $this->log($be->getMessage(), $this->quiet ? Project::MSG_VERBOSE : Project::MSG_WARN); 
    8989                } 
    9090            } 
     
    9393            throw new BuildException('Please fix coding style issues.'); 
    9494        } 
     95        if ($error === false) { 
     96            $this->log('No coding style issues found.', Project::MSG_INFO); 
     97        } 
    9598    } 
    9699}