Skip to content

Commit

Permalink
Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot authored and ondrejmirtes committed Jul 23, 2024
1 parent 9db34df commit fec3501
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
5 changes: 5 additions & 0 deletions e2e/integration/composer-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ parameters:
count: 1
path: repo/tests/Composer/Test/Repository/PlatformRepositoryTest.php

-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: repo/tests/Composer/Test/Repository/VcsRepositoryTest.php

-
message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
count: 6
Expand Down
32 changes: 20 additions & 12 deletions e2e/integration/prestashop-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ parameters:
path: repo/classes/Media.php

-
message: "#^Offset 1 on array\\{0\\: string, 1\\: string, 2\\?\\: string\\} in isset\\(\\) always exists and is not nullable\\.$#"
message: "#^Offset 1 on array\\{0\\: string, 1\\: non\\-empty\\-string, 2\\?\\: non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: repo/classes/Media.php

Expand Down Expand Up @@ -565,6 +565,11 @@ parameters:
count: 1
path: repo/classes/order/OrderHistory.php

-
message: "#^Binary operation \"\\+\" between float and array\\|float results in an error\\.$#"
count: 1
path: repo/classes/order/OrderInvoice.php

-
message: "#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#"
count: 1
Expand Down Expand Up @@ -722,7 +727,7 @@ parameters:

-
message: "#^Method AdminCartRulesControllerCore\\:\\:afterAdd\\(\\) should return bool but return statement is missing\\.$#"
count: 1
count: 2
path: repo/controllers/admin/AdminCartRulesController.php

-
Expand Down Expand Up @@ -757,7 +762,7 @@ parameters:

-
message: "#^Method AdminCountriesControllerCore\\:\\:processBulkAffectZone\\(\\) should return bool but return statement is missing\\.$#"
count: 1
count: 2
path: repo/controllers/admin/AdminCountriesController.php

-
Expand Down Expand Up @@ -942,17 +947,17 @@ parameters:

-
message: "#^Method AdminProductsControllerCore\\:\\:processBulkDelete\\(\\) should return bool but return statement is missing\\.$#"
count: 1
count: 2
path: repo/controllers/admin/AdminProductsController.php

-
message: "#^Method AdminProductsControllerCore\\:\\:processDelete\\(\\) should return ObjectModel\\|false but return statement is missing\\.$#"
count: 1
count: 2
path: repo/controllers/admin/AdminProductsController.php

-
message: "#^Method AdminProductsControllerCore\\:\\:processPosition\\(\\) should return ObjectModel\\|false but return statement is missing\\.$#"
count: 1
count: 3
path: repo/controllers/admin/AdminProductsController.php

-
Expand All @@ -973,12 +978,7 @@ parameters:
-
message: "#^Variable \\$stock_manager in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: repo/controllers/admin/AdminProductsController.php

-
message: "#^Call to function method_exists\\(\\) with QuickAccess and 'add' will always evaluate to true\\.$#"
count: 1
path: repo/controllers/admin/AdminQuickAccessesController.php
path: repo/controllers/admin/AdminProductsControesController.php

-
message: "#^Method AdminRequestSqlControllerCore\\:\\:renderView\\(\\) should return string but empty return statement found\\.$#"
Expand Down Expand Up @@ -2969,3 +2969,11 @@ parameters:
message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#"
count: 2
path: repo/tools/build/Library/InstallUnpacker/classes/Download.php
always evaluate to true\\.$#"
count: 1
path: repo/tests/Unit/PrestaShopBundle/Routing/Linter/NamingConventionLinterTest.php

-
message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#"
count: 2
path: repo/tools/build/Library/InstallUnpacker/classes/Download.php

0 comments on commit fec3501

Please sign in to comment.