Skip to content

Commit 23d46a3

Browse files
authored
Merge branch 'overblog:master' into phpcs
2 parents 02d48e9 + d9ddb64 commit 23d46a3

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"doctrine/orm": "^2.5",
5858
"monolog/monolog": "^1.26.1",
5959
"phpstan/extension-installer": "^1.0",
60-
"phpstan/phpstan": "1.6.2",
60+
"phpstan/phpstan": "1.8.4",
6161
"phpstan/phpstan-phpunit": "^1.0",
6262
"phpstan/phpstan-symfony": "^1.0",
6363
"phpunit/phpunit": "^9.5.10",

src/DependencyInjection/Compiler/ConfigParserPass.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Overblog\GraphQLBundle\Config\Parser\AnnotationParser;
99
use Overblog\GraphQLBundle\Config\Parser\AttributeParser;
1010
use Overblog\GraphQLBundle\Config\Parser\GraphQLParser;
11+
use Overblog\GraphQLBundle\Config\Parser\ParserInterface;
1112
use Overblog\GraphQLBundle\Config\Parser\PreParserInterface;
1213
use Overblog\GraphQLBundle\Config\Parser\YamlParser;
1314
use Overblog\GraphQLBundle\DependencyInjection\TypesConfiguration;
@@ -47,7 +48,7 @@ final class ConfigParserPass implements CompilerPassInterface
4748
];
4849

4950
/**
50-
* @var array<string, class-string<PreParserInterface>>
51+
* @var array<string, class-string<ParserInterface>>
5152
*/
5253
public const PARSERS = [
5354
'yaml' => YamlParser::class,

src/Resolver/ResolverMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function covered(?string $typeName = null)
7878
if (null === $typeName) {
7979
$resolvers = $loadedMap;
8080
} elseif (isset($loadedMap[$typeName])) { // @phpstan-ignore-line
81-
$resolvers = $loadedMap[$typeName];
81+
$resolvers = $loadedMap[$typeName]; // @phpstan-ignore-line
8282
}
8383

8484
foreach ($resolvers as $key => $value) {

tests/Functional/Type/DefinitionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testDefinesEnumTypeWithDeprecatedValue(): void
2323
/** @var EnumType $enumTypeWithDeprecatedValue */
2424
$enumTypeWithDeprecatedValue = $this->getType('EnumWithDeprecatedValue');
2525
$value = $enumTypeWithDeprecatedValue->getValues()[0];
26-
$this->assertSame([
26+
$this->assertSame([ // @phpstan-ignore-line
2727
'deprecationReason' => 'Just because',
2828
'value' => 'foo',
2929
'name' => 'foo',

tests/Relay/Connection/AbstractConnectionBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function getExpectedConnection(array $wantedEdges, bool $hasPreviousPa
3737
$expectedEdges,
3838
new PageInfo(
3939
isset($expectedEdges[0]) ? $expectedEdges[0]->getCursor() : null,
40-
$endEdge ? $endEdge->getCursor() : null,
40+
$endEdge ? $endEdge->getCursor() : null, // @phpstan-ignore-line
4141
$hasPreviousPage,
4242
$hasNextPage
4343
)

0 commit comments

Comments
 (0)