Commit graph

24 commits

Author SHA1 Message Date
Max Semenik
210d9a402d Renamed syntaxChecker.php --> checkSyntax, our convention seems to prefer verbs. Also, fixed it to handle --modified with renamed files correctly :P 2010-02-24 17:21:48 +00:00
Chad Horohoe
f2fbf300be Inform user of parsekit/php -l usage, fix line breaks in output 2010-01-26 13:40:00 +00:00
Chad Horohoe
58f5fbfb5d Fix stupid r61199, unrelated changes checkin 2010-01-18 13:02:39 +00:00
Chad Horohoe
ddb837a505 Add bug # 2010-01-18 12:56:44 +00:00
Alexandre Emsenhuber
60d8c30d6d And while I'm a it: also ignore style checks for geshi 2010-01-03 15:27:25 +00:00
Alexandre Emsenhuber
ca1cf18121 Let's use the variables introduced in r59758 :) 2010-01-03 15:02:55 +00:00
Max Semenik
a6cda4b42b Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) 2009-12-05 15:03:20 +00:00
Chad Horohoe
316efc49b7 Followup r59731: Make it opt-out instead of opt-in 2009-12-04 15:49:06 +00:00
Chad Horohoe
d77bf01641 Put an option on checking for non-syntax errors 2009-12-04 14:38:43 +00:00
Max Semenik
f77eac652b Checking images for syntax errors can yield funky results:) 2009-11-18 17:57:32 +00:00
Max Semenik
cb961b15cb syntaxChecker.php:
* Renamed --file to --path and extended its functionality to check entire directoriesof source files
* Added option to load file list from a given file
* Since this file wasn't mentioned in release notes, rewrote my line about its expansion to cover that script in general
2009-11-17 18:57:35 +00:00
Max Semenik
21e747a726 syntaxChecker: added option --modified to check only modified or added files within a SVN repo 2009-11-17 17:26:19 +00:00
Max Semenik
e89a1a8f60 syntaxChecker.php:
* added LocalSettings.php and AdminSettings.php (if present) to check list
* added option --file <filename> to quickly check one particular file
2009-11-14 11:47:15 +00:00
Max Semenik
2580036531 Now syntaxChecker.php checks for typical coding errors such as BOMSs and trailing ?> 2009-11-13 22:18:32 +00:00
Alexandre Emsenhuber
11b7e2842b Use wfEscapeShellArg() so that the script works correctly when paths contain whitespaces 2009-09-12 10:19:56 +00:00
Alexandre Emsenhuber
d076f7e274 disabled ParseKit on PHP 5.3+, it's broken and throws "Cannot redeclare class/function" in about evry file 2009-08-24 15:08:58 +00:00
Brion Vibber
a287773f46 newline at end of output :) 2009-08-19 05:08:17 +00:00
Chad Horohoe
bfe0fbebf4 Redo r54644. php -l still sucks, but some people don't have parsekit. So let's support both :) 2009-08-19 00:46:18 +00:00
Brion Vibber
61e30dc181 Revert r54644 to syntaxChecker.php "Use parsekit instead. php -l sucks."
ParseKit is an external PECL module which isn't super easy to install. Don't want to rely on something like that for tests we want everyone to be able to run prior to checkin...
2009-08-10 20:36:37 +00:00
Chad Horohoe
3fbd92a71c doc 2009-08-10 17:20:18 +00:00
Alexandre Emsenhuber
7fb21fa102 findhooks and syntaxChecker don't need DB access :) 2009-08-09 13:31:15 +00:00
Chad Horohoe
c489b792ec Use parsekit instead. php -l sucks. 2009-08-08 23:13:03 +00:00
Chad Horohoe
cd4e864883 Keep track of failures and tweak final output 2009-08-07 04:29:04 +00:00
Chad Horohoe
ab475b2b82 Basic syntax checker. Needs to not be slow and support uploading to CodeReview. 2009-08-07 04:19:09 +00:00