Page MenuHomePhabricator

Use "phutil_string_cast()" in TypeaheadDatasource
ClosedPublic

Authored by epriestley on Feb 11 2019, 6:51 PM.
Tags
None
Referenced Files
F14090909: D20140.id48081.diff
Sun, Nov 24, 9:11 PM
Unknown Object (File)
Sun, Nov 17, 7:32 PM
Unknown Object (File)
Wed, Nov 13, 7:16 PM
Unknown Object (File)
Sun, Nov 10, 2:58 AM
Unknown Object (File)
Tue, Nov 5, 10:48 PM
Unknown Object (File)
Oct 23 2024, 5:38 AM
Unknown Object (File)
Oct 9 2024, 11:36 AM
Unknown Object (File)
Oct 7 2024, 2:11 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
Branch
throwable3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21920
Build 29929: Run Core Tests
Build 29928: arc lint + arc unit