Skip to content

Commit

Permalink
Update ci.yml, composer.json & .scrutinizer.yml
Browse files Browse the repository at this point in the history
To ci.yml add silverstripe cms, php-http/discovery, symfony/http-foundation, moneyphp/money.
To composer.json add php-http/guzzle7-adapter:^1, allowed plugins.
Add php version to .scrutinizer.yml.
  • Loading branch information
AntonyThorpe committed Dec 3, 2023
1 parent ab23d1f commit 9302a50
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -12,6 +12,8 @@ jobs:
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
with:
composer_require_extra:
ralouphie/getallheaders:^3.0.3
league/omnipay:^3.2.1
phpunit/phpunit:^9.5
symfony/http-foundation:^6.4.0
moneyphp/money:^4.3.0
silverstripe/installer:^5.1
silverstripe/recipe-cms:^5.1
2 changes: 2 additions & 0 deletions .scrutinizer.yml
@@ -1,6 +1,8 @@
inherit: true

build:
environment:
php: 8.1
nodes:
analysis:
tests:
Expand Down
18 changes: 14 additions & 4 deletions composer.json
Expand Up @@ -4,13 +4,23 @@
"type": "silverstripe-vendormodule",
"keywords": ["Silverstripe", "silvershop", "shop", "ecommerce", "bank deposit", "direct credit"],
"require": {
"silvershop/core": "dev-main",
"omnipay/manual": "^3.0.0"
"silvershop/core": "dev-main",
"omnipay/manual": "^3.0.0",
"silverstripe/cms": "^5.1"
},
"require-dev": {
"omnipay/dummy": "^3.0.0",
"omnipay/dummy": "dev-master",
"php-http/guzzle7-adapter": "^1",
"squizlabs/php_codesniffer": "^3.7.2"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/vendor-plugin": true,
"silverstripe/recipe-plugin": true,
"php-http/discovery": true
}
},
"autoload": {
"psr-4": {
"AntonyThorpe\\SilverShopBankDeposit\\": "src/"
Expand All @@ -23,7 +33,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "4.*-dev"
"dev-master": "5.*-dev"
}
},
"license": "MIT",
Expand Down

0 comments on commit 9302a50

Please sign in to comment.