Skip to content

Commit

Permalink
Merge branch 'hotfix/3.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Aug 4, 2020
2 parents 76c6e6d + 57c38b5 commit 3731b0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.5.1 / 2020-08-04

### Fixed:

* Fix a warning when running scaffold without scripts
* Force-include twig dependencies when building phar

## 3.5.0 / 2020-08-04

### Fixed:
Expand Down
6 changes: 5 additions & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
".env",
"config/services.yml",
"vendor/twig/twig/src/TwigTest.php"
],
"directories": [
"vendor/twig/twig/src/Node/Expression/Test"
],
"directories-bin": [
"config/scaffold"
Expand All @@ -13,5 +16,6 @@
],
"git-tag": "git_tag",
"output": "build/phabalicious.phar",
"compression": "GZ"
"compression": "GZ",
"force-autodiscovery": true
}
2 changes: 1 addition & 1 deletion src/Scaffolder/Scaffolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function scaffold(
$script->runScript($host_config, $context);

/** @var CommandResult $result */
$result = $context->getResult('commandResult');
$result = $context->getResult('commandResult', new CommandResult(0, []));
if ($result && $result->failed()) {
throw new RuntimeException(sprintf(
"Scaffolding failed with exit-code %d\n%s",
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/Utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class Utilities
{

const FALLBACK_VERSION = '3.5.0';
const FALLBACK_VERSION = '3.5.1';
const COMBINED_ARGUMENTS = 'combined';
const UNNAMED_ARGUMENTS = 'unnamedArguments';

Expand Down

0 comments on commit 3731b0c

Please sign in to comment.