roundcubemail-plugins-kolab/phpstan.neon

35 lines
1.5 KiB
Text
Raw Normal View History

parameters:
bootstrapFiles:
- phpstan.bootstrap.php
fileExtensions:
- php
- php.dist
- inc
ignoreErrors:
# TODO: These need to be fixed somehow
- '#Access to an undefined property (calendar|tasklist)::\$driver#'
- '#Access to an undefined property (calendar|tasklist)::\$itip#'
- '#Access to an undefined property (calendar|tasklist)::\$ical#'
- '#Access to an undefined property Kolab2FA\\.*::\$(username|secret)#'
2024-01-26 14:38:48 +01:00
- '#Access to an undefined property Sabre\\VObject.*::\$.*#'
- '#Access to an undefined property DateTime::\$_dateonly#'
# All expressions below are about libkolabxml (which I don't have installed)
- '#unknown class (kolabformat|Address|Alarm|Contact|ContactReference|Configuration|Email|RecurrenceRule|Key|Related|Url|Snippet|Telephone)#'
- '#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.*)#'
2024-01-26 14:38:48 +01:00
- '#invalid .*type vector#'
2024-01-25 13:47:41 +01:00
- '#(cDateTime|EventCal)#'
paths:
- plugins
2024-01-30 14:45:46 +01:00
level: 4
scanDirectories:
- program/include
- program/actions
treatPhpDocTypesAsCertain: false