-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EWPP-4991: Ensure PHP8.3 compatibility. #85
Open
nagyad
wants to merge
5
commits into
2.x
Choose a base branch
from
EWPP-4991
base: 2.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,316
−1,096
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
224b496
EWPP-4991: Ensure PHP8.3 compatibility.
nagyad 46cd17a
EWPP-4991: Add NullableGetterAssembler and re-run code generation.
ademarco 85a46a9
EWPP-4991: Patch normalizer and re-run export.
ademarco c059f1e
EWPP-4991: Use CodeGeneratorEngineFactory.
ademarco 2fecd19
EWPP-4991: Add back getReference().
ademarco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,54 @@ | ||
name: ci | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
automated-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php_version: ["8.1", "8.2"] | ||
composer_command: ["composer install", "composer update --prefer-lowest"] | ||
php_version: ["8.1", "8.3"] | ||
composer_command: ["composer install"] | ||
env: | ||
PHP_VERSION: ${{ matrix.php_version }} | ||
steps: | ||
- name: clone | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- run: docker-compose up -d | ||
- name: build | ||
|
||
- name: Install Docker Compose | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y docker-compose | ||
|
||
- name: Start services with Docker Compose | ||
run: docker-compose up -d | ||
|
||
- name: Build dependencies | ||
run: docker-compose exec -T php ${{ matrix.composer_command }} | ||
- name: test | ||
|
||
- name: Run tests | ||
run: docker-compose exec -T php ./vendor/bin/phpunit | ||
|
||
code-sniffer: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php_version: ["8.1", "8.2"] | ||
php_version: ["8.1", "8.3"] | ||
env: | ||
PHP_VERSION: ${{ matrix.php_version }} | ||
steps: | ||
- name: clone | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- run: docker-compose up -d | ||
- name: build | ||
|
||
- name: Install Docker Compose | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y docker-compose | ||
|
||
- name: Start services with Docker Compose | ||
run: docker-compose up -d | ||
|
||
- name: Install dependencies | ||
run: docker-compose exec -T php composer install | ||
- name: test | ||
run: docker-compose exec -T php ./vendor/bin/grumphp run | ||
|
||
- name: Run code sniffer | ||
run: docker-compose exec -T php ./vendor/bin/grumphp run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php | ||
index 0f33a7f..76bcea5 100644 | ||
--- a/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php | ||
+++ b/src/Phpro/SoapClient/CodeGenerator/Util/Normalizer.php | ||
@@ -15,6 +15,7 @@ class Normalizer | ||
'any' => 'mixed', | ||
'anytype' => 'mixed', | ||
'anyxml' => 'string', | ||
+ 'anyuri' => 'string', | ||
'anysimpletype' => 'mixed', | ||
'long' => 'int', | ||
'short' => 'int', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ public static function getCollection() : \Soap\ExtSoapEngine\Configuration\Class | |
); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ public static function getCollection() : \Soap\ExtSoapEngine\Configuration\Class | |
); | ||
} | ||
} | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 8.2 is dropped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is irrelevant to test if we support both 8.1 and 8.3.