mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Add composer.json with league/commonmark, guzzlehttp/guzzle, phpmailer/phpmailer; wire autoloader into bootstrap; document de-librairisation strategy and PHP extension setup
This commit is contained in:
12
TODO.md
12
TODO.md
@@ -1,5 +1,17 @@
|
||||
# Current tasks
|
||||
|
||||
## De-librairisation — replace custom infrastructure with off-the-shelf libraries
|
||||
- [x] Write docs/de-librairisation.md strategy document
|
||||
- [x] Create composer.json with league/commonmark, guzzlehttp/guzzle, phpmailer/phpmailer
|
||||
- [x] composer install (prod + dev deps)
|
||||
- [x] Wire vendor/autoload.php into app/bootstrap.php
|
||||
- [x] Update phpstan.neon (scanDirectories replaces manual Parsedown scan)
|
||||
- [x] Write docs/system-setup.md (PHP extension requirements)
|
||||
- [ ] Phase 1: Replace Parsedown with league/commonmark (4 call sites)
|
||||
- [ ] Phase 2: Replace PeerTubeService HTTP client with Guzzle
|
||||
- [ ] Phase 3: Replace SmtpRelay SMTP socket with PHPMailer
|
||||
- [ ] Phase 4 (optional): Replace Crypto with defuse/php-encryption
|
||||
|
||||
## 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
|
||||
- [x] Run lint-php + cs-fix, fix all fixable issues (4 real bugs + CS formatting + regenerated baseline)
|
||||
|
||||
Reference in New Issue
Block a user