Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0f1699d

Browse files
committedMay 21, 2023
Fix build command for PHP 8.2
1 parent bfca9e3 commit 0f1699d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎build/controllers/ReleaseController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ public function actionRelease(array $what)
218218
$gitDir = reset($what) === 'framework' ? 'framework/' : '';
219219
$gitVersion = $versions[reset($what)];
220220
if (strncmp('app-', reset($what), 4) !== 0) {
221-
$this->stdout("- no accidentally added CHANGELOG lines for other versions than this one?\n\n git diff $gitVersion.. ${gitDir}CHANGELOG.md\n\n");
221+
$this->stdout("- no accidentally added CHANGELOG lines for other versions than this one?\n\n git diff $gitVersion.. {$gitDir}CHANGELOG.md\n\n");
222222
$this->stdout("- are all new `@since` tags for this release version?\n");
223223
}
224-
$this->stdout("- other issues with code changes?\n\n git diff -w $gitVersion.. ${gitDir}\n\n");
224+
$this->stdout("- other issues with code changes?\n\n git diff -w $gitVersion.. {$gitDir}\n\n");
225225
$travisUrl = reset($what) === 'framework' ? '' : '-' . reset($what);
226226
$this->stdout("- are unit tests passing on travis? https://travis-ci.com/yiisoft/yii2$travisUrl/builds\n");
227227
$this->stdout("- also make sure the milestone on github is complete and no issues or PRs are left open.\n\n");

0 commit comments

Comments
 (0)
Failed to load comments.