Skip to content

Commit 3e2b402

Browse files
authored
Merge pull request #207 from gsteel/doctrine-coding-standard-10
Doctrine coding standard 10
2 parents c3b4926 + 3144dfa commit 3e2b402

File tree

89 files changed

+658
-968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+658
-968
lines changed

bin/console.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
static function (int $errorCode, string $message = '', string $file = '', int $line = 0): bool {
5858
throw new ErrorException($message, 0, $errorCode, $file, $line);
5959
},
60-
E_STRICT | E_NOTICE | E_WARNING
60+
E_STRICT | E_NOTICE | E_WARNING,
6161
);
6262

6363
$variables = EnvironmentVariables::fromEnvironment(new ImportGpgKeyFromStringViaTemporaryFile());
@@ -72,7 +72,7 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
7272
$getMilestone = new GetMilestoneFirst100IssuesAndPullRequests(new RunGraphQLQuery(
7373
$makeRequests,
7474
$httpClient,
75-
$githubToken
75+
$githubToken,
7676
));
7777
$changelogExists = new ChangelogExistsViaConsole();
7878
$checkoutBranch = new CheckoutBranchViaConsole();
@@ -83,12 +83,12 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
8383
$checkoutBranch,
8484
$commit,
8585
$push,
86-
$logger
86+
$logger,
8787
);
8888
$createCommitText = new CreateReleaseTextThroughChangelog(JwageGenerateChangelog::create(
8989
$makeRequests,
9090
$httpClient,
91-
new GitHubOAuthToken($githubToken)
91+
new GitHubOAuthToken($githubToken),
9292
));
9393
$createReleaseText = new MergeMultipleReleaseNotes([
9494
new CreateReleaseTextViaKeepAChangelog($changelogExists, new SystemClock(new DateTimeZone('UTC'))),
@@ -97,14 +97,14 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
9797
$createRelease = new CreateReleaseThroughApiCall(
9898
$makeRequests,
9999
$httpClient,
100-
$githubToken
100+
$githubToken,
101101
);
102102
$bumpChangelogVersion = new BumpAndCommitChangelogVersionViaKeepAChangelog(
103103
$changelogExists,
104104
$checkoutBranch,
105105
$commit,
106106
$push,
107-
$logger
107+
$logger,
108108
);
109109

110110
$application = new Application(Versions::rootPackageName(), Versions::getVersion('laminas/automatic-releases'));
@@ -120,7 +120,7 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
120120
$createReleaseText,
121121
new CreateTagViaConsole(),
122122
$push,
123-
$createRelease
123+
$createRelease,
124124
),
125125
new CreateMergeUpPullRequest(
126126
$variables,
@@ -133,8 +133,8 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
133133
new CreatePullRequestThroughApiCall(
134134
$makeRequests,
135135
$httpClient,
136-
$githubToken
137-
)
136+
$githubToken,
137+
),
138138
),
139139
new SwitchDefaultBranchToNextMinor(
140140
$variables,
@@ -145,25 +145,25 @@ static function (int $errorCode, string $message = '', string $file = '', int $l
145145
new SetDefaultBranchThroughApiCall(
146146
$makeRequests,
147147
$httpClient,
148-
$githubToken
148+
$githubToken,
149149
),
150-
$bumpChangelogVersion
150+
$bumpChangelogVersion,
151151
),
152152
new BumpChangelogForReleaseBranch(
153153
$variables,
154154
$loadEvent,
155155
$fetch,
156156
$getCandidateBranches,
157-
$bumpChangelogVersion
157+
$bumpChangelogVersion,
158158
),
159159
new CreateMilestones(
160160
$loadEvent,
161161
new CreateMilestoneThroughApiCall(
162162
$makeRequests,
163163
$httpClient,
164164
$githubToken,
165-
$logger
166-
)
165+
$logger,
166+
),
167167
),
168168
]);
169169

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"symfony/console": "^5.4.12"
2222
},
2323
"require-dev": {
24-
"doctrine/coding-standard": "^9.0.0",
24+
"doctrine/coding-standard": "^10.0.0",
2525
"php-standard-library/psalm-plugin": "^2.0.2",
26-
"phpunit/phpunit": "^9.5.0",
26+
"phpunit/phpunit": "^9.5.23",
2727
"psalm/plugin-phpunit": "^0.17.0",
28-
"roave/infection-static-analysis-plugin": "^1.7",
29-
"squizlabs/php_codesniffer": "^3.5.8",
30-
"vimeo/psalm": "^4.7.2"
28+
"roave/infection-static-analysis-plugin": "^1.22.0",
29+
"squizlabs/php_codesniffer": "^3.7.1",
30+
"vimeo/psalm": "^4.26.0"
3131
},
3232
"config": {
3333
"sort-packages": true,

0 commit comments

Comments
 (0)