Skip to content

Commit a048d2c

Browse files
committed
Bump version to PHP5.6 add compatibility testing and test for 5.6-7.4 only
1 parent c98e749 commit a048d2c

File tree

4 files changed

+952
-399
lines changed

4 files changed

+952
-399
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
dist: trusty
22
language: php
33
php:
4-
- 5.4
5-
- 5.5
64
- 5.6
75
- 7.0
86
- 7.1
97
- 7.2
108
- 7.3
9+
- 7.4
1110
- nightly
1211
env:
1312
- COMPOSER_REQUIRE=""

composer.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,22 @@
1111
],
1212
"bin": ["bin/fetch-mf2", "bin/parse-mf2"],
1313
"require": {
14-
"php": ">=5.4.0"
14+
"php": ">=5.6.0"
1515
},
1616
"require-dev": {
1717
"phpunit/phpunit": "4.8.*",
1818
"phpdocumentor/phpdocumentor": "v2.8.4",
19-
"mf2/tests": "@dev"
19+
"mf2/tests": "@dev",
20+
"squizlabs/php_codesniffer": "^3.5",
21+
"dealerdirect/phpcodesniffer-composer-installer": "^0.6",
22+
"phpcompatibility/php-compatibility": "^9.3"
2023
},
24+
"scripts": {
25+
"install-codestandards": [
26+
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
27+
],
28+
"phpcs": "./vendor/bin/phpcs -p"
29+
},
2130
"autoload": {
2231
"files": ["Mf2/Parser.php"]
2332
},

0 commit comments

Comments
 (0)