Fix PHP warnings: E_STRICT deprecation and "Array" in the ticket timeline (#130) #133

Merged
jared merged 1 commits from php-warnings-130 into development 2026-11-28 23:37:44 -05:00
1 Commits
Author SHA1 Message Date
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