Files
FOSSBilling/phpstan-baseline.neon
T
Robert Thomas 1bea222a26 Refactor Server Library + Improve Docs (#2063)
* Refactor `Server` library component + improve docs

* Refactor `Server` library component + improve docs

* More meaningful documentation

* Allow null strings

* Generate new PHPStan baseline

* Address comments + Rector and PHP-CS-Fixer

* Handle converting package bandwidth and disk quota into bytes

* Remove previous PHPStan baseline change

* Fix `password_length` bug caused by previous PR
It seems that the database code automatically converts camel case (`passwordLength`) into snake case (`password_length`)

* Rectify migration

* Resolve merge issue
2024-01-16 04:40:22 -08:00

177 lines
5.4 KiB
Plaintext

parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Monolog\\\\Handler\\\\HandlerInterface\\:\\:setFormatter\\(\\)\\.$#"
count: 1
path: src/library/FOSSBilling/Monolog.php
-
message: "#^Access to an undefined property object\\:\\:\\$DomainGetRegistrarLockResult\\.$#"
count: 2
path: src/library/Registrar/Adapter/Namecheap.php
-
message: "#^Method Registrar_Adapter_Resellerclub\\:\\:_makeRequest\\(\\) should return string but returns array\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Method Registrar_Adapter_Resellerclub\\:\\:addSubReseller\\(\\) should return stdClass but returns string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Method Registrar_Adapter_Resellerclub\\:\\:transferDomain\\(\\) should return bool but returns string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'actionstatus' does not exist on string\\.$#"
count: 3
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'admincontact' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'creationtime' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'currentstatus' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'domsecret' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'endtime' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'isprivacyprotected' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'recsonpage' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'result' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'status' does not exist on non\\-falsy\\-string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'status' does not exist on string\\.$#"
count: 6
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Offset 'version' does not exist on string\\.$#"
count: 1
path: src/library/Registrar/Adapter/Resellerclub.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasAnonymousFtp\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasCatchAll\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasCgi\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasCron\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasPhp\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasShell\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasSll\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasSpamFilter\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getMaxEmailAutoresponders\\(\\)\\.$#"
count: 3
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getMaxEmailForwarders\\(\\)\\.$#"
count: 3
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getMaxEmailLists\\(\\)\\.$#"
count: 3
path: src/library/Server/Manager/Directadmin.php
-
message: "#^Access to an undefined property PleskX\\\\Api\\\\Struct\\\\Dns\\\\Info\\:\\:\\$dns\\.$#"
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method PleskX\\\\Api\\\\Operator\\\\Reseller\\:\\:setProperties\\(\\)\\.$#"
count: 4
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasAnonymousFtp\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasCron\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasShell\\(\\)\\.$#"
count: 2
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getHasSpamFilter\\(\\)\\.$#"
count: 1
path: src/library/Server/Manager/Plesk.php
-
message: "#^Call to an undefined method Server_Package\\:\\:getMaxEmailLists\\(\\)\\.$#"
count: 3
path: src/library/Server/Manager/Plesk.php