Skip to content
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

Add Support for Symfony 6 #736

Merged
merged 2 commits into from
Jan 12, 2023
Merged

Add Support for Symfony 6 #736

merged 2 commits into from
Jan 12, 2023

Conversation

TheMilek
Copy link
Member

@TheMilek TheMilek commented Dec 19, 2022

continuation of / to potential merge after merging #734

@TheMilek TheMilek requested a review from a team as a code owner December 19, 2022 14:02
@TheMilek TheMilek force-pushed the SYL-2534 branch 2 times, most recently from 9f5e2f3 to 58aa0a9 Compare December 19, 2022 14:20
composer.json Outdated Show resolved Hide resolved
php: [8.0, 8.1]
node: [10.x]
mysql: [5.7, 8.0]
symfony: [^4.4, ~5.2.0, ~5.3.0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I told you about it already that it is IMO a good idea to drop SF 4.4 in a separate PR. But if you want to keep it as it is, let's add it at least to the PR title to have this info in the generated changelog on next release 😀

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is continuation of #734
I'm planning to make it in the order the above one this one after rebase and as a last one to merge will be this support to SF6 as it's based on the Sylius 1.12 support, so the changelog will be informative 💃

Comment on lines +114 to +118
if (Kernel::VERSION_ID < 60000) {
$this->assertResponse($response, 'address_book/SF5/validation_create_address_book_with_wrong_country_response', Response::HTTP_BAD_REQUEST);
} else {
$this->assertResponse($response, 'address_book/SF6/validation_create_address_book_with_wrong_country_response', Response::HTTP_BAD_REQUEST);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid that, we could probably define the custom validation message

@GSadee GSadee merged commit 95043cc into Sylius:1.6 Jan 12, 2023
@GSadee
Copy link
Member

GSadee commented Jan 12, 2023

Thanks, Kamil! 🎉

@TheMilek TheMilek deleted the SYL-2534 branch January 12, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants