Page MenuHomePhabricator

Correct some Arcanist behaviors under PHP8.1
ClosedPublic

Authored by epriestley on Dec 9 2021, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 14, 8:55 PM
Unknown Object (File)
Mon, Nov 14, 8:55 PM
Unknown Object (File)
Mon, Nov 14, 8:55 PM
Unknown Object (File)
Fri, Nov 11, 8:41 AM
Unknown Object (File)
Mon, Nov 7, 10:58 PM
Unknown Object (File)
Mon, Nov 7, 9:38 AM
Unknown Object (File)
Mon, Nov 7, 9:38 AM
Unknown Object (File)
Oct 24 2022, 7:57 AM
Subscribers
None

Details

Summary

Ref T13588. See that task for discussion.

Improve behavior under PHP8.1, particularly the deprecation warning raised by calling strlen(null).

Test Plan
  • Ran arc help, arc branches, arc diff, etc., under PHP 8.1 and PHP 7.4.
  • Created this change with PHP8.1.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 9 2021, 9:44 PM
This revision was automatically updated to reflect the committed changes.