PHP_CodeSniffer 1.3.0a1 released
15 JulPHP_CodeSniffer version 1.3.0 alpha 1 has just been uploaded to PEAR and is now available to install. There have been some major architectural changes in this version, including a complete rework of the way custom standards are written. Some the highlights in this release are:
- All CodingStandard.php files have been replaced by ruleset.xml files
- A new Git Blame report contributed by Ben Selby
- Support for PHP_Timer, if you have it installed
- Improved support for namespaces
- Improved JavaScript tokenizer support
New features have been (mostly) documented and will be available on the PHP_CodeSniffer documentation page once the documentation regenerates over the weekend. Documentation for custom standards still needs to be re-written, but you can read more about how to write custom standards with 1.3.0a1 in a previous blog post.
You can view the full changelog on the PHP_CodeSniffer download page.