chore(deps): update dependency phpstan/phpstan to v2.1.46 (#3383)

* chore(deps): update dependency phpstan/phpstan to v2.1.46

* chore: update phpstan baseline for v2.1.46 Closure method errors in di.php

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fb80efa5-2d6d-4046-8e4b-19b428abecaa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-04-02 08:37:14 +01:00
1 parent 2d9bc1e08e
commit b6c95c8d14
2 files changed
+58 -4

No files matched your search

Generated
+4 -4
View File
@@ -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",
+54
View File
@@ -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