Commit graph

54 commits

Author SHA1 Message Date
Kamil Kokot
5973709e62
Upgrade static analysis tools and improve their usage 2020-06-18 17:42:57 +02:00
Grzegorz Sadowski
016e8d506e
Resolve conlict during upmerging 2020-06-08 11:46:26 +02:00
Tomanhez
6302ef131a Add ignore files to psalm 2020-06-08 10:49:00 +02:00
Kamil Kokot
ca777cf6de
Fix Psalm errors 2020-05-28 10:41:19 +02:00
Kamil Kokot
ab375ffb32
Fix Psalm errors 2020-05-27 19:45:36 +02:00
Thomas Devos
078171031d Fix indentation error in psalm config file 2020-05-13 15:18:31 +02:00
Thomas Devos
ff6075115d Fix errors in psalm config file (xml version + indentations) 2020-05-13 15:16:02 +02:00
Thomas Devos
fd0ffb2e3a Psalm rulset modified for deprecated annotation added 2020-05-12 22:25:39 +02:00
Mateusz Zalewski
1c97d2d6a3
Merge branch '1.7'
* 1.7:
  Fix all Psalm errors
  fixed wrapping of tabs in product attribute section
2020-05-07 15:41:12 +02:00
Kamil Kokot
fbf775d260
Fix all Psalm errors 2020-05-07 14:46:51 +02:00
Olivier ALLAIN
5f71fd358c update Psalm version 2020-04-20 19:47:43 +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
Kamil Kokot
f447181251
[Symfony 5] Upgrade to PHPUnit 8 and DependencyInjectionTest 4 2020-04-02 23:40:44 +02:00
Adam Kasperczak
b491a99f1f
minor fixes after merge 2020-03-17 15:14:27 +01:00
Youri Westerman
09d39b2940 Enabling psalm plugin 2020-03-06 14:43:24 +01:00
Grzegorz Sadowski
7aa394d5c5
[Shipment] Fixes for setting shipped at date feature 2020-02-11 09:21:29 +01:00
Adam Kasperczak
d36d4a4b60
Add shippedAt date on shipment 2020-02-11 09:21:28 +01:00
Łukasz Chruściel
915c947db0
[Psalm] Temporary suppress of false possitive 2020-01-08 12:16:33 +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
c6e75b8d41
Introduce the improved template events system 2019-12-18 10:28:58 +01:00
Grzegorz Sadowski
e418a76205
[Psalm] Exclude deprecated doctrine classes from analysis 2019-12-13 13:53:32 +01:00
Kamil Kokot
09da168a3a
Revert changes causing BC break 2019-11-22 15:15:23 +01:00
Kamil Kokot
bab08ea69d
[Psalm] Fix the build after Symfony 4.4 update 2019-11-21 20:19:16 +01:00
Grzegorz Sadowski
b0cd89c7b9
refactor #10859 [Psalm] Treat MethodSignatureMismatch as errors (pamil)
This PR was merged into the 1.7-dev branch.

Discussion
----------



Commits
-------

58f77539f1 [Psalm] Treat MethodSignatureMismatch as errors
2019-11-21 13:24:24 +01:00
Kamil Kokot
58f77539f1
[Psalm] Treat MethodSignatureMismatch as errors 2019-11-14 16:32:56 +01:00
Kamil Kokot
2a965183cc
[Psalm] Treat MismatchingDocblockReturnType as errors 2019-11-14 15:52:09 +01:00
Kamil Kokot
23d5f08fac
minor #10836 Do not use deprecated Symfony events (pamil)
This PR was merged into the 1.5-dev branch.

Discussion
----------



Commits
-------

89a0d6e246 Do not use deprecated Symfony events
2019-11-13 10:00:50 +01:00
Kamil Kokot
89a0d6e246
Do not use deprecated Symfony events 2019-11-12 21:05:24 +01:00
Kamil Kokot
f9495d57e0
[Psalm] Improve docblocks 2019-11-12 15:29:03 +01:00
Kamil Kokot
4c480427ab
[Psalm] Treat checks from level 5 as errors 2019-11-12 14:07:27 +01:00
Kamil Kokot
840fe93e0b
[Psalm] Fix the build 2019-11-12 13:17:03 +01:00
Łukasz Chruściel
a68c94c378
refactor #10840 [Psalm] Treat PossiblyUndefined* and PossiblyFalse* as errors (pamil)
This PR was merged into the 1.6-dev branch.

Discussion
----------



Commits
-------

089a0e6c50 [Psalm] Treat PossiblyFalse* as errors
8f05ddd66f [Psalm] Treat PossiblyUndefined* as errors
2019-11-12 10:25:18 +01:00
Kamil Kokot
8f05ddd66f
[Psalm] Treat PossiblyUndefined* as errors 2019-11-11 21:12:19 +01:00
Kamil Kokot
089a0e6c50
[Psalm] Treat PossiblyFalse* as errors 2019-11-11 21:05:53 +01:00
Kamil Kokot
a6b93bd35f
Remove usage of deprecated "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()" 2019-11-08 12:47:42 +01:00
Kamil Kokot
be98c04b93
[Psalm] Fix the build 2019-11-08 10:28:22 +01:00
Kamil Kokot
5d8511e7cd
[Psalm] Treat InvalidReturnType and InvalidReturnStatement as errors 2019-11-08 10:28:22 +01:00
Kamil Kokot
1662412d32
[Psalm] Treat Undefined* as errors 2019-11-08 10:24:44 +01:00
Kamil Kokot
b9ca6c2490
[Psalm] Treat Invalid* as errors 2019-11-08 10:24:43 +01:00
Kamil Kokot
075b497d0d
[Psalm] Treat ReservedWord, OverriddenMethodAccess and InaccessibleProperty as errors 2019-11-08 10:24:43 +01:00
Kamil Kokot
983a11fb5d
[Psalm] Treat UnresolvableInclude and RawObjectIteration as errors 2019-11-08 10:24:43 +01:00
Kamil Kokot
585171e44a
[Psalm] Treat MissingClosureReturnType as error 2019-11-08 10:24:43 +01:00
Kamil Kokot
488888543a
[Psalm] Treat InvalidDocblock and MisplacedRequiredParam as errors 2019-11-08 10:24:43 +01:00
Kamil Kokot
287e61d1f3
[Psalm] Treat MissingPropertyType as error 2019-11-08 10:24:43 +01:00
Kamil Kokot
067d01f4b7
[Psalm] Treat MissingClosureParamType as error 2019-11-08 10:24:42 +01:00
Kamil Kokot
ab73e0ae52
[Psalm] Treat MissingConstructor as error 2019-11-08 10:24:42 +01:00
Kamil Kokot
006fb04f36
[Psalm] Treat LessSpecificReturnType as error 2019-11-08 10:24:42 +01:00
Kamil Kokot
1fe082e8f9
[Psalm] Treat RedundantCondition as error 2019-11-08 10:24:42 +01:00
Kamil Kokot
ac1dd632d3
[Psalm] Treat InvalidStringClass as error 2019-11-08 10:24:42 +01:00