Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 863 Bytes

README.markdown

File metadata and controls

18 lines (11 loc) · 863 Bytes

This version is out of date. Check http://github.com/wimg/PHPCompatibility for the new version

PHP 5.3 Compatibility Coding Standard for PHP_CodeSniffer

This is a set of sniffs for PHP_CodeSniffer that checks for PHP 5.3 compatibility.

Installation

  • Install PHP_CodeSniffer with pear install PHP_CodeSniffer (PHP_CodeSniffer 1.3 or later is required). If pear installs PHP_CodeSniffer 1.2.x, use pear install PHP_CodeSniffer-alpha
  • Checkout this repository as PHP53Compatibility into the PHP/CodeSniffer/Standards directory.
  • Use the coding standard with phpcs --standard=PHP53Compatibility.

More information can be found on Wim Godden's blog.