Skip to content

Commit

Permalink
refactor: new ecpay sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Jan 26, 2022
1 parent c0eaa61 commit 5b45f02
Show file tree
Hide file tree
Showing 86 changed files with 101 additions and 22,824 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ '5.6', '7.0', '7.1','7.2', '7.3', '7.4' ]
php: [ '5.6', '7.0', '7.1','7.2', '7.3', '7.4', '8.0', '8.1' ]
stability: [ prefer-stable ]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand All @@ -34,5 +34,5 @@ jobs:
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress ${{ matrix.flags }}

- name: Execute tests
continue-on-error: ${{ matrix.php > 8 }}
continue-on-error: ${{ matrix.php <= 7.0 }}
run: vendor/bin/phpunit --verbose
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1

matrix:
include:
Expand Down
8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@
}
],
"require": {
"omnipay/common": "^3.0"
"omnipay/common": "^3.0",
"ecpay/sdk": "^1.1"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"omnipay/tests": "^3.0",
"omnipay/tests": "^3.0|^4.0",
"squizlabs/php_codesniffer": "^3"
},
"autoload": {
"files": [
"src/Autoload.php"
],
"psr-4": {
"Omnipay\\ECPay\\": "src/"
}
Expand Down
27 changes: 0 additions & 27 deletions lib/ECPayAIO_PHP/AioSDK/README.md

This file was deleted.

68 changes: 0 additions & 68 deletions lib/ECPayAIO_PHP/AioSDK/example/sample_ATM_CreateOrder.php

This file was deleted.

65 changes: 0 additions & 65 deletions lib/ECPayAIO_PHP/AioSDK/example/sample_All_CreateOrder.php

This file was deleted.

65 changes: 0 additions & 65 deletions lib/ECPayAIO_PHP/AioSDK/example/sample_AndroidPay_CreateOrder.php

This file was deleted.

74 changes: 0 additions & 74 deletions lib/ECPayAIO_PHP/AioSDK/example/sample_BARCODE_CreateOrder.php

This file was deleted.

Loading

0 comments on commit 5b45f02

Please sign in to comment.