Page MenuHomePhabricator

Provide additional Arcanist PHP 8.1 fixes
ClosedPublic

Authored by epriestley on Dec 10 2021, 12:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 3:42 AM
Unknown Object (File)
Sat, Nov 23, 7:08 AM
Unknown Object (File)
Fri, Nov 22, 9:57 AM
Unknown Object (File)
Wed, Nov 13, 6:00 AM
Unknown Object (File)
Sat, Nov 9, 4:51 PM
Unknown Object (File)
Oct 22 2024, 11:39 AM
Unknown Object (File)
Oct 22 2024, 11:39 AM
Unknown Object (File)
Oct 22 2024, 11:39 AM
Subscribers
None

Details

Summary

Ref T13588. I pointed my local php at PHP 8.1 and this is what I've hit so far; all these cases seem very unlikely to have any subtle behavior.

Test Plan

Ran various arc workflows under PHP 8.1.

Diff Detail

Repository
rARC Arcanist
Branch
len2
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 25608
Build 35422: Run Core Tests
Build 35421: arc lint + arc unit

Unit TestsFailed

TimeTest
1,017 msArcanistBundleTestCase::testGitRepository
EXCEPTION (Exception): This patch has binary data. The PHP zlib extension is required to apply patches with binary data to git. Install the PHP zlib extension to continue. #0 /Users/epriestley/dev/core/lib/arcanist/src/parser/ArcanistBundle.php(823): ArcanistBundle::newBase85Data('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...', '\n') #1 /Users/epriestley/dev/core/lib/arcanist/src/parser/ArcanistBundle.php(813): ArcanistBundle->emitBinaryDiffBody('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...')
0 msAbstractDirectedGraphTestCase::testCyclicGraph
1 assertion(s) passed.
0 msAbstractDirectedGraphTestCase::testCyclicGraph
1 assertion(s) passed.
0 msAbstractDirectedGraphTestCase::testEdgeLoadFailure
1 assertion(s) passed.
0 msAbstractDirectedGraphTestCase::testEdgeLoadFailure
1 assertion(s) passed.
View Full Test Results (1 Failed · 812 Passed · 64 Skipped)

Event Timeline

  • Fix unit tests and a handful of other errors.
  • Also fix service profiler test case.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 10 2021, 12:42 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.