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
Owner

Releases #133 (closes #130) to prod.

  • The activity timeline no longer shows "Array" or logs "Array to string conversion" for audit entries whose old value is empty, such as the 147 source backfill rows. They now read Source: (none) → hwmonDaemon.
  • E_STRICT is removed from ErrorHandler's type map, which clears the PHP 8.4 deprecation.

There are no migrations and no config changes.

🤖 Generated with Claude Code

Releases #133 (closes #130) to prod. - The activity timeline no longer shows "Array" or logs "Array to string conversion" for audit entries whose old value is empty, such as the 147 source backfill rows. They now read `Source: (none) → hwmonDaemon`. - `E_STRICT` is removed from ErrorHandler's type map, which clears the PHP 8.4 deprecation. There are no migrations and no config changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 2 commits 2026-11-28 23:37:54 -05:00
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
73390b1edd
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]>
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
9e3b5406e2
jared scheduled this pull request to auto merge when all checks succeed 2026-11-28 23:38:58 -05:00
jared merged commit 41be1145cf into main 2026-11-28 23:41:36 -05:00
Sign in to join this conversation.