Files
FOSSBilling/phpstan-baseline.neon
T
Adam Daley c8dee1b3d7 Update PHPStan to ignore erroneous error (#2789)
* Update PHPStan to ignore erroneous error

* Fix PHPStan ignore regex escaping

* Fix PHPStan baseline spacing
2025-06-11 18:20:52 +01:00

127 lines
3.9 KiB
Plaintext

parameters:
ignoreErrors:
-
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\:\:getHasSll\(\)\.$#'
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
-
message: '#^Path in include\(\) "/app/src\\config\.php" is not a file or it does not exist\.$#'
identifier: include.fileNotFound
count: 1
path: src/library/FOSSBilling/Config.php