11 Commits

Author SHA1 Message Date
nicolasconnault
b79fe1899c MDL-19247 Few minor adjustments and cleanup of grade_category 2009-05-21 13:30:02 +00:00
nicolasconnault
7f2068f7e9 MDL-19247 Finished cleaning up Sniffer files 2009-05-21 10:07:32 +00:00
nicolasconnault
68a1cf5d93 MDL-19247 Cleaned up most of the sniffer files and adjusted some rules such as do { ... } while (); 2009-05-21 09:48:31 +00:00
nicolasconnault
cae4134c47 MDL-19247 Adjusted detection and cleaned up sniff files. 2009-05-21 03:53:28 +00:00
nicolasconnault
70020e5caf MDL-19247 Added detection of malformed package name in file phpdoc, and generation of appropriate package name based on file location 2009-05-20 19:01:42 +00:00
nicolasconnault
2178c7ada9 MDL-19247 Added detection of blank lines before control structures, plus other tidbits. 2009-05-20 14:09:26 +00:00
nicolasconnault
8cc92fb2e6 MDL-19247 Added detection of closing php tag, improved CLI tool and started clean up of Moodle Standard code. 2009-05-20 10:49:59 +00:00
nicolasconnault
84f1ffb8a2 MDL-19247 Reverted CodeSniffer.php and CLI.php to original state, and subclassed them in MoodleCodeSniffer.php and MoodleCLI.php in order to reproduce the small changes. Also updated runsniffer script. 2009-05-20 08:14:38 +00:00
moodler
e624cda83b CodeSniffer MDL-19247 I updated the README, moved and renamed phpcs => runsniffer script, and modifed some rules for line length and require statements 2009-05-20 06:35:46 +00:00
nicolasconnault
cf72e2dde3 MDL-19247 Minor adjustments to Moodle Coding Standard, mostly switching Errors to Warnings. Added a file to sniff out elseif declarations. Cleaned up grade/lib.php as an example (no more errors). 2009-05-19 21:17:54 +00:00
nicolasconnault
d35df1b54a MDL-19247 Added the PHP CodeSniffer tool and lib/thirdpartylibs.xml 2009-05-19 15:22:43 +00:00