peptiderepo
1880d1db1f
fix(tests): guard error_log/wp_json_encode stubs + document idempotency limitation
- tests/unit/test-migration-0004.php: wrap error_log() stub in
function_exists() guard -- prevents PHP fatal redeclaration on
PHP Lint (8.1/8.2/8.3) which runs php -l on all .php files.
- tests/bootstrap.php: update wp_json_encode stub to accept
int $flags = 0 second arg (matches production call signature
wp_json_encode($clean, JSON_UNESCAPED_UNICODE)); guard with
function_exists().
- class-pr-core-migration-0004-backfill-peptide-meta.php: add
code comment near idempotency check documenting the all-or-nothing
limitation (post with legitimately empty aliases will re-run).
- CONVENTIONS.md: one-line note under migration conventions item 5
documenting the idempotency caveat.
- CHANGELOG.md: add Fixed section under v0.6.0 for CI/test-stub fix.
Agent-Session: peptide-schema-backfill v0.6.0 P1 fix
2026-06-13 05:24:04 +00:00
..
2026-04-27 15:33:28 +00:00
2026-04-19 16:13:21 +07:00
2026-04-24 12:07:23 +07:00
2026-06-13 05:01:59 +00:00
2026-04-22 16:44:04 +07:00
2026-06-13 05:01:59 +00:00
2026-04-24 10:00:38 +07:00
2026-06-13 05:24:04 +00:00
2026-04-22 16:56:42 +07:00
2026-04-27 12:24:57 +07:00
2026-04-27 15:33:28 +00:00
2026-04-27 15:33:28 +00:00
2026-04-17 07:36:12 +07:00
2026-04-27 12:24:57 +07:00
2026-04-17 07:36:12 +07:00
2026-04-27 15:33:28 +00:00