Page MenuHomePhabricator

"Array to string conversion" error
Closed, ResolvedPublic

Description

I'm hitting this error when linting rPHU:

> arc lint --everything
[2014-06-09 18:15:43] ERROR 8: Array to string conversion at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/linter/ArcanistXHPASTLinter.php:465]
  #0 ArcanistXHPASTLinter::lintPHP53Functions(Object XHPASTNode) called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/linter/ArcanistXHPASTLinter.php:445]
  #1 ArcanistXHPASTLinter::lintPHP53Features(Object XHPASTNode)
  #2 call_user_func(Array of size 2 starting with: { 0 => Object ArcanistXHPASTLinter }, Object XHPASTNode) called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/linter/ArcanistXHPASTLinter.php:266]
  #3 ArcanistXHPASTLinter::resolveFuture(scripts/__init_script__.php, Object ExecFuture) called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/linter/ArcanistFutureLinter.php:28]
  #4 ArcanistFutureLinter::didRunLinters() called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/engine/ArcanistLintEngine.php:436]
  #5 ArcanistLintEngine::didRunLinters(Array of size 10 starting with: { 2 => Object ArcanistGeneratedLinter }) called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/lint/engine/ArcanistLintEngine.php:317]
  #6 ArcanistLintEngine::run() called at [/home/joshua/dotfiles/modules/phabricator/arcanist/src/workflow/ArcanistLintWorkflow.php:336]
  #7 ArcanistLintWorkflow::run() called at [/home/joshua/dotfiles/modules/phabricator/arcanist/scripts/arcanist.php:322]

Revisions and Commits

Event Timeline

joshuaspence claimed this task.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence triaged this task as High priority.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Arcanist.
joshuaspence added a subscriber: joshuaspence.