Skip to content

Commit 5b45f02

Browse files
committed
refactor: new ecpay sdk
1 parent c0eaa61 commit 5b45f02

File tree

86 files changed

+101
-22824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+101
-22824
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [ '5.6', '7.0', '7.1','7.2', '7.3', '7.4' ]
12+
php: [ '5.6', '7.0', '7.1','7.2', '7.3', '7.4', '8.0', '8.1' ]
1313
stability: [ prefer-stable ]
1414

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

3636
- name: Execute tests
37-
continue-on-error: ${{ matrix.php > 8 }}
37+
continue-on-error: ${{ matrix.php <= 7.0 }}
3838
run: vendor/bin/phpunit --verbose

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ php:
55
- 7.0
66
- 7.1
77
- 7.2
8+
- 7.3
9+
- 7.4
10+
- 8.0
11+
- 8.1
812

913
matrix:
1014
include:

composer.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@
1414
}
1515
],
1616
"require": {
17-
"omnipay/common": "^3.0"
17+
"omnipay/common": "^3.0",
18+
"ecpay/sdk": "^1.1"
1819
},
1920
"require-dev": {
2021
"roave/security-advisories": "dev-latest",
21-
"omnipay/tests": "^3.0",
22+
"omnipay/tests": "^3.0|^4.0",
2223
"squizlabs/php_codesniffer": "^3"
2324
},
2425
"autoload": {
25-
"files": [
26-
"src/Autoload.php"
27-
],
2826
"psr-4": {
2927
"Omnipay\\ECPay\\": "src/"
3028
}

lib/ECPayAIO_PHP/AioSDK/README.md

-27
This file was deleted.

lib/ECPayAIO_PHP/AioSDK/example/sample_ATM_CreateOrder.php

-68
This file was deleted.

lib/ECPayAIO_PHP/AioSDK/example/sample_All_CreateOrder.php

-65
This file was deleted.

lib/ECPayAIO_PHP/AioSDK/example/sample_AndroidPay_CreateOrder.php

-65
This file was deleted.

lib/ECPayAIO_PHP/AioSDK/example/sample_BARCODE_CreateOrder.php

-74
This file was deleted.

0 commit comments

Comments
 (0)