Page MenuHomePhabricator

Fix two "implode()" order issues arising from wilds/experimental collapse
ClosedPublic

Authored by epriestley on Feb 23 2020, 4:33 PM.
Tags
None
Referenced Files
F15454017: D21024.diff
Sat, Mar 29, 3:46 PM
F15431284: D21024.diff
Mon, Mar 24, 11:35 AM
F15340354: D21024.id50085.diff
Mar 9 2025, 3:02 PM
F15331538: D21024.id.diff
Mar 7 2025, 11:14 AM
Unknown Object (File)
Mar 1 2025, 1:50 AM
Unknown Object (File)
Feb 28 2025, 11:47 PM
Unknown Object (File)
Feb 23 2025, 5:02 PM
Unknown Object (File)
Feb 20 2025, 10:37 AM
Subscribers
None

Details

Summary

Ref T13490. There's one simple "implode()" order issue here, and one slightly more complex one that uses "DIRECTORY_SEPARATOR" as glue.

Add test coverage for this, update the lint check to detect constants used as glue, and fix the callsites.

Test Plan
  • Added a failing test and made it pass.
  • Ran arc lint --everything and looked for remaining implode warnings, found none.

Diff Detail

Repository
rARC Arcanist
Branch
implode1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23907
Build 32896: Run Core Tests
Build 32895: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2020, 4:33 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.