Skip to content

Commit

Permalink
Includes PHP 8+ compatibility check composer script.
Browse files Browse the repository at this point in the history
This is an optional commit. It provides tools to help with compatibility checks for PHP 8+.

Ref recurly#637
  • Loading branch information
Pablo Castro authored and pabloolvcastro committed Nov 1, 2023
1 parent 44ebec6 commit 8774be9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,25 @@
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "9.*"
"phpunit/phpunit": "9.*",
"squizlabs/php_codesniffer": "3.*",
"phpcsstandards/phpcsutils": "@alpha",
"phpcompatibility/php-compatibility": "dev-develop"
},
"autoload": {
"classmap": ["lib"]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
},
"scripts": {
"compatibility": "phpcs --extensions=php --severity=1 --standard=PHPCompatibility --runtime-set testVersion 8.1- lib Tests"
}
}

0 comments on commit 8774be9

Please sign in to comment.