Skip to content

Commit 90360bc

Browse files
authored
minor KnpLabs#1125 General chores (acrobat)
This PR was merged into the 3.12-dev branch. Discussion ---------- Commits ------- 14e8eed Switch roave bc-checker from docker to local setup 10080cd Apply style-ci fixes
2 parents 113f6b3 + 10080cd commit 90360bc

File tree

9 files changed

+22
-4
lines changed

9 files changed

+22
-4
lines changed

.github/workflows/backwards-compatibility.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414

15-
- name: Roave BC Check
16-
uses: docker://nyholm/roave-bc-check-ga
15+
- name: Install PHP
16+
uses: shivammathur/setup-php@v2
1717
with:
18-
args: --from=${{ github.event.pull_request.base.sha }}
18+
php-version: '8.2'
19+
20+
- name: Install roave/backward-compatibility-check
21+
run: composer require --dev roave/backward-compatibility-check
22+
23+
- name: Run roave/backward-compatibility-check
24+
run: vendor/bin/roave-backward-compatibility-check --from=${{ github.event.pull_request.base.sha }} --format=github-actions

lib/Github/Api/CurrentUser/Watchers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @link https://developer.github.com/v3/activity/watching/
99
*
1010
* @author Joseph Bielawski <stloyd@gmail.com>
11+
*
1112
* @revised Felipe Valtl de Mello <eu@felipe.im>
1213
*/
1314
class Watchers extends AbstractApi

lib/Github/HttpClient/Plugin/GithubExceptionThrower.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public function handleRequest(RequestInterface $request, callable $next, callabl
8888
$errors[] = $error['message'];
8989
}
9090
break;
91-
9291
}
9392
}
9493

test/Github/Tests/Api/Enterprise/StatsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function shouldShowStats()
2424

2525
/**
2626
* @test
27+
*
2728
* @dataProvider getTypes
2829
*/
2930
public function shouldShowStatsByType($type)

test/Github/Tests/Api/Repository/AssetsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function shouldGetSingleReleaseAsset()
4343

4444
/**
4545
* @test
46+
*
4647
* @requires PHP 5.3.4
4748
*/
4849
public function shouldCreateReleaseAsset()

test/Github/Tests/Api/Repository/ContentsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function getFailureStubsForExistsTest()
7171
* @param \PHPUnit_Framework_MockObject_Stub|\PHPUnit\Framework\MockObject\Stub\Exception
7272
*
7373
* @test
74+
*
7475
* @dataProvider getFailureStubsForExistsTest
7576
*/
7677
public function shouldReturnFalseWhenFileIsNotFound($failureStub)

test/Github/Tests/ClientTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function shouldPassHttpClientInterfaceToConstructor()
4040

4141
/**
4242
* @test
43+
*
4344
* @dataProvider getAuthenticationFullData
4445
*/
4546
public function shouldAuthenticateUsingAllGivenParameters($login, $password, $method)
@@ -115,6 +116,7 @@ public function shouldThrowExceptionWhenAuthenticatingWithoutMethodSet()
115116

116117
/**
117118
* @test
119+
*
118120
* @dataProvider getApiClassesProvider
119121
*/
120122
public function shouldGetApiInstance($apiName, $class)
@@ -126,6 +128,7 @@ public function shouldGetApiInstance($apiName, $class)
126128

127129
/**
128130
* @test
131+
*
129132
* @dataProvider getApiClassesProvider
130133
*/
131134
public function shouldGetMagicApiInstance($apiName, $class)

test/Github/Tests/Integration/IssueCommentTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function shouldRetrieveCommentsForIssue()
3131

3232
/**
3333
* @test
34+
*
3435
* @depends shouldRetrieveCommentsForIssue
3536
*/
3637
public function shouldRetrieveSingleComment($commentId)
@@ -72,6 +73,7 @@ public function shouldCreateCommentForIssue()
7273

7374
/**
7475
* @test
76+
*
7577
* @depends shouldCreateCommentForIssue
7678
*/
7779
public function shouldUpdateCommentByCommentId($commentId)
@@ -94,6 +96,7 @@ public function shouldUpdateCommentByCommentId($commentId)
9496

9597
/**
9698
* @test
99+
*
97100
* @depends shouldUpdateCommentByCommentId
98101
*/
99102
public function shouldRemoveCommentByCommentId($commentId)

test/Github/Tests/Integration/RepoCommentTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function shouldCreateCommentForCommit()
7070

7171
/**
7272
* @test
73+
*
7374
* @depends shouldCreateCommentForCommit
7475
*/
7576
public function shouldShowCommentByCommentId($commentId)
@@ -91,6 +92,7 @@ public function shouldShowCommentByCommentId($commentId)
9192

9293
/**
9394
* @test
95+
*
9496
* @depends shouldShowCommentByCommentId
9597
*/
9698
public function shouldUpdateCommentByCommentId($commentId)
@@ -113,6 +115,7 @@ public function shouldUpdateCommentByCommentId($commentId)
113115

114116
/**
115117
* @test
118+
*
116119
* @depends shouldUpdateCommentByCommentId
117120
*/
118121
public function shouldRemoveCommentByCommentId($commentId)

0 commit comments

Comments
 (0)