Skip to content

[UPMERGE] 2.1 -> 2.2#18695

Merged
TheMilek merged 10 commits into2.2from
upmerge/2.1_2.2
Jan 13, 2026
Merged

[UPMERGE] 2.1 -> 2.2#18695
TheMilek merged 10 commits into2.2from
upmerge/2.1_2.2

Conversation

@SyliusBot
Copy link
Copy Markdown
Contributor

@SyliusBot SyliusBot commented Dec 20, 2025

This PR has been generated automatically.
For more details see upmerge_pr.yaml.

Remember! The upmerge should always be merged with using Merge pull request button.

In case of conflicts, please resolve them manually with usign the following commands:

git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"

If you use other name for the upstream remote, please replace upstream with the name of your remote pointing to the Sylius/Sylius repository.

Once the conflicts are resolved, please run git merge --continue and push the changes to this PR.

Summary by CodeRabbit

  • Chores
    • Removed an unused import and broadened PSR HTTP Message compatibility in project manifests.
  • Tests
    • Minor formatting adjustments in test files; no behavioral changes.

✏️ Tip: You can customize this high-level summary in your review settings.

Sylius Bot and others added 4 commits December 19, 2025 02:36
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/refactor.yaml).
@SyliusBot SyliusBot requested review from a team as code owners December 20, 2025 02:34
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Dec 20, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

This pull request makes small maintenance edits: two test formatting tweaks, removal of an unused import, and broadening the psr/http-message composer constraint to allow v2 alongside v1.

Changes

Cohort / File(s) Summary
Test file formatting
src/Sylius/Bundle/CoreBundle/tests/Telemetry/Provider/Business/CountriesDataProviderTest.php, src/Sylius/Bundle/CoreBundle/tests/Telemetry/Provider/Business/MetricsCountsDataProviderTest.php
Cosmetic whitespace/line-break adjustments in test files only (no logic changes)
Import cleanup
src/Sylius/Component/Core/Telemetry/Generator/InstallationIdGenerator.php
Removed unused Symfony\Component\HttpFoundation\RequestStack import
Dependency constraint updates
composer.json, src/Sylius/Component/Core/composer.json
Relaxed psr/http-message requirement from ^1.0 to `^1.0

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

Dependencies, Maintenance

Suggested reviewers

  • GSadee
  • mpysiak

Poem

🐰 A tiny hop, a tidy line,
An import gone, constraints align.
Tests breathe easy, composer too,
A quiet patch — hooray! 🥕

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[UPMERGE] 2.1 -> 2.2' accurately reflects the PR's purpose: merging changes from the 2.1 branch into the 2.2 branch as part of an automated upmerge workflow.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 20, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands:

  • 🚀 /bns:deploy to redeploy the environment

Rafikooo and others added 6 commits January 5, 2026 13:49
Adding this to 1.14 for better flexibility when upgrading projects. This
is not a BC break - it only extends the allowed versions without forcing
any changes.

Many modern libraries now require `psr/http-message: ^2.0` exclusively.
Sylius only uses the interfaces as type hints without implementing them,
so supporting both versions is safe. Backporting to 1.14 benefits end
applications that want to upgrade their dependencies.

Ref: #18698
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.1 -m "Resolve conflicts between 1.14 and 2.1"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
| Q               | A
|-----------------|-----
| Branch?         | 2.2 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.14 or 2.1 branch
 - Features and deprecations must be submitted against the 2.2 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
@TheMilek TheMilek merged commit d2dd201 into 2.2 Jan 13, 2026
127 of 129 checks passed
@SyliusBot SyliusBot deleted the upmerge/2.1_2.2 branch January 14, 2026 02:45
@SyliusBot SyliusBot restored the upmerge/2.1_2.2 branch January 15, 2026 02:40
@coderabbitai coderabbitai bot mentioned this pull request Jan 16, 2026
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.

5 participants