-
-
Notifications
You must be signed in to change notification settings - Fork 229
Upgrade demo to Symfony 8 #587
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
Draft
aaa2000
wants to merge
27
commits into
api-platform:4.2
Choose a base branch
from
aaa2000:sf8
base: 4.2
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.
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
f70f6ce
chore: upgrade to symfony 8
aaa2000 0122d60
ci: fix tests after upgrade
aaa2000 342eaa3
ci: pin symfony/serializer to 8.0.4 for fixing tests
aaa2000 b08ae51
ci: fix after update
aaa2000 6ed0712
chore: composer update
aaa2000 9c5606d
ci: try fix ci
aaa2000 c4a7d6e
ci: phpcsfixer - ignore reference.php
aaa2000 0e085d0
ci: fix phpcsfixer
aaa2000 4e434df
update symfony/http-kernel
aaa2000 cb815d3
Update dama/doctrine-test-bundle recipe
aaa2000 0eb3250
chore: update zendstruck/foundry recipe
aaa2000 3c80d02
chore: update symfony/web-profiler-bundle recipe
aaa2000 baadba2
chore: update symfony/security-bundle recipe
aaa2000 9daf4f5
chore: update symfony/routing recipe
aaa2000 a3ecced
chore: update symfony/monolog-bundle recipe
aaa2000 a037cb9
chore: update symfony/framework-bundle recipe
aaa2000 76637d6
chore: update phpunit/phpunit recipe
aaa2000 dec854c
chore: update doctrine/doctrine-bundle recipe
aaa2000 ca65035
chore: fix incorecct phpdoc
aaa2000 0a29ce3
chore: simplify fqdn
aaa2000 359d522
ci: remove unnecessary file
aaa2000 f223642
chore: run rector
aaa2000 930f5a0
chore: fix php-cs-fixer
aaa2000 ccc3c3c
ci: fix unit test
aaa2000 fabf095
chore: run rector
aaa2000 de617e3
chore: run php-cs-fixer
aaa2000 1e10d76
chore: fix error when running rector
aaa2000 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 hidden or 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,17 @@ | ||
| # editorconfig.org | ||
|
|
||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| indent_size = 4 | ||
| indent_style = space | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [{compose.yaml,compose.*.yaml}] | ||
| indent_size = 2 | ||
|
|
||
| [*.md] | ||
| trim_trailing_whitespace = false |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,4 @@ | ||
| #!/usr/bin/env php | ||
| <?php | ||
|
|
||
| require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit'; |
This file contains hidden or 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
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.
symfony/serializer v8.0.5 breaks the phpunit tests @see symfony/serializer@35b1aec
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Here are the test results
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.
I agree with these changes:
The problem is about those changes, which are incomplete:
So indeed you can set
symfony/serializer: <8.0.5, and then you (or I, if you don't have time) can investigate for a fix on Symfony/API Platform (depends where the problem is).