-
Notifications
You must be signed in to change notification settings - Fork 50
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
Sylius 1.13 #199
Conversation
@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 |
- sylius: "~1.11.10" | ||
symfony: "^6.0" | ||
|
||
php: ["8.1","8.2","8.3"] |
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.
php: ["8.1","8.2","8.3"] | |
php: ["8.1", "8.2", "8.3"] |
@@ -19,34 +19,35 @@ | |||
} | |||
], | |||
"require": { | |||
"php": "^8.0", |
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.
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]], |
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 could be added without condition
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.
The security file should be different in 1.12 and 1.13 due to changes in API
Thank you, Francis! 🥇 |
Here is a PR aiming to fix the build and add support for Sylius 1.13. I also:
symfony/runtime
on the test application.