Page MenuHomePhabricator

Use "phutil_string_cast()" in TypeaheadDatasource
ClosedPublic

Authored by epriestley on Feb 11 2019, 6:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 4:58 PM
Unknown Object (File)
Tue, Dec 10, 1:58 AM
Unknown Object (File)
Thu, Nov 28, 8:19 PM
Unknown Object (File)
Nov 24 2024, 9:11 PM
Unknown Object (File)
Nov 17 2024, 7:32 PM
Unknown Object (File)
Nov 13 2024, 7:16 PM
Unknown Object (File)
Nov 10 2024, 2:58 AM
Unknown Object (File)
Nov 5 2024, 10:48 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