This PR was merged into the 1.12-dev branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | master |
| Bug fix? | yes (for Symfony 6) |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | partially #13274 |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
- Features and deprecations must be submitted against the master 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
-->
Commits
-------
ee318e562b Fix bootstrap for Symfony 6
* 1.10:
[API] set api as disabled by default
[API] kernel request event redirects to 404 for disabled api
[API] RouteResolver throws 404 when api is disabled
[API] add tests for disabling api
[API] set api as disabled by default
[API] kernel request event redirects to 404 for disabled api
[Docs] add info how to enable api
[API] RouteResolver throws 404 when api is disabled
[API] add tests for disabling api
* 1.9:
[API] set api as disabled by default
[API] kernel request event redirects to 404 for disabled api
[API] RouteResolver throws 404 when api is disabled
[API] add tests for disabling api
[API] set api as disabled by default
[API] kernel request event redirects to 404 for disabled api
[Docs] add info how to enable api
[API] RouteResolver throws 404 when api is disabled
[API] add tests for disabling api
This PR was merged into the 1.10-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Commits
-------
84f7629e16 Use 4-Byte UTF-8 Unicode Encoding
This PR was merged into the 1.9-dev branch.
Discussion
----------
Based on #12084.
Commits
-------
3384d30d04 Allow for Symfony ^4.4 || ^5.2
6b9a46e114 Include Symfony ^5.2 in the matrix
3077b3da77 Remove usage of removed Event class
31a10b04fd [User] Requrie symfony/security-core instead of symfony/security
326d38f9e0 Fix bugs reported by Psalm
333c4e278c [CI] Restrict Symfony version correctly
db4d4f8004 [AddressingBundle] Fix compatibility with Symfony 5
e35a3a0163 [ChannelBundle] Fix compatibility with Symfony 5
2655e7f2d0 [OrderBundle] Partially fix compatibility with Symfony 5
447e865027 [CI] Mark Symfony ^5.2 builds as experimental
15696e3e04 Allow for gedmo/doctrine-extensions ^3.0
ec688e7b41 Make installable with Symfony ^5.2
8d5b9c7dd0 Require symfony/string:^5.2, it's used by StringInflector
0c2cb8e3d1 Require sylius-labs/association-hydrator:^1.1.3
14869ea0eb [Psalm] Do not fail on invalid docblock in \Doctrine\ORM\EntityRepository::__construct
bcf9be87dd [Psalm] Ignore missing Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
11303b6489 Use tweaked DoctrineStorage for Payum that accepts new Doctrine Persistence API
81178e9a56 Use sylius-labs/polyfill-symfony-security to account for removed AdvancedUserInterface
8144de2da8 [Psalm] Improve configuration
f0df509e23 Remove use of deprecated method Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::getException
a419508ef4 [Psalm] Improve configuration
25b38747be Use sylius-labs/polyfill-symfony-framework-bundle to account for removed ContainerAwareCommand
e6170fe53a [Psalm] Fix configuration for Symfony ^4.4 deprecations
a36c90e06a Remove unnecessary Twig routes in dev environment
aa1d930bfa Rename "message_bus" service to "messenger.default_bus" to comply with Symfony 5.2
11d9f9aba4 Make commands' execute() always return int
0714e77abd Fix packages builds by requiring SyliusLabs polyfill libraries
d683ad6d78 [ApiBundle] Fix event dispatcher usage
1033ef35e9 [ApiBundle] Fix ViewEvent mocking in specs
18a474801f [Core] Require symfony/mime explicitly
468d71fd42 [UiBundle] Replace templating with Twig in specs
5cfc2b6eec [ShopBundle] Fix event dispatcher usage
3187650971 [CoreBundle] Fix InteractiveLoginEvent mocks
0c28301ef8 [UserBundle] Fix InteractiveLoginEvent mocks
2d65663328 Remove unnecessary "sylius.translator.listener" service
c9ffd51994 [CoreBundle] Fix mocks of ExceptionEvent in tests
bd41054e18 [CoreBundle] Prevent from polluting the filesystem with test application cache and logs
75f070fc38 [CoreBundle] Ignore PHPUnit result cache in Git
16e99feb06 [CoreBundle] Fix payment method fixture configuration test
a74f084862 Require sylius/theme-bundle ^2.1.1 which supports Symfony 5
a32efb3af0 Do not pass int form keys, cast them to string instead
beb414255c Fix all the rest of event dispatcher calls
ca218e6886 Account for plain password being null in Symfony 5
ac2d41aa68 Fix ZoneType choice_filter
c03b3f6180 Do not use integer keys in forms - ChangePaymentMethodType
f5f9284c10 Make index.php compatible with Symfony 5
cf2b90e0b7 Fix products edit page by not rendering the same field twice
c18f11efac Fix inifite loop caused by form widget theme block rendering itself
e9e191bb4e Fix redirects using Symfony's RedirectController
9a6e0d414a [PayumBundle] Fix application crash while capturing payments
eb40b5a679 [ApiBundle] Fix the issue with too few arguments passed to has* methods
fdb07fa1ad [Behat] Fix theme-related tests
a91875c277 [CI] Remove marking Symfony 5.2 builds as experimental
9f2063695c [PayumBundle] Remove commented out code from PayumExtension
e6ae947429 Delete debugging code