Commit graph

72 commits

Author SHA1 Message Date
Grzegorz Sadowski
25fa915993
Merge branch '2.0' into symfony-7
* 2.0: (26 commits)
  Update namespaces to Resource ^1.11 in 2.0
  [CS][DX] Refactor
  [CS][DX] Refactor
  [Maintenance] Update resource changes comparison in the upgrade file
  [Maintenance] Fix LazyOption repository template covariants
  [Maintenance] Note resource namespaces changes
  [Docs] Update namespaces
  [Maintenance] Update leftover namespaces
  Cover the scenario for allowing access for only correctly logged in users
  Enable the remaining cart suites
  [Maintenance] Fix translations' duplicated validation
  [Api][Unit] Fix it_gets_all_product_variants_when_invalid_product_filter_provided test
  [Api] Replace sylius.api to sylius_api
  [Api] Cover sorting and filtration of resources
  [Behat] Refine codebase for promotion and cart contexts
  Enable dashboard and homepage suites
  Minor Product config improvement
  Enable the rest of product tests and correct order of the attribute values in the response
  Correct contract tests and behat
  Bring back non exposed ProductOptionValue
  ...
2024-09-09 09:38:50 +02:00
Grzegorz Sadowski
bfdfa929e8
Resolve conflicts between 1.14 and 2.0 2024-09-09 07:28:58 +02:00
Jan Goralski
c56107c4e8
[Maintenance] Fix LazyOption repository template covariants 2024-09-06 13:44:46 +02:00
Grzegorz Sadowski
d1407d6153
Resolve conflicts between 2.0 and symfony-7 2024-09-04 13:19:19 +02:00
Jan Goralski
09c8a8bba2
[Maintenance] Fix static analysis 2024-09-04 09:10:12 +02:00
Grzegorz Sadowski
5737bb97da
Merge branch '2.0' into symfony-7
* 2.0:
  [CS][DX] Refactor
  [CS][DX] Refactor
  [CS][DX] Refactor
  [CI] Update Sylius branches in refactor workflow
  [Behat] Switch another random JS failed scenarios to Chromedriver
  [Behat] Switch another random JS failed scenarios to Chromedriver
  [Behat] Switch random JS failed scenarios to Chromedriver
  [PHPStan] Temporarily ignore errors with ResourceBundle 1.11 to fix static analysis
  Minor improvements in PHPStan configuration
  [Taxonomy] Fix Taxon spec
  [PHPStan] Support both sylius/resource-bundle 1.10 and 1.11
  [CS][DX] Refactor
2024-09-03 07:41:36 +02:00
Grzegorz Sadowski
3978abf67e
Merge branch '2.0' into api-platform-3
* 2.0:
  [PHPStan] Temporarily ignore errors with ResourceBundle 1.11 to fix static analysis
2024-09-02 10:13:42 +02:00
Grzegorz Sadowski
b5eb47b5a3 [PHPStan] Temporarily ignore errors with ResourceBundle 1.11 to fix static analysis 2024-09-02 10:10:38 +02:00
Grzegorz Sadowski
612397fde9
Merge branch '2.0' into api-platform-3
* 2.0:
  Minor improvements in PHPStan configuration
  [Taxonomy] Fix Taxon spec
  [PHPStan] Support both sylius/resource-bundle 1.10 and 1.11
2024-09-02 08:39:46 +02:00
Grzegorz Sadowski
446d158d09
Merge branch '1.14' into 2.0
* 1.14:
  Minor improvements in PHPStan configuration
  [Taxonomy] Fix Taxon spec
  [PHPStan] Support both sylius/resource-bundle 1.10 and 1.11
2024-09-02 08:37:58 +02:00
Grzegorz Sadowski
597fafc33d
Minor improvements in PHPStan configuration 2024-09-02 07:22:25 +02:00
Rafikooo
77ca7f4afe
[PHPStan] Support both sylius/resource-bundle 1.10 and 1.11 2024-08-30 11:07:07 +02:00
Loïc Frémont
074d512ed2 Fix PHPStan error 2024-08-29 09:54:25 +02:00
Grzegorz Sadowski
25a3e77281
Merge branch '2.0' into api-platform-3
* 2.0: (547 commits)
  [Admin][UX] Filter translatable autocomplete results based on current locale [Admin][DX] Extract translatable autocomplete processing to a separate form type
  [Behat] Add possibility to accepting null as value in response checker
  [Maintenance] Enable non-UI tests in CI
  Fixes after CR
  Changes after CR
  [Admin][Product] Enable and fix tests
  [Admin][Product] Add view in store button
  Remove final from the Zone's form component
  Review fixes
  [Admin][UI] Add error indicators for form tabs and accordions
  [Admin][Taxon] Rename FormImageElement to ImageFormElement
  [Admin][Taxon] Split media more granularly
  [Admin][Taxon] Remove unnecessary code
  [Taxon][Behat] Extract management of image to separate form element.
  [Behat] Extract waitForFormUpdate function to CrudFormElement
  [Behat] Submit live component before submitting the form
  [Admin][Taxon][Image] Enable behat tests
  [Admin][Taxon] Implements media management
  [Admin][Product][Inventory] Enable behat tests
  [Admin][Zone] Move FormComponent
  ...
2024-05-20 12:36:43 +02:00
Jacob Tobiasz
32e2ccaa33 Update PHPStan ignore rules for Twig components 2024-05-13 15:05:26 +02:00
Jacob Tobiasz
ea30efbd6e
Exclude reporting the unused getDataModelValue() method 2024-04-09 15:49:42 +02:00
Jan Goralski
b3fa33432c
Resolve conflicts between 2.0 and bootstrap-admin-panel 2024-04-05 12:59:58 +02:00
Grzegorz Sadowski
d13ebb94d8
Merge branch '2.0' into api-platform-3
* 2.0: (776 commits)
  Add missing validation for the customers first and last name
  [CS][DX] Refactor
  Bring back all Sylius' state machines to Winzou
  Add overriding the Resource's state machine with the one from the Sylius abstraction
  Add missing locales to contract test
  [Taxon][Behat] validate translations with unexisting locales
  [ShippingMethod][Behat] validate translations with unexisting locales
  [Promotion][Behat] validate translations with unexisting locales
  [Product][Behat] validate translations with unexisting locales
  [PaymentMethod][Behat] validate translations with unexisting locales
  Validate all translatable objects for unexisiting locales
  Validate customer's password reset
  Validate customer creation and edit
  Make the validation trait more generic
  [Api] Change namespace of TaxonImagesTest class
  [Api] Remove _response suffix
  [Behat] Minor improvments of viewing_taxon_image scenario
  [Api][ProductImage] Add https prefix check
  [Api][Admin] Allow using float for ratio in exchange rate
  SYL-3329 Fix behat test for SyliusPayPalPlugin
  ...
2024-03-29 14:49:47 +01:00
Jacob Tobiasz
81678d8ff2
Resolve conflicts between 1.13 and 2.0 2024-03-22 15:26:12 +01:00
Jan Goralski
bfe31543db
[Maintenance] Ignore stan errors after ApiPlatform patch 2024-03-19 09:10:22 +01:00
Jacob Tobiasz
96dfe45e42
Update phpstan.neon.dist file 2024-03-14 09:59:28 +01:00
Grzegorz Sadowski
ae9ba0fe30
Merge branch '2.0' into api-platform-3
* 2.0: (172 commits)
  [Admin] Change name of official support section in menu and adjust translations
  Add all translations & change label
  Add business support CTA to admin panel
  [PromotionBundle] Add prefix to validation groups for promotion action/rule
  [PromotionBundle][PromotionRule] Add available type to validation message
  [PromotionBundle][PromotionAction] Add available type to validation message
  Update upgrade file
  [PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
  [PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
  Add prefix sylius_ to validation groups
  Update upgrade file
  [PromotionBundle] Remove constraints from FormType to avoid double constraints
  [PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
  [PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
  [PromotionBundle] Add parameters validation groups for promotion action and promotion rule
  [ECS] Apply types order changes
  [ECS] Add union types ordering rule
  [ECS] Apply ecs fixes
  [ChannelsTest] use inArray to check locales
  [ApiBundle] Add contract tests for ProductTaxon resource
  ...
2023-12-15 14:45:38 +01:00
Jacob Tobiasz
e2cec8b0a0
Resolve conflicts between 1.13 and 2.0 2023-12-06 17:42:41 +01:00
Jan Goralski
7b931b8348
[DX] Ignore missing return of getId model methods and update baseline 2023-12-05 13:27:44 +01:00
Grzegorz Sadowski
3a110eaa56
Merge branch '2.0' into api-platform-3
* 2.0:
  [ShipmentBundle] Add symfony workflow configuration for Shipment
  [CoreBundle] Add Shipment transition listeners
  [CoreBundle] Add symfony workflow configuration for Shipment
  Fix failing phpspec scenario on Symfony 6.3.5 and above
  Fix failing phpspec scenario on Symfony 6.3.5 and above
  Fix failing phpspec scenario on Symfony 6.3.5 and above
  Services definition fix after review
  Fixes after review
  [Bunnyshell] Bump the PHP version to 8.2 in the php Dockerfile
  [ECS] Apply ecs fixes
  [ShippingBundle] Change deprecated Calendar class
  [Maintenance] Deprecate using `parentId` in TaxonSlugController
  Add newline to align with other public method
2023-10-06 09:25:17 +02:00
Grzegorz Sadowski
76053d1c8c
[API] Temporarily exclude ApiBundle from static analysis 2023-09-29 15:06:54 +02:00
Grzegorz Sadowski
ea1c36e1bb
Merge branch '1.13' into 2.0
* 1.13:
  [ECS] Apply ecs fixes
  [ShippingBundle] Change deprecated Calendar class
  [Maintenance] Deprecate using `parentId` in TaxonSlugController
  Add newline to align with other public method
2023-09-29 09:42:06 +02:00
Rafikooo
82a37628c2
[ECS] Apply ecs fixes 2023-09-28 17:01:06 +02:00
Rafikooo
fc36c2ae24
[UserBundle] Remove the UserPasswordEncoder class and related code 2023-09-26 13:52:18 +02:00
Rafikooo
e7df13958b
[CoreBundle] Move the PaymentFixture class in a proper namespace 2023-09-25 13:44:31 +02:00
Grzegorz Sadowski
34e77e5d0f
Merge branch '1.12' into 1.13
* 1.12:
  Provide post-CR fixes
  Fix static analysis
  Adjust scenarios to use less technical language
  Prevent placing an order with not available shipping method
  Add behat scenario covering preventing a placing an order with a disabled shipping method
  Add behat scenario covering expires session while cart updating
  [API] Fix CommandDenormalizer ignoring custom property names
  Update OrderController.php with early return
  check before refreshing from db
2023-07-21 07:19:19 +02:00
Jan Goralski
5b23529952
[API] Fix CommandDenormalizer ignoring custom property names 2023-07-14 11:45:59 +02:00
Grzegorz Sadowski
70107318d0
Merge branch '1.12' into 1.13
* 1.12:
  Add a conflict for doctrine/orm:2.15.3
  Ignore ApiPlatform\Core\Api\IriConverterInterface DeprecatedInterface Psalm error
  Ignore ApiPlatform\Core\Api\IriConverterInterface DeprecatedClass Psalm error
  Fix misleading signing in the admin panel feature description
  Update PHPStan baseline file
  [PHPStan] Upgrade to level 6 (#14019)
  [Maintenance] Update the copyright block
  [Docs] Update Vision role
  [Fixture] Improve LazyOption performance
  [CS][DX] Refactor
2023-06-23 08:11:04 +02:00
Lorenzo Ruozzi
bd109242e0
[PHPStan] Upgrade to level 6 (#14019) 2023-06-22 09:43:18 +02:00
Lorenzo Ruozzi
6312acfbc7 [PHPStan] Bump to level 5 (#14019) 2023-06-03 09:48:04 +02:00
Lorenzo Ruozzi
7aee835959
[PHPStan] Bump to level 5 (#14019) 2023-05-31 15:56:30 +02:00
Jakub Tobiasz
d0ed1e1cd6
Bump Psalm to v5 2023-05-13 06:03:21 +02:00
Lorenzo Ruozzi
390eb37045
[PHPStan] Bump to level 4 (#14019) 2023-05-12 07:14:48 +02:00
Lorenzo Ruozzi
4bc2aa7c01 [PHPStan] Bump to level 4 (#14019) 2023-05-08 11:53:02 +02:00
Grzegorz Sadowski
0ce74bc597
Refactor not to use RequestStack::getMasterRequest() 2023-01-19 15:15:29 +01:00
Grzegorz Sadowski
b64a9848ac
Merge branch '1.11' into 1.12
* 1.11:
  [PHPStan] Exclude SqlWalker because of a memory issue
  [Core][Configuration] Add sylius_core.order_by_identifier parameter
  [PHPUnit] Test OrderByIdentifierSqlWalker
  Default order by in to-many associations
  Add OrderByIdentifierSqlWalker
2023-01-12 12:31:10 +01:00
Kevin Kaniaburka
53caa2f872
[PHPStan] Exclude SqlWalker because of a memory issue 2023-01-11 10:15:56 +01:00
Grzegorz Sadowski
9632d1f688
Merge branch '1.11' into 1.12
* 1.11:
  [Composer] Add conflict with doctrine/annotations: ^2.0
  [Fix] Symfony container reanimation after friendsofsymfony/rest-bundle: 3.5.0 release
2023-01-09 14:08:55 +01:00
Rafikooo
7624482c42
[Fix] Symfony container reanimation after friendsofsymfony/rest-bundle: 3.5.0 release 2023-01-09 10:37:52 +01:00
Kevin Kaniaburka
cf8a0ecd26
minor #14491 Upgrade PHPStan to level 3 (lruozzi9)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Written during the journey to the SyliusCon, so lit 🔥 😆 

Commits
-------

67004338e1 [PHPStan] Bump to level 3 (#14019)
2022-12-21 09:26:45 +01:00
Kevin Kaniaburka
f220ac0f12
Merge branch '1.11' into 1.12
* 1.11:
  [PHPStan] Exclude Sylius\Bundle\CoreBundle\Doctrine\DQL\Month class
  [Maintenance][Psalm] Add Doctrine\ORM\Event\LifecycleEventArgs to deprecated classes
2022-12-20 16:33:43 +01:00
Rafikooo
a2710242de
[PHPStan] Exclude Sylius\Bundle\CoreBundle\Doctrine\DQL\Month class 2022-12-20 14:41:29 +01:00
Lorenzo Ruozzi
67004338e1 [PHPStan] Bump to level 3 (#14019) 2022-11-23 21:01:54 +01:00
Lorenzo Ruozzi
c04f1b4c6f [PHPStan] Remove Symfony configuration (#14019) 2022-10-20 14:26:50 +02:00
Lorenzo Ruozzi
efc4a6e920 [PHPStan] Fix some static errors (#14019) 2022-10-20 14:26:50 +02:00