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

OP-558: Sylius 2 upgrade #71

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

OP-558: Sylius 2 upgrade #71

wants to merge 17 commits into from

Conversation

jkindly
Copy link

@jkindly jkindly commented Oct 9, 2024

No description provided.

@jkindly jkindly requested a review from senghe October 10, 2024 08:53
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/coding_standard.yml Outdated Show resolved Hide resolved
"doctrine/annotations": "^2.0.0"
"php": "^8.2",
"doctrine/annotations": "^2.0.0",
"sylius-labs/polyfill-symfony-security": "^1.1",
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
"sylius-labs/polyfill-symfony-security": "^1.1",

composer.json Outdated Show resolved Hide resolved
@@ -39,16 +39,16 @@
</service>

<service id="sylius.form.type.checkout_address" class="Sylius\Bundle\CoreBundle\Form\Type\Checkout\AddressType">
<argument type="service" id="sylius.address_comparator" />
Copy link
Member

Choose a reason for hiding this comment

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

this service will probably be changed in sylius 2.0.0 to sylius.comparator.address

<tag
name="sylius.live_component"
key="sylius_admin:blacklisting_rule:form"
template="@BitBagSyliusBlacklistPlugin/BlacklistingRule/Admin/form.html.twig"
Copy link
Member

Choose a reason for hiding this comment

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

next alpha will allow setting components templates in hooks rather then in service definitions


access_control:
- { path: "%sylius.security.admin_regex%/_partial", role: PUBLIC_ACCESS, ips: [127.0.0.1, ::1] }
- { path: "%sylius.security.admin_regex%/_partial", role: ROLE_NO_ACCESS }
Copy link
Member

Choose a reason for hiding this comment

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

please check latest security configuration in sylius. This access_control is out

tests/Application/package.json Outdated Show resolved Hide resolved
Copy link
Member

@senghe senghe left a comment

Choose a reason for hiding this comment

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

I've checked this, but I think @mpysiak review is more relevant than my

>
<services>
<service
id="bitbag_sylius_blacklist_plugin.twig.component.automatic_blacklisting_configuration.form"
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
id="bitbag_sylius_blacklist_plugin.twig.component.automatic_blacklisting_configuration.form"
id="bitbag.sylius_blacklist_plugin.twig.component.automatic_blacklisting_configuration.form"

For all services

src/Resources/config/services/twig/component.xml Outdated Show resolved Hide resolved
…delete exclude in build.yml and codding_standard.yml
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.

4 participants