Skip to content

Commit fec3501

Browse files
phpstan-botondrejmirtes
authored andcommitted
Update baselines
1 parent 9db34df commit fec3501

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

e2e/integration/composer-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ parameters:
235235
count: 1
236236
path: repo/tests/Composer/Test/Repository/PlatformRepositoryTest.php
237237

238+
-
239+
message: "#^Unreachable statement \\- code above always terminates\\.$#"
240+
count: 1
241+
path: repo/tests/Composer/Test/Repository/VcsRepositoryTest.php
242+
238243
-
239244
message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
240245
count: 6

e2e/integration/prestashop-baseline.neon

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ parameters:
191191
path: repo/classes/Media.php
192192

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

@@ -565,6 +565,11 @@ parameters:
565565
count: 1
566566
path: repo/classes/order/OrderHistory.php
567567

568+
-
569+
message: "#^Binary operation \"\\+\" between float and array\\|float results in an error\\.$#"
570+
count: 1
571+
path: repo/classes/order/OrderInvoice.php
572+
568573
-
569574
message: "#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#"
570575
count: 1
@@ -722,7 +727,7 @@ parameters:
722727

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

728733
-
@@ -757,7 +762,7 @@ parameters:
757762

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

763768
-
@@ -942,17 +947,17 @@ parameters:
942947

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

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

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

958963
-
@@ -973,12 +978,7 @@ parameters:
973978
-
974979
message: "#^Variable \\$stock_manager in isset\\(\\) always exists and is not nullable\\.$#"
975980
count: 1
976-
path: repo/controllers/admin/AdminProductsController.php
977-
978-
-
979-
message: "#^Call to function method_exists\\(\\) with QuickAccess and 'add' will always evaluate to true\\.$#"
980-
count: 1
981-
path: repo/controllers/admin/AdminQuickAccessesController.php
981+
path: repo/controllers/admin/AdminProductsControesController.php
982982

983983
-
984984
message: "#^Method AdminRequestSqlControllerCore\\:\\:renderView\\(\\) should return string but empty return statement found\\.$#"
@@ -2969,3 +2969,11 @@ parameters:
29692969
message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#"
29702970
count: 2
29712971
path: repo/tools/build/Library/InstallUnpacker/classes/Download.php
2972+
always evaluate to true\\.$#"
2973+
count: 1
2974+
path: repo/tests/Unit/PrestaShopBundle/Routing/Linter/NamingConventionLinterTest.php
2975+
2976+
-
2977+
message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#"
2978+
count: 2
2979+
path: repo/tools/build/Library/InstallUnpacker/classes/Download.php

0 commit comments

Comments
 (0)