* 1.7:
[Release] Change application version to v1.7.10-DEV
[Release] Generate changelog for v1.7.9
[Release] Change application version to v1.7.9
[Release] Change application version to v1.6.10-DEV
Generate changelog for v1.6.9
[Release] Change application version to v1.6.9
[Maintenance] Adjusting symfony.lock to lowest supported PHP version
* 1.7:
[Maintenance] Remove memory swap
[Maintenance] Lower Sylius\ThemeBundle to 1.5
[Maintenance] Lower Sylius\FixtureBundle to 1.4
[Maintenance] Lower Sylius\Registry to 1.4 & Sylius\Mailer to 1.4
[Maintenance] Upgrade packages to Sylius ^1.6
Attempting to create swap space to accomodate composer's memory issues
Refactored unit test for the order items subtotal calculator test
Removed doc from constructor
Update src/Sylius/Bundle/ShopBundle/Twig/OrderItemsSubtotalExtension.php
Also triggering user deprecation "error"
Changed todo into deprecation comment
Made injection of calculator in twig extension optional
Enabling psalm plugin
Added mockery plugin for psalm
Separated order items subtotal calculation logic from twig extension
Use only empty function to check property path
Check is null
Check if PropertyPath is empty for add error to form
* 1.6:
[Maintenance] Remove memory swap
[Maintenance] Lower Sylius\ThemeBundle to 1.5
[Maintenance] Lower Sylius\FixtureBundle to 1.4
[Maintenance] Lower Sylius\Registry to 1.4 & Sylius\Mailer to 1.4
[Maintenance] Upgrade packages to Sylius ^1.6
Attempting to create swap space to accomodate composer's memory issues
Refactored unit test for the order items subtotal calculator test
Removed doc from constructor
Update src/Sylius/Bundle/ShopBundle/Twig/OrderItemsSubtotalExtension.php
Also triggering user deprecation "error"
Changed todo into deprecation comment
Made injection of calculator in twig extension optional
Enabling psalm plugin
Added mockery plugin for psalm
Separated order items subtotal calculation logic from twig extension
Use only empty function to check property path
Check is null
Check if PropertyPath is empty for add error to form
This PR was merged into the 1.6 branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | 1.6
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| License | MIT
I'd like to be able to use the logic for calculating the subtotal of all order items outside of Twig templates, hence this separation.
Commits
-------
dc9abca3c7 Separated order items subtotal calculation logic from twig extension
06397e9ed9 Added mockery plugin for psalm
09d39b2940 Enabling psalm plugin
40c277ed94 Made injection of calculator in twig extension optional
d7f483d042 Changed todo into deprecation comment
6367184928 Also triggering user deprecation "error"
2f08497550 Update src/Sylius/Bundle/ShopBundle/Twig/OrderItemsSubtotalExtension.php
1ad620448f Removed doc from constructor
f4839fb327 Refactored unit test for the order items subtotal calculator test
7cca8bc5d2 Merge branch 'feature/separate-order-items-subtotal-calculation-logic' of github.com:4c0n/Sylius into feature/separate-order-items-subtotal-calculation-logic
0f64d06909 Attempting to create swap space to accomodate composer's memory issues