Skip to content

Commit

Permalink
Merge pull request #716 from j0k3r/update-deps
Browse files Browse the repository at this point in the history
Update PHP-CS-Fixer
  • Loading branch information
j0k3r authored Oct 5, 2021
2 parents 23424c9 + c80889f commit 3e3b2d0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 36 deletions.
71 changes: 36 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/MessageHandler/VersionsSyncHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private function doSyncVersions(Repo $repo): ?int
}

// render markdown in plain html and use default markdown file if it fails
if (isset($newRelease['message']) && \strlen(trim($newRelease['message'])) > 0) {
if (isset($newRelease['message']) && '' !== trim($newRelease['message'])) {
try {
/** @var \Github\Api\Markdown */
$githubMarkdownApi = $this->client->api('markdown');
Expand Down

0 comments on commit 3e3b2d0

Please sign in to comment.