-
Notifications
You must be signed in to change notification settings - Fork 31
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
OP-556 - Adding Sylius 2.0 support #58
Conversation
5c2e7f8
to
ec6194d
Compare
"polishsymfonycommunity/symfony-mocker-container": "^1.0", | ||
"robertfausk/behat-panther-extension": "^1.1", | ||
"sylius-labs/coding-standard": "^4.4", | ||
"sylius-labs/suite-tags-extension": "~0.2", | ||
"sylius/mailer-bundle": "^1.8 || ^2.0@beta", | ||
"sylius/sylius-rector": "^2.0", | ||
"symfony/browser-kit": "^6.4 || ^7.1", | ||
"symfony/debug-bundle": "^6.4 || ^7.1", | ||
"symfony/dependency-injection": "^6.4 || ^7.1", | ||
"symfony/dotenv": "^6.4 || ^7.1", | ||
"symfony/http-client": "^6.4 || ^7.1", | ||
"symfony/intl": "^6.4 || ^7.1", | ||
"symfony/web-profiler-bundle": "^6.4 || ^7.1" |
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.
This doesn't sound good...
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's require-dev, not conflicts.
src/Resources/assets/admin/entry.js
Outdated
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 the files have been moved?
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.
Finally, It seems, these files can be removed
@@ -0,0 +1,7 @@ | |||
framework: | |||
mailer: | |||
dsn: 'null://null' |
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.
How about using env variable?
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.
Fixed
sylius_crud_routes: | ||
resource: 'sylius.routing.loader.crud_routes_attributes' | ||
type: service | ||
|
||
sylius_routes: | ||
resource: 'sylius.routing.loader.routes_attributes' | ||
type: service |
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.
What's this?
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.
Routes from Sylius Standard
use Symfony\Component\Form\FormBuilderInterface; | ||
use Symfony\Component\Validator\Constraints\NotBlank; | ||
|
||
class FrankMartinShippingGatewayType extends AbstractType |
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.
missing final
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.
Fixed
Behat
PHPSpec
ECS fixes
Plugin files update
Added Sylius 2.0 support
Updated composer.json
Updated packege.json and webpack.config.js
--- added Stimulus controller
--- updated webpack.config.js, assets path and added product-entry.js
Updated bundles.php
Updated routes
Updated Kernel.php
Updated configs - removed unnecessary files and
--- updated security.yaml
--- added mailer.yaml