roundcubemail-plugins-kolab/phpstan.neon
Aleksander Machniak 198376f46c PHPStan Level:3
2024-01-29 13:53:48 +01:00

38 lines
1.7 KiB
Text

parameters:
bootstrapFiles:
- phpstan.bootstrap.php
excludePaths:
- plugins/libkolab/vendor
fileExtensions:
- php
- php.dist
- inc
ignoreErrors:
- '#Access to an undefined property (calendar|tasklist)::\$driver#'
- '#Access to an undefined property (calendar|tasklist)::\$itip#'
- '#Access to an undefined property (calendar|tasklist)::\$ical#'
- '#unknown class (kolabformat|Address|Alarm|Contact|ContactReference|Configuration|Email|RecurrenceRule|Key|Related|Url|Snippet|Telephone)#'
- '#Call to an undefined static method PEAR::raiseError#'
#- '#Class .* constructor invoked with 0 parameters#'
- '#class (Address|Affiliation|Alarm|Attachment|Attendee|Duration|ContactReference|Configuration|Dictionary|Email|EmailReference|DayPos|FileDriver|Key|NameComponents|SnippetCollection|RecurrenceRule|Related|Relation|EventCal|Snippet|Telephone|Url|vector.*|cDatetime|XMLObject|CustomProperty) not found#i'
- '#Call to method .* on an unknown class (Affiliation|Attachment|Attendee|cDateTime|Dictionary|EventCal|FileDriver|NameComponents|Relation|snippet|vector.*)#'
- '#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.*::\$.*#'
- '#invalid .*type vector#'
- '#(cDateTime|EventCal)#'
paths:
- plugins
level: 3
scanDirectories:
- program/include
- program/actions
treatPhpDocTypesAsCertain: false