Skip to content

Commit

Permalink
build(robo): fix php warning in changelog builder
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 18, 2022
1 parent ad670ef commit 7e67d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ public static function buildLogLine($commit, $remote) {
. " ([$hash]($remote/commit/$hash))";

// Search for closed issues
$body = explode(PHP_EOL, $commit->body);
$body = explode(PHP_EOL, $commit->body ?? '');
$pattern = '/^((close|closes|fix|fixed) #(?P<id>\\d+)(,\s+)?)/i';
$commit->close = [];
foreach ($body as $bodyLine) {
Expand Down

0 comments on commit 7e67d58

Please sign in to comment.