2 Commits

Author SHA1 Message Date
peptiderepo
3dda80b771 fix(ci): phpcbf auto-format + add missing bootstrap requires for tests
212 PHPCS formatting errors auto-fixed by phpcbf across 18 files.
All remaining issues are warnings (exit 2), not errors — CI treats
exit 2 as success via the same pattern as peptide-news-plugin.

Also adds class-psa-ai-content.php and class-psa-directory-api.php to
tests/bootstrap.php require list — both files exist in includes/ but
were missing from bootstrap, causing 5 PHPUnit "Class not found"
failures in AIGeneratorTest and DirectoryTest.
2026-04-24 06:33:41 +00:00
peptiderepo
e8adce77e9 refactor: extract PSA_Post_Type_Meta from PSA_Post_Type (343→193+140)
Meta box registration, rendering (core + extended), and save handler
moved to PSA_Post_Type_Meta. PSA_Post_Type retains CPT/taxonomy
registration, default categories, admin columns, and constants.
Backward-compatible proxy methods on PSA_Post_Type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 02:43:13 +07:00