Remove unused Parsedown.php (replaced by league/commonmark in Phase 1); update phpstan baseline

This commit is contained in:
Pontoporeia
2026-05-20 01:21:47 +02:00
parent a0cda5b55d
commit d9e4541749
4 changed files with 2 additions and 1840 deletions

View File

@@ -10,7 +10,7 @@
- [x] Phase 1: Replace Parsedown with league/commonmark (4 call sites)
- [x] Phase 2: Replace PeerTubeService HTTP client with Guzzle
- [x] Phase 3: Replace SmtpRelay SMTP socket with PHPMailer
- [ ] Phase 4 (optional): Replace Crypto with defuse/php-encryption
- [-] Phase 4: Crypto defuse/php-encryption — DEFERRED (current AES-256-GCM impl is correct; migration risk > reward)
## justfile: combine phpstan + cs-check + cs-fix into lint-php
- [x] Merge phpstan, cs-check, cs-fix into single lint-php recipe with backward-compat aliases

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
[1779232645]
[1779232892]

View File

@@ -12,18 +12,6 @@ parameters:
count: 1
path: app/src/Dispatcher.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: app/src/Parsedown.php
-
message: '#^Variable \$text might not be defined\.$#'
identifier: variable.undefined
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