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
F13088274: D21024.diff
Thu, Apr 25, 1:22 AM
Unknown Object (File)
Thu, Apr 11, 8:53 AM
Unknown Object (File)
Fri, Apr 5, 6:15 PM
Unknown Object (File)
Mar 24 2024, 2:22 PM
Unknown Object (File)
Mar 13 2024, 4:53 AM
Unknown Object (File)
Feb 18 2024, 10:27 PM
Unknown Object (File)
Feb 10 2024, 4:35 AM
Unknown Object (File)
Feb 1 2024, 1:23 PM
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.