Page MenuHomePhabricator

Use "phutil_string_cast()" in TypeaheadDatasource
ClosedPublic

Authored by epriestley on Feb 11 2019, 6:51 PM.
Tags
None
Referenced Files
F13050561: D20140.diff
Fri, Apr 19, 3:01 AM
Unknown Object (File)
Wed, Apr 17, 3:05 PM
Unknown Object (File)
Sat, Apr 6, 4:34 AM
Unknown Object (File)
Thu, Mar 28, 9:27 PM
Unknown Object (File)
Mar 18 2024, 2:29 PM
Unknown Object (File)
Mar 16 2024, 8:30 PM
Unknown Object (File)
Mar 5 2024, 1:00 AM
Unknown Object (File)
Feb 3 2024, 9:18 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable