mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Combine phpstan, cs-check, cs-fix into lint-php recipe; fix lint issues + test failures + duplicate detection bug
This commit is contained in:
@@ -6,12 +6,6 @@ parameters:
|
||||
count: 1
|
||||
path: app/src/Controllers/SearchController.php
|
||||
|
||||
-
|
||||
message: '#^Strict comparison using \!\=\= between mixed~\(0\|0\.0\|''''\|''0''\|array\{\}\|false\|null\) and '''' will always evaluate to true\.$#'
|
||||
identifier: notIdentical.alwaysTrue
|
||||
count: 1
|
||||
path: app/src/Database.php
|
||||
|
||||
-
|
||||
message: '#^Property Dispatcher\:\:\$queryParams is never read, only written\.$#'
|
||||
identifier: property.onlyWritten
|
||||
@@ -30,6 +24,12 @@ parameters:
|
||||
count: 2
|
||||
path: app/src/Parsedown.php
|
||||
|
||||
-
|
||||
message: '#^Offset ''channel_name'' on array\{instance_url\: string, username\: string, password\: string, channel_name\: string, privacy\: int, peertube_video_label\: string, peertube_audio_label\: string\} on left side of \?\? always exists and is not nullable\.$#'
|
||||
identifier: nullCoalesce.offset
|
||||
count: 1
|
||||
path: app/src/PeerTubeService.php
|
||||
|
||||
-
|
||||
message: '#^Offset ''from_email'' on array\{host\: string, port\: int, encryption\: string, username\: string, password\: string, from_email\: string, from_name\: string, notify_email\: string\} on left side of \?\? always exists and is not nullable\.$#'
|
||||
identifier: nullCoalesce.offset
|
||||
|
||||
Reference in New Issue
Block a user