Skip to content

Commit

Permalink
PHP8 Compatibility testing
Browse files Browse the repository at this point in the history
Updated composer.json for php 8 compatibility testing
  • Loading branch information
effgarces committed Sep 13, 2021
1 parent 0f7d1c1 commit df52df6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"autoload": {},
"require-dev": {
"kint-php/kint": "^3.3",
"kint-php/kint-smarty": "^1.0"
"kint-php/kint-smarty": "^1.0",
"squizlabs/php_codesniffer": "^3.6",
"phpcompatibility/php-compatibility": "^9.3"
},
"require" : {
"php" : ">=7.3"
Expand All @@ -16,6 +18,7 @@
"test": [
"./tools/phpunit",
"@lint"
]
],
"sniffer:php8": "phpcs -p ./ --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0"
}
}

0 comments on commit df52df6

Please sign in to comment.