File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,10 @@ public function generateFileReport(
125
125
}//end foreach
126
126
}//end foreach
127
127
128
+ echo str_repeat ('- ' , $ width ).PHP_EOL ;
129
+ echo 'UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY ' .PHP_EOL ;
128
130
echo str_repeat ('- ' , $ width ).PHP_EOL .PHP_EOL ;
131
+
129
132
return true ;
130
133
131
134
}//end generateFileReport()
Original file line number Diff line number Diff line change @@ -163,6 +163,9 @@ public function generate(
163
163
echo str_repeat ('- ' , $ width ).PHP_EOL ;
164
164
echo 'A TOTAL OF ' .($ totalErrors + $ totalWarnings ).' SNIFF VIOLATION(S) ' ;
165
165
echo 'WERE FOUND IN ' .count ($ this ->_sourceCache ).' SOURCE(S) ' .PHP_EOL ;
166
+
167
+ echo str_repeat ('- ' , $ width ).PHP_EOL ;
168
+ echo 'UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY ' .PHP_EOL ;
166
169
echo str_repeat ('- ' , $ width ).PHP_EOL .PHP_EOL ;
167
170
168
171
if ($ toScreen === true
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ public function generate(
118
118
echo 'AND ' .$ totalWarnings .' WARNING(S) ' ;
119
119
120
120
echo 'WERE FOUND IN ' .$ totalFiles .' FILE(S) ' .PHP_EOL ;
121
+
122
+ echo str_repeat ('- ' , $ width ).PHP_EOL ;
123
+ echo 'UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY ' .PHP_EOL ;
121
124
echo str_repeat ('- ' , $ width ).PHP_EOL .PHP_EOL ;
122
125
123
126
if ($ toScreen === true
Original file line number Diff line number Diff line change @@ -223,6 +223,9 @@ public function generate(
223
223
echo str_repeat ('- ' , $ width ).PHP_EOL ;
224
224
echo 'A TOTAL OF ' .$ errorsShown .' SNIFF VIOLATION(S) ' ;
225
225
echo 'WERE COMMITTED BY ' .count ($ this ->_authorCache ).' AUTHOR(S) ' .PHP_EOL ;
226
+
227
+ echo str_repeat ('- ' , $ width ).PHP_EOL ;
228
+ echo 'UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY ' .PHP_EOL ;
226
229
echo str_repeat ('- ' , $ width ).PHP_EOL .PHP_EOL ;
227
230
228
231
if ($ toScreen === true
You can’t perform that action at this time.
0 commit comments