Skip to content

Commit

Permalink
Fix build command for PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed May 21, 2023
1 parent bfca9e3 commit 0f1699d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/controllers/ReleaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ public function actionRelease(array $what)
$gitDir = reset($what) === 'framework' ? 'framework/' : '';
$gitVersion = $versions[reset($what)];
if (strncmp('app-', reset($what), 4) !== 0) {
$this->stdout("- no accidentally added CHANGELOG lines for other versions than this one?\n\n git diff $gitVersion.. ${gitDir}CHANGELOG.md\n\n");
$this->stdout("- no accidentally added CHANGELOG lines for other versions than this one?\n\n git diff $gitVersion.. {$gitDir}CHANGELOG.md\n\n");
$this->stdout("- are all new `@since` tags for this release version?\n");
}
$this->stdout("- other issues with code changes?\n\n git diff -w $gitVersion.. ${gitDir}\n\n");
$this->stdout("- other issues with code changes?\n\n git diff -w $gitVersion.. {$gitDir}\n\n");
$travisUrl = reset($what) === 'framework' ? '' : '-' . reset($what);
$this->stdout("- are unit tests passing on travis? https://travis-ci.com/yiisoft/yii2$travisUrl/builds\n");
$this->stdout("- also make sure the milestone on github is complete and no issues or PRs are left open.\n\n");
Expand Down

0 comments on commit 0f1699d

Please sign in to comment.