Commit graph

40 commits

Author SHA1 Message Date
Kamil Kokot
e5f7fc3e28
[API] Registering shop users 2020-04-15 17:07:57 +02:00
Kamil Kokot
f5564d0ed6
Merge branch '1.7'
* 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
2020-04-10 13:06:10 +02:00
Kamil Kokot
895c0509c3
Merge branch '1.6' into 1.7
* 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
2020-04-10 11:11:51 +02:00
Łukasz Chruściel
ade9a9e58a
refactor #11191 Separated order items subtotal calculation logic from twig extension (4c0n)
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
2020-04-09 17:10:19 +02:00
Kamil Kokot
f447181251
[Symfony 5] Upgrade to PHPUnit 8 and DependencyInjectionTest 4 2020-04-02 23:40:44 +02:00
Łukasz Chruściel
593c50a2cb
Merge branch '1.7'
* 1.7:
  Install symfony/polyfill-php80 to fix the psalm build
2020-03-31 17:38:19 +02:00
Łukasz Chruściel
d20fba9b02
Merge branch '1.6' into 1.7
* 1.6:
  Install symfony/polyfill-php80 to fix the psalm build
2020-03-31 17:34:58 +02:00
Mateusz Zalewski
b8bfc58c5e
Install symfony/polyfill-php80 to fix the psalm build 2020-03-31 16:39:21 +02:00
Grzegorz Sadowski
c724c9fbc2
[Psalm] Add symfony/polyfill-php80 to fix build 2020-03-27 15:09:25 +01:00
Mateusz Zalewski
f4d7b54da3
[API] Install jwt authentication bundle and configure basic security 2020-03-17 15:14:24 +01:00
Kamil Kokot
90fd5eb6b9
Init API Bundle 2020-03-17 15:14:17 +01:00
Youri Westerman
06397e9ed9 Added mockery plugin for psalm 2020-03-06 14:17:54 +01:00
Kamil Kokot
7d54cd043c
Update dependencies & apply coding standard fixes 2020-03-02 15:45:42 +01:00
Kamil Kokot
a046604d90
Update Mink-related libraries to allow for Symfony 5 2020-02-26 15:00:17 +01:00
Kamil Kokot
7b44990acb
Upgrade to Sonata Block Bundle ^4.0 2020-01-15 13:16:17 +01:00
Kamil Kokot
f607563d32
Remove sonata-project/intl-bundle in favour of twig/intl-extra 2019-12-23 10:11:44 +01:00
Kamil Kokot
65883a03ae
Remove doctrine/doctrine-fixtures-bundle from dependencies and move doctrine/data-fixtures to dev dependencies 2019-12-19 10:48:47 +01:00
Kamil Kokot
5cc4690faa
Use Symfony CLI command to check security 2019-12-18 16:51:24 +01:00
Kamil Kokot
3bb2b7ca61
Use Symfony CLI command instead of symfony/web-server-bundle 2019-12-18 15:50:15 +01:00
Kamil Kokot
b6f794a764
Merge branch '1.6'
* 1.6:
  Apply coding standards fixes
  Update symfony.lock file
  Rebase YAML standards PR to Sylius 1.5
  [API] Refactoring of lazy customer loader
  Yaml standards: add empty line at the end check
  Yaml standards: add indent check
  Composer: added sspooky13/yaml-standards library to project
  [Maintenance] Remove shipping bundle from spec namespace config
  Fixed LazyCustomerLoader::loadValuesForChoices implementation
  Added LazyCustomerLoader for OrderType of SyliusAdminApiBundle
2019-12-18 13:34:01 +01:00
Kamil Kokot
3cf6cf9522
Merge branch '1.5' into 1.6
* 1.5:
  Apply coding standards fixes
  Update symfony.lock file
  Rebase YAML standards PR to Sylius 1.5
  [API] Refactoring of lazy customer loader
  Yaml standards: add empty line at the end check
  Yaml standards: add indent check
  Composer: added sspooky13/yaml-standards library to project
  [Maintenance] Remove shipping bundle from spec namespace config
  Fixed LazyCustomerLoader::loadValuesForChoices implementation
  Added LazyCustomerLoader for OrderType of SyliusAdminApiBundle
2019-12-18 13:26:48 +01:00
Kamil Kokot
b0e7a9ccce
Update symfony.lock file 2019-12-18 13:21:47 +01:00
Kamil Kokot
006f3bb9e2
Lock static analysis tools versions and fix the build 2019-12-17 15:44:49 +01:00
Kamil Kokot
331ce90199
Upgrade dependencies 2019-12-04 14:57:33 +01:00
Arkadiusz Kondas
f4ec1249b8
Add help messages to settings requirements checked in CLI 2019-12-02 08:50:05 +01:00
Kamil Kokot
be98c04b93
[Psalm] Fix the build 2019-11-08 10:28:22 +01:00
kulczy
0acde3ae2c
New Webpack approach 2019-11-07 14:18:35 +01:00
kulczy
031f94c499
Add Webpack Encore 2019-11-06 15:08:34 +01:00
Kamil Kokot
92774b61d9
Merge branch '1.5' into 1.6
* 1.5:
  Coding standard fixes
  Coding standard fixes
2019-10-05 15:41:30 +02:00
Kamil Kokot
66be101d99
Coding standard fixes 2019-10-04 16:48:12 +02:00
Kamil Kokot
6698e91397
Fix Psalm false-positives 2019-07-09 21:36:32 +08:00
Loïc Frémont
2956c88a1d
psalm configuration 2019-06-27 14:46:37 +08:00
Łukasz Chruściel
78a04bfecb
Resolved 1.3 to 1.4 merge conflict 2019-03-07 10:34:43 +01:00
Michał Kalkowski
f334f410f0 Add behat/transliterator library 2019-03-06 17:49:50 +01:00
Kamil Kokot
849ac8f10d
Merge branch '1.3' into 1.4
* 1.3:
  Update configuration.rst
  Update configuration.rst
  Include PHP 7.3 in the build
2019-01-28 10:51:39 +01:00
Kamil Kokot
c8caf4310e
Include PHP 7.3 in the build 2019-01-24 15:46:50 +01:00
Kamil Kokot
708c5cdc59
Use FriendsOfBehat\SymfonyExtension v2 2019-01-16 21:49:44 +01:00
Kamil Kokot
7ed723981f
Switch to Symfony's dotenv file handling 2019-01-11 15:29:24 +01:00
Kamil Kokot
7d425522a7
Update symfony.lock 2018-10-24 16:09:26 +02:00
Kamil Kokot
2a70a0c155
Introduce Symfony Flex 2018-08-27 14:15:23 +02:00