Skip to content

Commit

Permalink
Build(deps-dev): Bump friendsofphp/php-cs-fixer from 3.59.3 to 3.68.5 (
Browse files Browse the repository at this point in the history
…#2893)

* Build(deps-dev): Bump friendsofphp/php-cs-fixer from 3.59.3 to 3.68.5

Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.59.3 to 3.68.5.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.59.3...v3.68.5)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix cs

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Langlet <[email protected]>
  • Loading branch information
dependabot[bot] and VincentLanglet authored Feb 5, 2025
1 parent 126cdf2 commit 3d307d7
Show file tree
Hide file tree
Showing 47 changed files with 191 additions and 196 deletions.
136 changes: 66 additions & 70 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/Action/DetermineNextRelease.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct(
Branches $branches,
Statuses $statuses,
Checks $checks,
PullRequests $pullRequests
PullRequests $pullRequests,
) {
$this->releases = $releases;
$this->branches = $branches;
Expand Down
2 changes: 1 addition & 1 deletion src/Action/DetermineNextReleaseVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function forTagAndPullRequests(Tag $current, array $pullRequests):

if (isset($parts[3])) {
if (str_contains($parts[3], 'alpha')) {
return Tag::fromString(implode('.', [$parts[0], $parts[1], sprintf('%s-rc-1', $parts[2])]));
return Tag::fromString(implode('.', [$parts[0], $parts[1], \sprintf('%s-rc-1', $parts[2])]));
}

return Tag::fromString(implode('.', [$parts[0], $parts[1], $parts[2]]));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function forBranch(Project $project, Branch $branch, ?\DateTimeImm
$since = null !== $lastRelease ? $lastRelease->format('Y-m-d H:i:s') : 'never';

return new self(
sprintf(
\sprintf(
'No pull requests merged since last release "%s" for branch "%s" of project "%s".',
$since,
$branch->name(),
Expand Down
Loading

0 comments on commit 3d307d7

Please sign in to comment.