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

Sylius 1.13 #199

Merged
merged 19 commits into from
Jun 10, 2024
Merged

Sylius 1.13 #199

merged 19 commits into from
Jun 10, 2024

Conversation

Prometee
Copy link
Contributor

Here is a PR aiming to fix the build and add support for Sylius 1.13. I also:

  • Remove support for Sylius 1.11.
  • Add Panther config to run Behat.
  • Add symfony/runtime on the test application.
  • Update PHPStan config.
  • Update Github action build.
  • Fix the Behat build by updating number format on scenarios.

@Prometee Prometee requested a review from a team as a code owner May 14, 2024 12:56
@Prometee
Copy link
Contributor Author

@Zales0123 @GSadee it seems the build was broken a long time ago but I'm able to run it without any issue on my Mac.

I think the waitFor have to be replaced with something else now.

@Prometee Prometee requested review from GSadee and Zales0123 May 18, 2024 16:23
- sylius: "~1.11.10"
symfony: "^6.0"

php: ["8.1","8.2","8.3"]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
php: ["8.1","8.2","8.3"]
php: ["8.1", "8.2", "8.3"]

@@ -19,34 +19,35 @@
}
],
"require": {
"php": "^8.0",
Copy link
Member

Choose a reason for hiding this comment

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

IMO requirement for PHP version should stay

@@ -101,10 +100,17 @@ private function registerBundlesFromFile(string $bundlesFile): iterable
{
$contents = require $bundlesFile;

if (SyliusKernel::MINOR_VERSION > 10) {
if (SyliusCoreBundle::MINOR_VERSION > 10) {
$contents = array_merge(
['Sylius\Calendar\SyliusCalendarBundle' => ['all' => true]],
Copy link
Member

Choose a reason for hiding this comment

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

It could be added without condition

Copy link
Member

Choose a reason for hiding this comment

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

The security file should be different in 1.12 and 1.13 due to changes in API

@GSadee GSadee merged commit 35c6a31 into Sylius:main Jun 10, 2024
13 checks passed
@GSadee
Copy link
Member

GSadee commented Jun 10, 2024

Thank you, Francis! 🥇

GSadee added a commit that referenced this pull request Jun 10, 2024
…Kernel and bundles configuration (GSadee)

This PR was merged into the main branch.

Discussion
----------

Continuation of #199 

Commits
-------

f2ec6dc Update Kernel and bundles configuration in test application
6fa4d23 [Composer] Add PHP version to requirements
@Prometee Prometee deleted the sylius-1.13 branch June 12, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants