frenck / php-compatibility
This is a set of sniffs for PHP_CodeSniffer that checks for PHP version compatibility, composer compatible.
Installs: 16 669
Dependents: 10
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Type:phpcodesniffer-standard
pkg:composer/frenck/php-compatibility
Requires
- php: >=5.1.2
- ext-tokenizer: *
- squizlabs/php_codesniffer: ~2.0
Requires (Dev)
- satooshi/php-coveralls: dev-master
README
This repository is a mirror of the wimg/PHPCompatibility repository.
The wimg/PHPCompatibility has Composer compatibility issues, this repository fixes this, by adding the wimg/PHPCompatibility repository to a sub-directory using git subtree.
This repository only provides a composer.json package file and a update script.
Usage
Using Composer (preferred method):
composer require --dev "frenck/php-compatibility"
Or modify your composer.json to include frenck/php-compatibility in the require-dev sections:
{
"name": "acme/my-project",
"require": {
"…": "*"
},
"require-dev": {
"frenck/php-compatibility": "*"
}
}
The original code is not modified and automatically synced to this mirror every 15 minutes.