Skip to content

Conversation

@tomkalon
Copy link
Contributor

No description provided.

@tomkalon tomkalon force-pushed the UC-22-upgrade-to-sylius-2.1 branch 3 times, most recently from 2df6d95 to e5599ea Compare September 23, 2025 12:48
@tomkalon tomkalon force-pushed the UC-22-upgrade-to-sylius-2.1 branch from e5599ea to dc32d6f Compare September 23, 2025 12:52
Comment on lines +12 to +15
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Copy link
Member

Choose a reason for hiding this comment

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

What it does?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It prevents the same action from being performed twice. So if one is active and another commit comes in a moment later, the previous action is canceled. This saves server resources.

sylius: "~2.1.0"
node: "22.x"
database: "mysql"
mysql: "8.4"
Copy link
Member

Choose a reason for hiding this comment

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

Why mysql 8.4 is here relevant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is and additional scenario, which is included only for state machine testing purpose. So... You're right. I should use version 8.0.

Comment on lines 11 to 13
# routing:
# BitBag\SyliusUserComPlugin\Message\OrderSynchronization: user_com_asynchronous
# BitBag\SyliusUserComPlugin\Message\UserSynchronization: user_com_asynchronous
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't it be removed? Or is this mentioned somewhere in docs to be uncommented if needed? If this needs to be commented out instead of removed, I would put a description comment above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🙈 Yes, it should be uncomment. Commented only for dev purpose.

@@ -0,0 +1,26 @@
<?php

declare(strict_types=1);
Copy link
Member

Choose a reason for hiding this comment

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

Missing OS header

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🆗

public function getLogDir(): string
{
return $this->getProjectDir() . '/var/log';
$kernelClass = str_contains(static::class, "@anonymous\0") ? parent::class : static::class;
Copy link
Member

Choose a reason for hiding this comment

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

This logic is too enigmatic... could you put this into some methods, to tell me, what it does?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

imports:
- { resource: "@SyliusCoreBundle/Resources/config/app/config.yml" }

- { resource: "@SyliusPayumBundle/Resources/config/app/config.yaml" }
Copy link
Member

Choose a reason for hiding this comment

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

How about installing new test-application package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Time ⌛

autoconfigure: true

Twig\Extra\Intl\IntlExtension: ~
# Twig\Extra\Intl\IntlExtension: ~
Copy link
Member

Choose a reason for hiding this comment

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

Why is this commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tomkalon tomkalon changed the base branch from master to 2.0 September 25, 2025 10:35
@tomkalon tomkalon merged commit 2392f35 into 2.0 Sep 25, 2025
25 of 26 checks passed
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.

3 participants