2024-11-03 10:24:15 +00:00
|
|
|
# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2024-11-02 21:24:10 +00:00
|
|
|
parameters:
|
2024-12-01 20:46:04 +00:00
|
|
|
level: 2
|
2024-11-02 21:24:10 +00:00
|
|
|
|
|
|
|
paths:
|
2024-12-07 21:18:48 +00:00
|
|
|
- addon/
|
2024-11-02 21:24:10 +00:00
|
|
|
- src/
|
|
|
|
|
2024-11-23 23:06:45 +00:00
|
|
|
excludePaths:
|
|
|
|
analyse:
|
2024-11-28 12:39:26 +00:00
|
|
|
- addon/*/lang/*
|
2024-11-23 23:06:45 +00:00
|
|
|
- addon/*/vendor/*
|
2024-12-07 22:08:27 +00:00
|
|
|
- addon/convert/UnitConvertor.php
|
2024-11-30 20:12:10 +00:00
|
|
|
- addon/pumpio/oauth/*
|
2024-11-23 23:06:45 +00:00
|
|
|
|
2024-11-02 21:24:10 +00:00
|
|
|
scanDirectories:
|
|
|
|
- mod
|
2024-11-16 15:54:48 +00:00
|
|
|
- static
|
2024-11-02 21:24:10 +00:00
|
|
|
- vendor
|
2024-11-03 10:24:15 +00:00
|
|
|
- view
|
2024-11-16 15:54:48 +00:00
|
|
|
|
|
|
|
dynamicConstantNames:
|
|
|
|
- DB_UPDATE_VERSION
|
2024-12-07 14:31:24 +00:00
|
|
|
|
|
|
|
ignoreErrors:
|
|
|
|
-
|
2024-12-07 14:35:59 +00:00
|
|
|
# Ignore missing GdImage class in PHP <= 7.4
|
2024-12-07 14:31:24 +00:00
|
|
|
message: '(^Property .+ has unknown class GdImage as its type\.$)'
|
|
|
|
path: src
|
2024-12-07 14:35:59 +00:00
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing IMAP\Connection class in PHP <= 8.0
|
|
|
|
message: '(^Method .+ has invalid return type IMAP\\Connection\.$)'
|
|
|
|
path: src
|
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing IMAP\Connection class in PHP <= 8.0
|
|
|
|
message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)'
|
|
|
|
path: src
|
2024-12-08 21:17:56 +00:00
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing SMTP class in PHPMailer 5.2.21
|
|
|
|
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
|
|
|
|
message: '(^.+ an unknown class SMTP\.$)'
|
|
|
|
path: addon/mailstream/phpmailer
|
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing SMTP class in PHPMailer 5.2.21
|
|
|
|
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
|
|
|
|
message: '(^Property .+ has unknown class SMTP as its type\.$)'
|
|
|
|
path: addon/mailstream/phpmailer
|
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing SMTP class in PHPMailer 5.2.21
|
|
|
|
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
|
|
|
|
message: '(^Method .+ has invalid return type SMTP\.$)'
|
|
|
|
path: addon/mailstream/phpmailer
|
|
|
|
|
|
|
|
-
|
|
|
|
# Ignore missing SMTP class in PHPMailer 5.2.21
|
|
|
|
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
|
|
|
|
message: '(^Instantiated class SMTP not found\.$)'
|
|
|
|
path: addon/mailstream/phpmailer
|