Cleanup phpstan

This commit is contained in:
Aleksander Machniak 2024-02-09 14:15:55 +01:00
parent 5c9841e0c9
commit 653734e8fc
2 changed files with 16 additions and 4 deletions

View file

@ -12,3 +12,19 @@ set_include_path(implode(PATH_SEPARATOR, [
]));
require_once 'program/include/iniset.php';
// Stub jqueryui plugin, we're using it, but do not have an easy way to include
class jqueryui extends rcube_plugin
{
public function init()
{
}
public static function miniColors()
{
}
public static function tagedit()
{
}
}

View file

@ -2,9 +2,6 @@ parameters:
bootstrapFiles:
- phpstan.bootstrap.php
excludePaths:
- plugins/libkolab/vendor
fileExtensions:
- php
- php.dist
@ -15,7 +12,6 @@ parameters:
- '#Access to an undefined property (calendar|tasklist)::\$driver#'
- '#Access to an undefined property (calendar|tasklist)::\$itip#'
- '#Access to an undefined property (calendar|tasklist)::\$ical#'
- '#Call to static method .* on an unknown class jqueryui#'
- '#Access to an undefined property Kolab2FA\\.*::\$(username|secret)#'
- '#Unsafe call to private method Firebase\\JWT\\JWT::.*#'
- '#Access to an undefined property Sabre\\VObject.*::\$.*#'