HomePhabricator

Correct some Arcanist behaviors under PHP8.1

Description

Correct some Arcanist behaviors under PHP8.1

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.

Maniphest Tasks: T13588

Differential Revision: https://secure.phabricator.com/D21740

Details

Provenance
epriestleyAuthored on Dec 9 2021, 8:40 PM
epriestleyPushed on Dec 9 2021, 9:44 PM
Differential Revision
D21740: Correct some Arcanist behaviors under PHP8.1
Parents
rARC13d3a3c3b100: Update the extracted cURL SSL CA bundle
Branches
Unknown
Tags
Unknown
Tasks
T13588: PHP 8 Compatibility
Build Status
Buildable 25600
Build 35410: Run Core Tests