Skip to content

Commit eb5a7ae

Browse files
authored
Merge pull request #13 from flexsim/upgrade-soap-client-to-v3
Upgrade soap client to v3
2 parents df9b1da + 4bd958b commit eb5a7ae

802 files changed

Lines changed: 6422 additions & 5786 deletions

File tree

Some content is hidden

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

.github/workflows/run-tests.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.2, 8.1]
17-
laravel: [9.*, 10.*]
16+
php: [8.3]
17+
laravel: [10.*, '11.*']
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20-
- laravel: 9.*
21-
testbench: 7.*
22-
carbon: ^2.53.1
2320
- laravel: 10.*
2421
testbench: 8.*
25-
carbon: ^2.63
22+
- laravel: 11.*
23+
testbench: 9.*
2624
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2725

2826
steps:
@@ -43,7 +41,7 @@ jobs:
4341
4442
- name: Install dependencies
4543
run: |
46-
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
44+
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4745
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4846
4947
- name: List Installed Dependencies

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ echo $flexnetOperations->echoPhrase('Hello, Flexsim!');
4444
# Type Generation
4545

4646
1. Fix types in wsdl files
47-
1. ProductPackagineService
48-
- featureBundlesListType - add minOccurs="0" to the "featureBundle" property
49-
- featuresListType - add minOccurs="0" to the "feature" property
50-
- getProductRelationshipsResponseType - add minOccurs="0" to the "relationship" property
51-
2. LicenseService
52-
- fulfillmentHistoryDetailsType - add minOccurs="0" to the "record" property
5347

48+
1. ProductPackagineService
49+
- featureBundlesListType - add minOccurs="0" to the "featureBundle" property
50+
- featuresListType - add minOccurs="0" to the "feature" property
51+
- getProductRelationshipsResponseType - add minOccurs="0" to the "relationship" property
52+
2. LicenseService
53+
- fulfillmentHistoryDetailsType - add minOccurs="0" to the "record" property
5454

5555
2. Normalize Extension types in the wsdl file by extracting them from the base type into the child type
5656
3. Run the flexnet WSDL file through the xml to json tool here: https://codebeautify.org/xmlviewer
@@ -97,8 +97,8 @@ Please review [our security policy](../../security/policy) on how to report secu
9797

9898
## Credits
9999

100-
- [Cole Shirley](https://github.com/cole.shirley)
101-
- [All Contributors](../../contributors)
100+
- [Cole Shirley](https://github.com/cole.shirley)
101+
- [All Contributors](../../contributors)
102102

103103
## License
104104

composer.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1",
19+
"php": "^8.3",
2020
"guzzlehttp/guzzle": "^7.2",
21-
"illuminate/contracts": "^9.0|^10.0",
22-
"phpro/soap-client": "^2.4",
21+
"illuminate/contracts": "^10.0|^11.0",
22+
"phpro/soap-client": "^3.0",
2323
"spatie/laravel-package-tools": "^1.13.0"
2424
},
2525
"require-dev": {
2626
"laravel/pint": "^1.0",
27-
"nunomaduro/collision": "^6.0",
28-
"orchestra/testbench": "^7.0|^8.0",
29-
"pestphp/pest": "^1.21",
30-
"pestphp/pest-plugin-laravel": "^1.4",
31-
"phpunit/phpunit": "^9.5|^10.0",
27+
"orchestra/testbench": "^8.0|^9.0",
28+
"pestphp/pest": "^2.0",
29+
"pestphp/pest-plugin-laravel": "^2.0",
3230
"spatie/laravel-ray": "^1.26"
3331
},
3432
"autoload": {

entitlementOrderService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
->setClassMapName('EntitlementOrderServiceClassmap')
2424
->setClassMapNamespace('Flexnet\\EntitlementOrderService')
2525
->setRuleSet(new RuleSet([
26-
new Rules\AssembleRule(new Assembler\ClassMapAssembler()),
27-
new Rules\AssembleRule(new Assembler\ClientConstructorAssembler()),
28-
new Rules\AssembleRule(new Assembler\ClientMethodAssembler()),
26+
new Rules\AssembleRule(new Assembler\ClassMapAssembler),
27+
new Rules\AssembleRule(new Assembler\ClientConstructorAssembler),
28+
new Rules\AssembleRule(new Assembler\ClientMethodAssembler),
2929
]))
3030
->addRule(new Rules\AssembleRule(new FlexnetAssembler\PropertyAssembler(__DIR__.'/entitlementOrderService.json')))
3131
->addRule(new Rules\AssembleRule(new FlexnetAssembler\ConstructorAssembler(
@@ -41,7 +41,7 @@
4141
new Rules\IsRequestRule(
4242
$engine->getMetadata(),
4343
new Rules\MultiRule([
44-
new Rules\AssembleRule(new Assembler\RequestAssembler()),
44+
new Rules\AssembleRule(new Assembler\RequestAssembler),
4545
])
4646
)
4747
)

0 commit comments

Comments
 (0)