Skip to content

Commit ddb6c93

Browse files
committed
Update CI php version & fix static-analysis
1 parent 2c8391f commit ddb6c93

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
uses: "shivammathur/setup-php@v2"
9898
with:
9999
tools: flex
100-
php-version: "8.1"
100+
php-version: "8.2"
101101
coverage: "none"
102102

103103
- name: "Install dependencies"
@@ -116,7 +116,7 @@ jobs:
116116
- name: "Install PHP"
117117
uses: "shivammathur/setup-php@v2"
118118
with:
119-
php-version: "8.1"
119+
php-version: "8.2"
120120
coverage: "none"
121121

122122
- name: "Install dependencies"

tests/Controller/ProfilerControllerTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use GraphQL\Type\Schema;
88
use Overblog\GraphQLBundle\Controller\ProfilerController;
99
use Overblog\GraphQLBundle\DataCollector\GraphQLCollector;
10-
use Overblog\GraphQLBundle\Generator\TypeGenerator;
1110
use Overblog\GraphQLBundle\Request\Executor;
1211
use Overblog\GraphQLBundle\Resolver\TypeResolver;
1312
use PHPUnit\Framework\MockObject\MockObject;
@@ -48,7 +47,7 @@ protected function getMockExecutor(bool $expected = true): Executor
4847
}
4948

5049
/**
51-
* @return TypeGenerator&MockObject
50+
* @return TypeResolver&MockObject
5251
*/
5352
protected function getMockTypeResolver(int $expected = 2): TypeResolver
5453
{

0 commit comments

Comments
 (0)