Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix name of variable used for capturing output when executing shell command #4118

Closed
wants to merge 1 commit into from

2 participants

@localheinz

The name of the variable used for capturing output of the execution of a shell command is $output, but the variable that is later used for rendering is named $lintOutput and remains undefined.

@weierophinney

This wasn't specific to the develop branch, so I cherry-picked to master as well.

@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4118'
Close #4118
ef2238c
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4118' into develop
Forward port #4118
ea5dd69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README-GIT.md
View
2  README-GIT.md
@@ -130,7 +130,7 @@ foreach ($output as $file) {
if ($return != 0) {
echo "PHP file fails to parse: " . $fileName . ":" . PHP_EOL;
- echo implode(PHP_EOL, $lintOutput) . PHP_EOL;
+ echo implode(PHP_EOL, $output) . PHP_EOL;
$exit = 1;
continue;
}
Something went wrong with that request. Please try again.