diff --git a/composer.lock b/composer.lock index 28e3ecf9b..0680abb16 100644 --- a/composer.lock +++ b/composer.lock @@ -8085,11 +8085,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.44", + "version": "2.1.46", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/4a88c083c668b2c364a425c9b3171b2d9ea5d218", - "reference": "4a88c083c668b2c364a425c9b3171b2d9ea5d218", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a193923fc2d6325ef4e741cf3af8c3e8f54dbf25", + "reference": "a193923fc2d6325ef4e741cf3af8c3e8f54dbf25", "shasum": "" }, "require": { @@ -8134,7 +8134,7 @@ "type": "github" } ], - "time": "2026-03-25T17:34:21+00:00" + "time": "2026-04-01T09:25:14+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 87a3e43eb..b3c7bb788 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,59 @@ parameters: ignoreErrors: + - + message: '#^Call to an undefined method Closure\:\:adminLink\(\)\.$#' + identifier: method.notFound + count: 2 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:delete\(\)\.$#' + identifier: method.notFound + count: 2 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:findAll\(\)\.$#' + identifier: method.notFound + count: 2 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:get\(\)\.$#' + identifier: method.notFound + count: 2 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:getExistingModelById\(\)\.$#' + identifier: method.notFound + count: 2 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:isAdminLoggedIn\(\)\.$#' + identifier: method.notFound + count: 1 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:isClientLoggedIn\(\)\.$#' + identifier: method.notFound + count: 1 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:link\(\)\.$#' + identifier: method.notFound + count: 3 + path: src/di.php + + - + message: '#^Call to an undefined method Closure\:\:set\(\)\.$#' + identifier: method.notFound + count: 1 + path: src/di.php + - message: '#^Call to an undefined method Monolog\\Handler\\HandlerInterface\:\:setFormatter\(\)\.$#' identifier: method.notFound