Lines 114-121 of HackedProjectWebDevDownloader.php throw an exception with an array as second parameter but the second parameter of the \Exception object is supposed to be the exception code, I think there's a t() call missing.
// Throw an exception if it didn't work.
if ($return_value != 0) {
throw new \Exception('Could not clone project %project into path %path at branch %branch.', [
'%project' => $this->project->title(),
'%path' => $path,
'%branch' => $branch,
]);
}
Issue fork hacked-3574227
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pcambraComment #4
ivnishDrupal Coding Standards:
https://project.pages.drupalcode.org/coding_standards/php/exceptions/
Comment #5
pcambraYou still can't send random arrays as a second param of an \Exception no matter what the Drupal coding standards say :)
I've replaced it by a sprintf
Comment #7
ivnish