Skip to content

Commit d163143

Browse files
authored
Merge pull request #132 from laminas/dependabot/composer/doctrine/coding-standard-9.0.0
build(deps-dev): Bump doctrine/coding-standard from 8.2.0 to 9.0.0
2 parents 04ee317 + 9970c12 commit d163143

14 files changed

+56
-60
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"require-dev": {
34-
"doctrine/coding-standard": "^8.2.0",
34+
"doctrine/coding-standard": "^9.0.0",
3535
"php-standard-library/psalm-plugin": "^1.1.1",
3636
"phpunit/phpunit": "^9.5.0",
3737
"psalm/plugin-phpunit": "^0.15.1",

composer.lock

Lines changed: 42 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Environment/EnvironmentVariables.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public static function fromEnvironment(ImportGpgKeyFromString $importKey): self
9696

9797
/**
9898
* @psalm-param non-empty-string $key
99+
*
99100
* @psalm-return non-empty-string
100101
*/
101102
private static function getenv(string $key): string
@@ -109,6 +110,7 @@ private static function getenv(string $key): string
109110

110111
/**
111112
* @psalm-param non-empty-string $default
113+
*
112114
* @psalm-return non-empty-string
113115
*/
114116
private static function getenvWithFallback(string $key, string $default): string

src/Git/Value/BranchName.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function isReleaseBranch(): bool
4343

4444
/**
4545
* @return array<int, int>
46-
*
4746
* @psalm-return array{0: int, 1: int}
4847
*
4948
* @psalm-suppress ImpureFunctionCall the {@see \Psl\Type\int()} and {@see \Psl\Type\shape()} APIs are pure by design

src/Git/Value/MergeTargetCandidateBranches.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ final class MergeTargetCandidateBranches
2020

2121
/**
2222
* @param BranchName[] $sortedBranches
23-
*
2423
* @psalm-param list<BranchName> $sortedBranches
2524
*/
2625
private function __construct(array $sortedBranches)

src/Github/Api/GraphQL/Query/GetMilestoneChangelog/Response/IssueOrPullRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ final class IssueOrPullRequest
2727
/**
2828
* @psalm-param non-empty-string $title
2929
* @psalm-param list<Label> $labels
30+
*
3031
* @psalm-suppress ImpurePropertyAssignment {@see UriInterface} is pure
3132
*/
3233
private function __construct(
@@ -95,7 +96,6 @@ public function author(): Author
9596

9697
/**
9798
* @return array<int, Label>
98-
*
9999
* @psalm-return list<Label>
100100
*/
101101
public function labels(): array

src/Github/Api/GraphQL/Query/GetMilestoneChangelog/Response/Label.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ final class Label
2222
/**
2323
* @psalm-param non-empty-string $colour
2424
* @psalm-param non-empty-string $name
25+
*
2526
* @psalm-suppress ImpurePropertyAssignment {@see UriInterface} is pure
2627
*/
2728
private function __construct(

src/Github/Api/GraphQL/Query/GetMilestoneChangelog/Response/Milestone.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ final class Milestone
2828

2929
/**
3030
* @param array<int, IssueOrPullRequest> $entries
31-
*
3231
* @psalm-param non-empty-string $title
3332
* @psalm-param list<IssueOrPullRequest> $entries
33+
*
3434
* @psalm-suppress ImpurePropertyAssignment {@see UriInterface} is pure
3535
*/
3636
private function __construct(

src/Github/CreateReleaseTextViaKeepAChangelog.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function canCreateReleaseText(
9494

9595
/**
9696
* @psalm-param non-empty-string $repositoryDirectory
97+
*
9798
* @psalm-return non-empty-string
9899
*/
99100
private function fetchChangelogContentsFromBranch(
@@ -108,6 +109,7 @@ private function fetchChangelogContentsFromBranch(
108109
/**
109110
* @psalm-param non-empty-string $changelog
110111
* @psalm-param non-empty-string $version
112+
*
111113
* @psalm-return non-empty-string
112114
*/
113115
private function updateReleaseDate(string $changelog, string $version): string
@@ -126,6 +128,7 @@ private function updateReleaseDate(string $changelog, string $version): string
126128

127129
/**
128130
* @psalm-param non-empty-string $changelog
131+
*
129132
* @psalm-return non-empty-string
130133
*/
131134
private function removeDefaultContents(string $changelog): string

test/unit/Changelog/ChangelogExistsViaConsoleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private function createMockRepositoryWithChangelog(): string
9393

9494
/**
9595
* @psalm-param non-empty-string $origin
96+
*
9697
* @psalm-return non-empty-string
9798
*/
9899
private function checkoutMockRepositoryWithChangelog(string $origin): string

0 commit comments

Comments
 (0)