A free open source IT asset/license management system
Updated baseline
snipe035c24b60cc9
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neonindex 42509b35bb..a752a90693 100644--- a/phpstan-baseline.neon+++ b/phpstan-baseline.neon@@ -12203,3 +12203,32 @@ parameters:identifier: match.unhandledcount: 2path: routes/web.php++ # Added manually. These five findings show up on the PHP 8.5 CI+ # runner but not on a long-lived local composer install, most+ # likely because a fresh vendor resolves larastan's facade /+ # interface class map slightly differently. Real findings worth+ # fixing later, not this PR's scope:+ # Crypt::Decrypt should be Crypt::decrypt (Laravel facade+ # camelCase convention; runtime still works via PHP's case-+ # insensitive method dispatch). PasswordBroker::getUser and+ # ::createToken live on the concrete Illuminate\Auth\Passwords\+ # PasswordBroker but not on the Illuminate\Contracts\Auth\+ # PasswordBroker interface that broker() is typed to return.+ -+ message: '#^Call to an undefined static method Illuminate\\Support\\Facades\\Crypt\:\:Decrypt\(\)\.$#'+ identifier: staticMethod.notFound+ count: 3+ path: app/Console/Commands/LdapTroubleshooter.php++ -+ message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\PasswordBroker\:\:getUser\(\)\.$#'+ identifier: method.notFound+ count: 1+ path: app/Http/Controllers/Auth/ResetPasswordController.php++ -+ message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\PasswordBroker\:\:createToken\(\)\.$#'+ identifier: method.notFound+ count: 1+ path: app/Notifications/WelcomeNotification.phpdiff --git a/phpstan.neon.dist b/phpstan.neon.distindex cf3bc2ad9f..3c2bc852fd 100644--- a/phpstan.neon.dist+++ b/phpstan.neon.dist@@ -28,6 +28,15 @@ parameters:# under whatever version CI provides; only the target check moves.phpVersion: 80200+ # Larastan's facade / interface class-map resolution varies slightly+ # between fresh CI installs and long-lived local vendor trees, so a+ # baseline entry generated in one environment can be "unmatched" in+ # the other. Tolerate unmatched entries rather than fail — the+ # baseline is an allow-list, not a must-match assertion. Real+ # regressions still fail because they'd be genuine NEW findings+ # that aren't in the baseline.+ reportUnmatchedIgnoredErrors: false+parallel:maximumNumberOfProcesses: 4