ArcanistWeldWorkflow::runWorkflow() is supposed to return an int like all other implementations of ArcanistWorkflow::runWorkflow() already do.
Details
Details
- Reviewers
mainframe98 valerio.bozzolan - Group Reviewers
O1: Blessed Committers - Commits
- rARC95adc3462f5c: Fix return value of ArcanistWeldWorkflow::runWorkflow()
Run static code analysis, don't get a complaint about a missing return value anymore.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- workflowReturnInt (branched from master)
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 2118 Build 2118: arc lint + arc unit
Event Timeline
src/workflow/ArcanistWeldWorkflow.php | ||
---|---|---|
72–74 | Implode returns a string, not an int. Also, arc weld reports the results to stdout, which requires using echo. |
Comment Actions
Thanks. Learned something about arc weld which I obviously have never used before (and hadn't realized that this is actually a command itself).
Comment Actions
Fantastic. We have a cat but in PHP. And it returns random data.
arc weld README.md README.md
Stay sure that you will always get random output, before and output the patch.