Page MenuHomePhabricator

Use "phutil_string_cast()" in TypeaheadDatasource
ClosedPublic

Authored by epriestley on Feb 11 2019, 6:51 PM.
Tags
None
Referenced Files
F15414691: D20140.id.diff
Thu, Mar 20, 1:57 AM
F15349270: D20140.diff
Mon, Mar 10, 2:53 PM
F15284513: D20140.diff
Tue, Mar 4, 9:54 AM
Unknown Object (File)
Mon, Mar 3, 8:20 PM
Unknown Object (File)
Feb 9 2025, 7:10 AM
Unknown Object (File)
Feb 9 2025, 7:09 AM
Unknown Object (File)
Feb 9 2025, 7:09 AM
Unknown Object (File)
Jan 30 2025, 9:53 PM
Subscribers
None

Details

Summary

Depends on D20138. Ref T13250. This improves exception behavior and gives us a standard page with a stack trace instead of a text fatal with no stack trace.

Truly a great day for PHP.

(Eventually we may want to replace all (string) with phutil_string_cast(), but let's let it have some time in the wild first?)

Test Plan

Triggered the error, got a more useful exception behavior.

Diff Detail

Repository
rP Phabricator
Branch
throwable3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21920
Build 29929: Run Core Tests
Build 29928: arc lint + arc unit