Page MenuHomePhabricator

Correct some Arcanist behaviors under PHP8.1
ClosedPublic

Authored by epriestley on Dec 9 2021, 8:46 PM.
Tags
None
Referenced Files
F18945560: D21740.diff
Tue, Nov 11, 6:30 PM
F18855730: D21740.id.diff
Sat, Nov 1, 6:26 AM
F18792346: D21740.id51812.diff
Oct 16 2025, 7:32 PM
F18787697: D21740.diff
Oct 15 2025, 1:01 AM
F18636709: D21740.id.diff
Sep 17 2025, 4:57 AM
F18629273: D21740.id51812.diff
Sep 16 2025, 8:23 AM
F18628825: D21740.diff
Sep 16 2025, 7:22 AM
F18616226: D21740.id51812.diff
Sep 14 2025, 4:39 PM
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.