Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 589 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 589 Bytes

PHP PECL HTTP extension Compatibility Sniff for PHP_CodeSniffer

This is a sniff for PHP_CodeSniffer that checks for PHP PECL HTTP extension compatibility between 1.x and 2.x versions.

Installation

  • Install PHP_CodeSniffer with pear install PHP_CodeSniffer.
  • Checkout this repository as PHPHttpCompatibility into the PHP/CodeSniffer/Standards directory.
  • Use the coding standard with phpcs --standard=PHPHttpCompatibility