Page MenuHomePhabricator

Address some PHP8 incompatibilities - Arcanist
ClosedPublic

Authored by cspeckmim on May 29 2023, 11:40 PM.
Tags
None
Referenced Files
F15425886: D21870.id52166.diff
Sun, Mar 23, 6:32 AM
F15419702: D21870.id52166.diff
Fri, Mar 21, 8:14 AM
F15401535: D21870.id52177.diff
Mon, Mar 17, 6:08 PM
F15393015: D21870.diff
Sat, Mar 15, 6:56 PM
F15390820: D21870.id52177.diff
Sat, Mar 15, 6:48 AM
F15390817: D21870.id52172.diff
Sat, Mar 15, 6:48 AM
F15390816: D21870.id52166.diff
Sat, Mar 15, 6:48 AM
F15390815: D21870.id.diff
Sat, Mar 15, 6:48 AM
Subscribers

Details

Summary

Found a few more issues while playing around with arc.

Refs T13588

Test Plan
  • Run arc look and variants with subcommands
  • Run arc diff while not on a git branch

Diff Detail

Repository
rARC Arcanist
Branch
cspeck-php8-arc
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 25825
Build 35653: arc lint + arc unit

Unit TestsFailed

TimeTest
1,501 msArcanistJSHintLinterTestCase::testLinter
Lint emitted an unexpected set of messages for file "too-many-errors.lint-test". MISSING MESSAGES Message with severity "disabled" at "2:22" (E043)
34 msArcanistXMLLinterTestCase::testLinter
Lint emitted an unexpected set of messages for file "languages-6.lint-test". MISSING MESSAGES Message with severity "error" at "3:16" (XML76)
20 msArcanistChmodLinterTestCase::testLinter
5 assertion(s) passed.
0 msArcanistClosureLinterTestCase::testVersion
1 assertion(s) passed.
0 msArcanistCpplintLinterTestCase::testVersion
1 assertion(s) passed.
View Full Test Results (2 Failed · 26 Passed · 29 Skipped)

Event Timeline

cspeckmim held this revision as a draft.

Update version check for Cppcheck to include optional bugfix version

Looking at the rest of the UT failures I think those are due to updated/newer versions of linters emitting slightly different results.

This revision is now accepted and ready to land.May 30 2023, 4:29 PM
This revision was landed with ongoing or failed builds.May 30 2023, 4:39 PM
This revision was automatically updated to reflect the committed changes.