Page MenuHomePhabricator

Consistently use `phutil_console_confirm()`.
ClosedPublic

Authored by stefren on Jul 6 2017, 9:49 PM.
Tags
None
Referenced Files
F15278188: D18185.diff
Sun, Mar 2, 7:11 PM
Unknown Object (File)
Wed, Feb 19, 4:39 AM
Unknown Object (File)
Fri, Feb 14, 7:11 PM
Unknown Object (File)
Jan 28 2025, 2:44 AM
Unknown Object (File)
Jan 24 2025, 5:15 AM
Unknown Object (File)
Jan 23 2025, 12:32 AM
Unknown Object (File)
Jan 21 2025, 11:53 AM
Unknown Object (File)
Jan 19 2025, 12:07 AM
Subscribers

Details

Summary

PhutilConsole->confirm() is vestigial as noted in efcd70c, as
PhutilConsole may be deprecated sometime in the future. PhutilConsole
was developed as a tool for T4281 but the feature has been removed
since.

Replace existing occurences of the PhutilConsole->confirm() pattern with
phutil_console_confirm(). There should be no change in functionality
since the two functions are interchangeable.

Test Plan

Manually tested by running bin/arc lint, bin/arc diff --preview, bin/arc land --preview.

Diff Detail

Repository
rARC Arcanist
Branch
up-master (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17632
Build 23668: arc lint + arc unit

Event Timeline

@stefren should be covered by the #Dropbox corporate CLA.

Thanks! I've added you to Blessed Committers so you should be able to land this directly -- see that project's description for some pointers if you hit issues, or let me know if that doesn't resolve things.

This revision is now accepted and ready to land.Jul 6 2017, 11:11 PM

(I also added you to Community, granting you sweeping janitorial powers.)