-
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
Closed
Changes from 1 commit
Commits
Show all changes
14 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 ed0f407
EWPP-4991: Do not return config object in processor and revert test.
ademarco 5175134
EWPP-4991: Restore generated code to 2.x version.
ademarco 6acf1ec
EWPP-4991: Run tests in separate suites.
ademarco 2990ee5
EWPP-4991: Reset ConfigProcessor and regenerate notifications.
ademarco a8050b7
EWPP-4991: Fix notifications tests.
ademarco 8e9b7b8
EWPP-4991: Regenerate authentication and remove useless test suites.
ademarco c503465
EWPP-4991: Add fluent adder and interface assembler.
ademarco 00fe412
EWPP-4991: Do not reuse configuration for notification.
ademarco 3436008
EWPP-4991: Restore 2.x config processor.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ class MyType | |
/** | ||
* @var string[]|array | ||
*/ | ||
private $prop1 = []; | ||
private string $prop1 = []; | ||
} | ||
|
||
CODE; | ||
|
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ class MyType | |
/** | ||
* @var null|string | ||
*/ | ||
private $prop1; | ||
private string $prop1; | ||
} | ||
|
||
CODE; | ||
|
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.