Page MenuHomePhabricator

Use "phutil_string_cast()" in TypeaheadDatasource
ClosedPublic

Authored by epriestley on Feb 11 2019, 6:51 PM.
Tags
None
Referenced Files
F13257325: D20140.id.diff
Sat, May 25, 11:17 PM
F13257306: D20140.id48094.diff
Sat, May 25, 10:54 PM
F13250925: D20140.id48081.diff
Fri, May 24, 6:31 PM
F13247997: D20140.id.diff
Fri, May 24, 12:09 AM
F13231699: D20140.diff
Tue, May 21, 12:43 AM
F13222687: D20140.diff
Sun, May 19, 3:52 AM
F13219009: D20140.diff
Sat, May 18, 2:33 PM
F13205409: D20140.diff
Wed, May 15, 1:55 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable