mirror of
https://github.com/friendica/friendica
synced 2025-11-15 08:08:26 +01:00
Ignore type mismatches of BaseModule and BaseRepository properties in child classes
This commit is contained in:
parent
696972629d
commit
6633d1b491
1 changed files with 14 additions and 0 deletions
|
|
@ -45,3 +45,17 @@ parameters:
|
|||
# Ignore missing IMAP\Connection class in PHP <= 8.0
|
||||
message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)'
|
||||
path: src
|
||||
|
||||
-
|
||||
# #Fixme: Ignore type mismatch of BaseRepository::$factory in child classes
|
||||
message: '#^PHPDoc type Friendica\\.+ of property Friendica\\.+\:\:\$factory is not the same as PHPDoc type Friendica\\Capabilities\\ICanCreateFromTableRow of overridden property Friendica\\BaseRepository\:\:\$factory\.$#'
|
||||
identifier: property.phpDocType
|
||||
count: 13
|
||||
path: src
|
||||
|
||||
-
|
||||
# #Fixme: Ignore type mismatch of BaseModule::$response in BaseApi module
|
||||
message: '#^PHPDoc type Friendica\\Module\\Api\\ApiResponse of property Friendica\\Module\\BaseApi\:\:\$response is not the same as PHPDoc type Friendica\\Capabilities\\ICanCreateResponses of overridden property Friendica\\BaseModule\:\:\$response\.$#'
|
||||
identifier: property.phpDocType
|
||||
count: 1
|
||||
path: src/Module/BaseApi.php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue