Index: trunk/phase3/maintenance/syntaxChecker.php |
— | — | @@ -49,7 +49,9 @@ |
50 | 50 | // ParseKit is broken on PHP 5.3+, disabled until this is fixed |
51 | 51 | $useParseKit = function_exists( 'parsekit_compile_file' ) && version_compare( PHP_VERSION, '5.3', '<' ); |
52 | 52 | |
53 | | - $this->output( "Checking syntax (this can take a really long time)...\n\n" ); |
| 53 | + $str = 'Checking syntax (using ' . ( $useParseKit ? |
| 54 | + 'parsekit)' : ' php -l, this can take a long time)' ); |
| 55 | + $this->output( $str ); |
54 | 56 | foreach( $this->mFiles as $f ) { |
55 | 57 | if( $useParseKit ) { |
56 | 58 | $this->checkFileWithParsekit( $f ); |
— | — | @@ -127,7 +129,7 @@ |
128 | 130 | return; |
129 | 131 | } |
130 | 132 | |
131 | | - $this->output( "Building file list..." ); |
| 133 | + $this->output( 'Building file list...', 'listfiles' ); |
132 | 134 | |
133 | 135 | // Only check files in these directories. |
134 | 136 | // Don't just put $IP, because the recursive dir thingie goes into all subdirs |
— | — | @@ -154,7 +156,7 @@ |
155 | 157 | $this->mFiles[] = "$IP/AdminSettings.php"; |
156 | 158 | } |
157 | 159 | |
158 | | - $this->output( "done.\n" ); |
| 160 | + $this->output( 'done.', 'listfiles' ); |
159 | 161 | } |
160 | 162 | |
161 | 163 | /** |