peptiderepo
7217c154bb
fix: resolve pre-existing PHPCS violations (Yoda conditions + short ternaries)
...
Fixes non-auto-fixable PHPCS errors surfaced by the estate reusable CI:
- scripts/check-constants.php: Yoda conditions at lines 140, 201
- templates/admin/ideas-browser.php: Elvis (?:) → explicit ternary (line 75)
- templates/admin/review-queue.php: Elvis (?:) → explicit ternaries (lines 144, 161-163)
- templates/admin/metabox-generation-info.php: Elvis (?:) → explicit ternaries (7 lines)
- .github/mu-plugins/prautoblogger-deploy-receiver.php: phpcs:ignore for
ZipArchive->numFiles (native PHP property, can't be snake_cased); Elvis (?:) fix
All violations were pre-existing; none introduced by this PR.
Agent-Session: claude/adopt-ci-20260616
2026-06-16 14:04:40 +00:00
peptiderepo
1813d419e5
style: auto-fix PHPCS violations via phpcbf
2026-06-16 14:01:59 +00:00
peptiderepo
d770e8a86a
feat: M4 in-admin manual generation on chained-cron checkpoints + IA/perf pass (v0.21.0) ( #166 )
...
Final Phase 2 admin milestone. Board "New Article" runs through the M3 chained-cron checkpoint state machine (one stage/idea per tick, queue persisted before generate, lock released on every exit path) so generation survives Hostinger background-kill; retires the SSH-only do_action workaround (WP-CLI routes through the same entry). IA/perf: settings-backed board/ideas pagination + db 1.4.0 indexes. Folds guard P2s (--self-test + window doc).
QA: APPROVE-WITH-P2-NOTES @ f2a00d4 + delta APPROVE @ 0c8071f . Deferred (tracked): class-admin-page.php 353-line split + pagination Settings-UI fields.
Agent-Session: phase2-admin-m4-20260614
2026-06-15 00:48:43 +07:00
peptiderepo
326a1af900
ci: guard against undefined PRAUTOBLOGGER_* constants ( #165 )
...
Adds scripts/check-constants.php + a required ci.yml step that fails the build when any referenced PRAUTOBLOGGER_* constant is neither defined in prautoblogger.php nor defined()-guarded. Closes the v0.19.0 admin-500 incident class (seq 38). CI-only; no plugin runtime change.
QA: APPROVE-WITH-P2-NOTES (2026-06-14-923f712). P2 follow-ups folded into M4.
Agent-Session: ci-constants-guard-20260614
2026-06-14 20:03:18 +07:00