Page MenuHomePhabricator

Call `$linter->setEngine` in linter tests
ClosedPublic

Authored by joshuaspence on May 13 2019, 4:27 AM.
Tags
None
Referenced Files
F18434310: D20515.diff
Sun, Aug 31, 9:11 AM
F18415041: D20515.diff
Sat, Aug 30, 9:19 AM
F18254980: D20515.diff
Thu, Aug 21, 11:08 PM
F18254954: D20515.diff
Thu, Aug 21, 11:06 PM
F18100514: D20515.id.diff
Sat, Aug 9, 11:55 AM
F17877723: D20515.id.diff
Jul 28 2025, 7:49 PM
F17851871: D20515.diff
Jul 27 2025, 11:51 AM
Unknown Object (File)
Jun 5 2025, 4:24 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

We aren't calling $linter->setEngine($engine), even though we do have an $engine. This causes unit tests for any linters which require an engine to fail.

Test Plan

Ran the unit tests for a third-party linter.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable