Files
FOSSBilling/phpstan-baseline.neon
T
b49ccb9df8 Sanitize invoice handling, enhance security, and improve API responses (#3524)
* Sanitize invoice hash and secure asset paths

* Guard against missing client session

* Serialize invoice items into indexed inputs

* Validate URL field input type before checking

* Block legacy paid support hooks on ticket create

* Harden CSRF token validation in API client

* Add 'Paidsupport' to cspell word list

* Use Stripe metadata to link client and invoice

* Remove legacy Paidsupport hooks handling

* Add paidsupport to cspell word list

* Use config debug flag; always warn if install exists

* Revert "Use config debug flag; always warn if install exists"

This reverts commit fda6fcc0b05758d897a837d125ce1c0a35be0226.

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix Stripe getClientFromTransaction and simplify UpdatePatcher cache invalidation

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/49a72bff-61f2-4a3e-9107-08aec7b255d2

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

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Restrict Dompdf logo remote URLs to http/https schemes only

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58c16027-cc36-4c11-a039-0bfcaf5a45f5

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

* Enable Buildx cache and add release archive

* Restrict `claimForProcessing` SQL and update tests

* Add HTML sanitizer and sandboxed Twig rendering

* Update test expected HTML in ServiceTest

* Add `RequestFactory` and trusted proxy support

* Use HttpFoundation Responses & Request everywhere

* Return HTTP Response objects for exports/downloads

* Refactor request routing, auth errors and CSV export

* Remove RequestFactory wrapper and minor cleanups

* Specify Response union return types

* Parenthesize response constructions before send

* Clean up PHPStan ignore rules

* Relax HTML test to accept optional tbody/br

* fix(theme): call getUploadedAssets without arguments

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/ce04bff6-ccde-4a10-8a68-f6278b1b550e

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

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@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>
2026-05-12 00:10:49 +01:00

128 lines
3.9 KiB
Plaintext

parameters:
ignoreErrors:
-
message: '#^Call to an undefined method Closure\:\:getExistingModelById\(\)\.$#'
identifier: method.notFound
count: 2
path: src/di.php
-
message: '#^Call to an undefined method Monolog\\Handler\\HandlerInterface\:\:setFormatter\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/FOSSBilling/Monolog.php
-
message: '#^Method Registrar_Adapter_Namecheap\:\:getPrivacyInfo\(\) should return array\<string\> but returns array\<string, bool\|string\>\.$#'
identifier: return.type
count: 1
path: src/library/Registrar/Adapter/Namecheap.php
-
message: '#^Method Registrar_Adapter_Resellerclub\:\:addSubReseller\(\) should return stdClass but returns array\|string\.$#'
identifier: return.type
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasAnonymousFtp\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasCatchAll\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasCgi\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasCron\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasPhp\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasShell\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasSsl\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasSpamFilter\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getMaxEmailAutoresponders\(\)\.$#'
identifier: method.notFound
count: 4
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getMaxEmailForwarders\(\)\.$#'
identifier: method.notFound
count: 4
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Call to an undefined method Server_Package\:\:getMaxEmailLists\(\)\.$#'
identifier: method.notFound
count: 4
path: src/library/Server/Manager/Directadmin.php
-
message: '#^Access to an undefined property PleskX\\Api\\Struct\\Dns\\Info\:\:\$dns\.$#'
identifier: property.notFound
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasAnonymousFtp\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasCron\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasShell\(\)\.$#'
identifier: method.notFound
count: 2
path: src/library/Server/Manager/Plesk.php
-
message: '#^Call to an undefined method Server_Package\:\:getHasSpamFilter\(\)\.$#'
identifier: method.notFound
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: '#^Call to an undefined method Server_Package\:\:getMaxEmailLists\(\)\.$#'
identifier: method.notFound
count: 2
path: src/library/Server/Manager/Plesk.php