From 058e383f651edbfa1e6bd0a90a9575323b8bed99 Mon Sep 17 00:00:00 2001 From: Github bot Date: Fri, 2 Feb 2024 15:50:51 +0000 Subject: [PATCH] build action --- phpstan.src.baseline.neon | 12 +----------- phpstan.tests.baseline.neon | 10 ---------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/phpstan.src.baseline.neon b/phpstan.src.baseline.neon index f8350fea8..edb305912 100644 --- a/phpstan.src.baseline.neon +++ b/phpstan.src.baseline.neon @@ -71,7 +71,7 @@ parameters: path: src/Models/Transfer.php - - message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphOne\\:\\:withTrashed\\(\\)\\.$#" + message: "#^Cannot call method getDynamicDefaultSlug\\(\\) on class\\-string\\|object\\.$#" count: 2 path: src/Models/Wallet.php @@ -85,16 +85,6 @@ parameters: count: 1 path: src/Models/Wallet.php - - - message: "#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:hasMany\\(\\) expects string, mixed given\\.$#" - count: 6 - path: src/Models/Wallet.php - - - - message: "#^Parameter \\#1 \\$related of method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:morphMany\\(\\) expects string, mixed given\\.$#" - count: 2 - path: src/Models/Wallet.php - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" count: 2 diff --git a/phpstan.tests.baseline.neon b/phpstan.tests.baseline.neon index c84ba2d0b..67d8873d2 100644 --- a/phpstan.tests.baseline.neon +++ b/phpstan.tests.baseline.neon @@ -1,10 +1,5 @@ parameters: ignoreErrors: - - - message: "#^Method Bavix\\\\Wallet\\\\Test\\\\Infra\\\\Models\\\\Item\\:\\:boughtGoods\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\ but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\HasMany\\\\.$#" - count: 1 - path: tests/Infra/Models/Item.php - - message: "#^Class Bavix\\\\Wallet\\\\Test\\\\Infra\\\\TestCase is not final\\.$#" count: 1 @@ -14,8 +9,3 @@ parameters: message: "#^Method Bavix\\\\Wallet\\\\Test\\\\Infra\\\\TestCase\\:\\:setUp\\(\\) is not final, but since the containing class is abstract, it should be\\.$#" count: 1 path: tests/Infra/TestCase.php - - - - message: "#^Call to an undefined method Bavix\\\\Wallet\\\\Interfaces\\\\ProductInterface\\:\\:getWallet\\(\\)\\.$#" - count: 1 - path: tests/Units/Domain/CartReceivingTest.php