Commit graph

28224 commits

Author SHA1 Message Date
Lorenzo Ruozzi
efc4a6e920 [PHPStan] Fix some static errors (#14019) 2022-10-20 14:26:50 +02:00
Lorenzo Ruozzi
04c0d8c204 [PHPStan] Exclude behat files (#14019) 2022-10-20 14:26:49 +02:00
Lorenzo Ruozzi
8f39779bfe [PHPStan] Add symfony phpstan extension (#14019) 2022-10-20 14:26:49 +02:00
Lorenzo Ruozzi
16dd0281f8 [PHPStan] Resolve mock static checks failing (#14019) 2022-10-20 14:26:49 +02:00
Lorenzo Ruozzi
83f007e65f [PHPStan] Fix level 2 errors (#14019) 2022-10-20 14:26:49 +02:00
Lorenzo Ruozzi
68f4e7b7a1 [PHPStan] Add Webmozart assert PHPStan extension (#14019) 2022-10-20 14:26:49 +02:00
Lorenzo Ruozzi
fc210825ef [PHPStan] Use level 2 to analyse code (#14019) 2022-10-20 14:26:49 +02:00
Łukasz Chruściel
d87ca07b0a
refactor #14463 [maintenance] - Remove Staging configs (Ferror)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 <!-- see the comment below -->                  |
| Bug fix?        | no                                                     |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don\'t forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes #X, partially #Y, mentioned in #Z                      |
| License         | MIT                                                          |

We don\'t have such environment


Commits
-------

1372e90041 [maintenance] - Remove Staging configs
2022-10-20 09:16:30 +02:00
Mateusz Zalewski
18365dabc8
Change application's version to v1.12.0-DEV 2022-10-19 19:21:58 +02:00
Mateusz Zalewski
0b3195bcb3
Generate changelog for v1.12.0-RC.1 2022-10-19 19:20:00 +02:00
Mateusz Zalewski
8ec3aaeec9
Change application's version to v1.12.0-RC.1 2022-10-19 19:18:41 +02:00
Mateusz Zalewski
b1fc03a826
minor #14462 Open [CI] Tests for Symfony ~6.0.0 and static checks for APIP ~2.6.0 (NoResponseMate)
Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | -                      |
| License         | MIT                                                          |

Commits
-------
c7b0042dfc [CI] Add tests for symfony 6.0
81d7b26702 [CI] Add APIP 2.6 static checks
2022-10-19 18:58:02 +02:00
Mateusz Zalewski
f2704ef862
minor #14464 Change all package versions to 1.12 (Zales0123)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | kinda                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | replaces https://github.com/Sylius/Sylius/pull/14432 |
| License         | MIT                                                          |

Result of [this discussion](https://github.com/Sylius/Sylius/pull/14432#discussion_r993198467). I believe it should not make any problem during the upgrade 🖖 

Commits
-------

bdabc1fa5a Change all package versions to 1.12
2022-10-19 18:54:28 +02:00
Mateusz Zalewski
bdabc1fa5a
Change all package versions to 1.12 2022-10-19 18:01:33 +02:00
Ferror
1372e90041 [maintenance] - Remove Staging configs 2022-10-19 17:52:51 +02:00
Mateusz Zalewski
a0c018eeb0
bug #14458 Fix packages branch-aliases (Zales0123)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no |
| Deprecations?   | no |
| Related tickets | replaces https://github.com/Sylius/Sylius/pull/14434 |
| License         | MIT                                                          |

From the discussion in [this PR](https://github.com/Sylius/Sylius/pull/14434#discussion_r993356426), I believe we should fix all the branch aliases in all packages. I also remove the `dev-master` branch alias on the main `composer.json`,  as we no longer use the `master` branch for some time 🖖 

Commits
-------

e381e64a1e Change branch aliases in all packages
6c83d15f67 Remove branch alias from the main composer.json
2022-10-19 17:22:46 +02:00
Jan Goralski
81d7b26702
[CI] Add APIP 2.6 static checks 2022-10-19 17:19:20 +02:00
Jan Goralski
c7b0042dfc
[CI] Add tests for symfony 6.0 2022-10-19 17:17:57 +02:00
Mateusz Zalewski
6c83d15f67
Remove branch alias from the main composer.json 2022-10-19 15:47:26 +02:00
Mateusz Zalewski
e381e64a1e
Change branch aliases in all packages 2022-10-19 15:47:26 +02:00
Łukasz Chruściel
0a14900faa
bug #14459 [Hot-fix] Do not fail scenario after 422 response page (Zales0123)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                 |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets |  |
| License         | MIT                                                          |

[This change](https://github.com/Sylius/SyliusResourceBundle/pull/488) resulted in a different response code which we checks in our Behats. It\'s a hot-fix, as we should change it in the SyliusResourceBundle itself 💃 But I would like to unblock builds

Commits
-------

5eca8c6677 [Hot-fix] Do not fail scenario after 422 response page
2022-10-19 15:38:04 +02:00
Mateusz Zalewski
5eca8c6677
[Hot-fix] Do not fail scenario after 422 response page 2022-10-19 11:50:31 +02:00
Łukasz Chruściel
97b5f6af50
feature #14188 [DOCS] Disabling guest api checkout (arti0090)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12          |
| License         | MIT                                                          |



Commits
-------

c28101c60f [DOCS] Disabling guest api checkout
b9bb8a6cb7 Fix failing yaml codeblock + pr fixes
7aff81bff4 Update docs/cookbook/shop/disabling-guest-checkout.rst
2022-10-17 17:59:44 +02:00
Grzegorz Sadowski
4c7661018a
refactor #14443 [API][Behat] Add note about behat request changes (TheMilek)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                      |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | mentioned in [#Z](https://github.com/Sylius/Sylius/pull/13896)                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-------

98f4d94bd3 [API][Behat] Add note about behat request changes
2022-10-17 14:41:03 +02:00
TheMilek
98f4d94bd3
[API][Behat] Add note about behat request changes 2022-10-17 13:33:08 +02:00
arti0090
7aff81bff4
Update docs/cookbook/shop/disabling-guest-checkout.rst
Co-authored-by: Magdalena Sadowska <bannanowa@gmail.com>
2022-10-15 10:47:02 +02:00
Grzegorz Sadowski
c2302aed29
refactor #14444 Remove SymfonyMockerContainer fork (Zales0123)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets |  |
| License         | MIT                                                          |

[1.0.6 version](https://github.com/PolishSymfonyCommunity/SymfonyMockerContainer/releases/tag/v1.0.6) supports Symfony 6 🎉 

Commits
-------

3c9431a70c Remove SymfonyMockerContainer fork
2022-10-14 14:55:50 +02:00
Grzegorz Sadowski
c6908c787b
Merge branch '1.11' into 1.12
* 1.11:
  [Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x
2022-10-14 14:53:11 +02:00
Kamil Grygierzec
fe03749856
bug #14445 [Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x (GSadee)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11|
| Bug fix?        | yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no|
| Related tickets | https://github.com/PolishSymfonyCommunity/SymfonyMockerContainer/issues/20 |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-------

d054f18586 [Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x
2022-10-14 14:37:23 +02:00
Grzegorz Sadowski
d054f18586
[Hot-fix] Conflict with the SymfonyMockerContainer 1.0.6 due to incompatible version with Symfony 4.x 2022-10-14 13:46:12 +02:00
Grzegorz Sadowski
a38f200447
Merge branch '1.11' into 1.12
* 1.11:
  Use tokenValue instead of id
  [Hot-fix] Conflict with the newest AP that changes a Customer->User response
  small PR fix
  [DOCS] Add info about mailer in installation doc
  Using the new template namespace syntax in the doc
2022-10-14 11:44:11 +02:00
Grzegorz Sadowski
4936dc455c
bug #14384 [API] Use tokenValue instead of id (Prometee)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | fixes #13272, #13681                      |
| License         | MIT                                                          |

`GET /api/v2/shop/orders/{tokenValue}/payments/{paymentId}/configuration` will now works as expected.


Commits
-------

5948770ad7 Use tokenValue instead of id
2022-10-14 11:37:49 +02:00
Mateusz Zalewski
3c9431a70c
Remove SymfonyMockerContainer fork 2022-10-14 11:34:20 +02:00
Francis Hilaire
5948770ad7
Use tokenValue instead of id 2022-10-14 10:03:18 +02:00
Grzegorz Sadowski
ea52eed900
bug #14440 [Parameters] bin/console debug:container --env-vars command fixed (Rafikooo)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |1.12 <!-- see the comment below -->                  |
| Bug fix?        |yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

Before:
<img width="967" alt="image" src="https://user-images.githubusercontent.com/40125720/195540124-fd589f51-3519-4368-b4b2-574c8399d5d2.png">
After:
<img width="998" alt="image" src="https://user-images.githubusercontent.com/40125720/195540631-be5ea26c-5b4c-4610-adad-a5d01e6fad5b.png">


Commits
-------

23119ade38 [Parameters] bin/console debug:container --env-vars command fixed
2022-10-14 08:17:01 +02:00
Łukasz Chruściel
6bd88aacc3
bug #14442 [Hot-fix] Conflict with the newest AP that changes a Customer->User response (GSadee)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11|
| Bug fix?        | yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don\'t forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14420                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-------

dbc9c04618 [Hot-fix] Conflict with the newest AP that changes a Customer->User response
2022-10-13 15:16:40 +02:00
Łukasz Chruściel
d3005950ed
refactor #14362 Using the new template namespace syntax in the doc (mamazu)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | master                |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don\'t forget to update the UPGRADE-*.md file --> |
| Related tickets | -                      |
| License         | MIT                                                          |


Improving the documentation to not contain the unsupported twig file name syntax.


Commits
-------

3b90d7942f Using the new template namespace syntax in the doc
2022-10-13 13:58:33 +02:00
Grzegorz Sadowski
dbc9c04618
[Hot-fix] Conflict with the newest AP that changes a Customer->User response 2022-10-13 13:39:51 +02:00
Rafikooo
23119ade38
[Parameters] bin/console debug:container --env-vars command fixed 2022-10-13 10:08:54 +02:00
Łukasz Chruściel
6f4672014e
style #14438 Coding style and configurations fixes and improvements after Symfony 6 support merge (Zales0123)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | fixes some comments from https://github.com/Sylius/Sylius/pull/13969  |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-------

63980ee53a Remove some unneeded method in Kernel classes
3309178ec1 FlashBagProvider to unify bc-layers for request stack
cdfcf56547 SessionProvider to unify bc-layers for request stack
21e30d6b73 Simplify tests directories exclusion in psalm.xml
2022-10-12 16:40:32 +02:00
Mateusz Zalewski
21e30d6b73
Simplify tests directories exclusion in psalm.xml 2022-10-12 14:43:42 +02:00
Mateusz Zalewski
cdfcf56547
SessionProvider to unify bc-layers for request stack 2022-10-12 14:39:04 +02:00
Mateusz Zalewski
3309178ec1
FlashBagProvider to unify bc-layers for request stack 2022-10-12 14:30:21 +02:00
Łukasz Chruściel
0c70011cdb
feature #14247 [DOCS] Add info about mailer in installation doc (arti0090)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.12           |
| License         | MIT                                                          |


Commits
-------

b32b3050d8 [DOCS] Add info about mailer in installation doc
bcc5cffb9b small PR fix
2022-10-12 14:18:33 +02:00
Mateusz Zalewski
63980ee53a
Remove some unneeded method in Kernel classes 2022-10-12 14:11:15 +02:00
Łukasz Chruściel
302f8ae021
bug #14433 Fix - move RedirectPathExtension from Admin bundle to Ui bundle (loic425)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets |                       |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-->

The create button on Ui bundle uses a twig extension from Admin bundle

![Capture d’écran du 2022-10-12 11-41-07](https://user-images.githubusercontent.com/8329789/195308817-5fef4502-e452-4f57-8e16-80a355db7ec8.png)


Commits
-------

4e6f28c5ad Fix - move RedirctPathExtension from Admin bundle to Ui bundle
7edbaf6de2 Move filter storage into ui bundle
b94337027c Fix namespace of FilterStorageSpec
ab4bfc22be Fix services
f8ef144f77 Fix services
28107967bd Fix controllers on admin bundle
2022-10-12 14:02:00 +02:00
Grzegorz Sadowski
91ad1a81e5
Merge branch '1.11' into 1.12
* 1.11:
  [DOCS] Add info about supervisors
2022-10-12 13:42:24 +02:00
Grzegorz Sadowski
e1c9896b63
minor #14421 [DOCS] Add info about supervisors (arti0090)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.12                |
| License         | MIT                                                          |


Commits
-------

5ce248af7f [DOCS] Add info about supervisors
2022-10-12 13:38:17 +02:00
Mateusz Zalewski
da96544448
Merge branch '1.11' into 1.12
* 1.11:
  [Behat] Add calendar hook to suites using calendar
2022-10-12 13:31:15 +02:00
Mateusz Zalewski
95fc274769
bug #14415 [Behat] Add calendar hook to suites using calendar (GSadee)
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11 |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no|
| Related tickets | |
| License         | MIT                                                          |

It can potentially fix our randomly failing builds.

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 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
-------

44aa6623c7 [Behat] Add calendar hook to suites using calendar
2022-10-12 13:29:28 +02:00