Release: fix PHP warnings in the ticket timeline and ErrorHandler (#133) #135

Merged
jared merged 2 commits from development into main 2026-11-28 23:41:36 -05:00
2 Commits
Author SHA1 Message Date
jared 9e3b5406e2 Merge pull request 'Fix PHP warnings: E_STRICT deprecation and "Array" in the ticket timeline (#130)' (#133) from php-warnings-130 into development
Lint / JS (eslint) (push) Successful in 33s
Lint / PHP (phpcs PSR-12) (push) Successful in 1m1s
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 1m10s
Lint / JS (eslint) (pull_request) Successful in 16s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 33s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (push) Successful in 2m40s
Lint / PHP requirements (version + extensions) (push) Successful in 40s
Lint / Notify on failure (push) Skipped
Security / PHP Security (semgrep) (pull_request) Successful in 2m52s
Lint / Deploy (push) Successful in 3s
2026-11-28 23:37:44 -05:00
jaredandClaude Opus 5.5 73390b1edd Fix PHP warnings: E_STRICT deprecation and "Array" in the ticket timeline (#130)
Lint / JS (eslint) (push) Successful in 13s
Lint / PHP (phpcs PSR-12) (push) Successful in 34s
Lint / PHP requirements (version + extensions) (push) Successful in 37s
Lint / Deploy (push) Skipped
Lint / Notify on failure (push) Skipped
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 37s
Lint / JS (eslint) (pull_request) Successful in 12s
Security / PHP Security (semgrep) (push) Successful in 1m51s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 35s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (pull_request) Successful in 1m49s
ErrorHandler: drop E_STRICT from the error-type name map. PHP 8.4
deprecates the constant (it has had no effect since 8.0, so no error ever
carried that type), and a later PHP removes it.

TicketView timeline: audit details were shown as "from -> to" only when
isset($v['from'], $v['to']), which is false when either side is null.
The source and dedup_key backfills (#123) log {from: null, to: ...}, so
147 tickets showed the literal "Array" and logged "Array to string
conversion" on every view. isAuditDelta() uses array_key_exists, and
formatAuditValue() shows null as "(none)", booleans as yes/no and any
array as JSON, so no shape can print "Array" again. The timeline header
("updated source") uses the same check.

Closes #130

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:30:01 -05:00