Permalink
Browse files

fix typo ('files where checked' -> 'files were checked')

  • Loading branch information...
1 parent 846ca05 commit 024146002b883b061b0cf9cc428df4da7cf3254b @kenguest committed Apr 9, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 classes/phing/tasks/ext/PhpCodeSnifferTask.php
@@ -197,7 +197,7 @@ public function setTabWidth($width)
{
$this->tabWidth = (int)$width;
}
-
+
/**
* Sets file encoding
* @param string $encoding
@@ -301,7 +301,7 @@ public function setHaltonwarning($value)
{
$this->haltonwarning = $value;
}
-
+
/**
* Sets the skipversioncheck flag
* @param boolean $value
@@ -317,7 +317,7 @@ public function setSkipVersionCheck($value)
public function main() {
if (!class_exists('PHP_CodeSniffer')) {
@include_once 'PHP/CodeSniffer.php';
-
+
if (!class_exists('PHP_CodeSniffer')) {
throw new BuildException("This task requires the PHP_CodeSniffer package installed and available on the include path", $this->getLocation());
}
@@ -546,7 +546,7 @@ protected function outputCustomFormat($report) {
$totalErrors = $report['totals']['errors'];
$totalWarnings = $report['totals']['warnings'];
- $this->log(count($files) . ' files where checked', Project::MSG_INFO);
+ $this->log(count($files) . ' files were checked', Project::MSG_INFO);
if ($totalErrors > 0) {
$this->log($totalErrors . ' error' . ($totalErrors > 1 ? 's' : '') . ' detected', Project::MSG_ERR);
} else {

0 comments on commit 0241460

Please sign in to comment.