diff options
Diffstat (limited to 'maintenance/jsparse.php')
-rw-r--r-- | maintenance/jsparse.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/maintenance/jsparse.php b/maintenance/jsparse.php index da6798e1..ceafc390 100644 --- a/maintenance/jsparse.php +++ b/maintenance/jsparse.php @@ -1,6 +1,6 @@ <?php /** - * Maintenance script to do test JavaScript validity parses using jsmin+'s parser + * Test JavaScript validity parses using jsmin+'s parser * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,11 +17,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script to do test JavaScript validity parses using jsmin+'s parser + * + * @ingroup Maintenance + */ class JSParseHelper extends Maintenance { var $errs = 0; @@ -35,7 +41,7 @@ class JSParseHelper extends Maintenance { if ( $this->hasArg() ) { $files = $this->mArgs; } else { - $this->maybeHelp( true ); // @fixme this is a lame API :) + $this->maybeHelp( true ); // @todo fixme this is a lame API :) exit( 1 ); // it should exit from the above first... } |