Updates for PHP 8.2 compatibility - Arcanist
Summary: While testing and updating Phabricator to address PHP 8.2 incompatibilities this diff covers issues that stem from rARC.
Test Plan:
- Tried to create a diff with invalid diff contents via the web page
- Run arc unit --everything
Reviewers: Blessed Reviewers, epriestley
Reviewed By: Blessed Reviewers, epriestley
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D21865