Skip to content

Commit

Permalink
allow running under PHP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed Nov 29, 2015
1 parent 6beb7e3 commit 2e588a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sudo: false
php:
- 5.5
- 5.6
- 7.0
- nightly
- hhvm

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "~5.5",
"php": "~5.5|~7.0",
"squizlabs/php_codesniffer": "~2.3.4"
},
"require-dev": {
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Automatic checks of this standard are implemented as sniffs for [PHP_CodeSniffer

These checks also include some code analysis tools, such as detecting unreachable code etc. These are not part of the standard, but should be helpful.

> Note that although the checks are allowed to run under PHP 7, the composition of CS Sniffs expects PHP 5 code. Please report any unexpected behavior in issues.
Stability
---------

Expand Down

0 comments on commit 2e588a3

Please sign in to comment.