From 06aaf30eb2ff7cc8ff937a412aa1632cf3318ff2 Mon Sep 17 00:00:00 2001 From: leemyong pakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Tue, 5 Dec 2023 12:58:26 +0700 Subject: [PATCH] phpstan-8.0 fix --- tests/php/phpstan/phpstan-8.0.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php/phpstan/phpstan-8.0.neon b/tests/php/phpstan/phpstan-8.0.neon index 171bdca3d..008b8fe87 100644 --- a/tests/php/phpstan/phpstan-8.0.neon +++ b/tests/php/phpstan/phpstan-8.0.neon @@ -7,5 +7,5 @@ parameters: - '~^Parameter #2 \$active of static method CurrencyCore::getCurrencies\(\) expects bool, int given\.$~' - '~^Parameter #3 \$groupBy of static method CurrencyCore::getCurrencies\(\) expects bool, Shop given\.$~' - '~^Parameter #\d+ \$\w+ of static method ProductCore::priceCalculation\(\) expects \w+, \w+ given\.$~' - - 'Parameter #2 \$full of static method ToolsCore::displayDate\(\) expects bool, null given\.$~'. + - 'Parameter #2 \$full of static method ToolsCore::displayDate\(\) expects bool, null given\.$~' - '~^Static method ToolsCore::displayDate\(\) invoked with 3 parameters, 1-2 required\.$~'