Skip to content

Commit 1701edf

Browse files
committed
php84 baseline
1 parent 36a852e commit 1701edf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

phpstan/include-by-php-version.php

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
$includes = [];
44

55
$phpversion = phpversion();
6+
if (version_compare($phpversion, '8.4', '=')) {
7+
$includes[] = __DIR__ . '/php-8.4.neon';
8+
}
69
if (version_compare($phpversion, '8.2', '>=')) {
710
$includes[] = __DIR__ . '/php-at-least-8.2.neon';
811
}

phpstan/php-8.4.neon

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Parameter \#1 \$class of function renderClass expects ReflectionClass\<object\>, ReflectionClass\<GraphQL\\Error\\ClientAware\|GraphQL\\Error\\DebugFlag\|GraphQL\\Error\\FormattedError\|GraphQL\\Error\\Warning\|GraphQL\\Executor\\ExecutionResult\|GraphQL\\Executor\\Executor\|GraphQL\\Executor\\Promise\\PromiseAdapter\|GraphQL\\Executor\\ScopedContext\|GraphQL\\GraphQL\|GraphQL\\Language\\AST\\NodeKind\|GraphQL\\Language\\DirectiveLocation\|GraphQL\\Language\\Parser\|GraphQL\\Language\\Printer\|GraphQL\\Language\\Visitor\|GraphQL\\Server\\Helper\|GraphQL\\Server\\OperationParams\|GraphQL\\Server\\ServerConfig\|GraphQL\\Server\\StandardServer\|GraphQL\\Type\\Definition\\ResolveInfo\|GraphQL\\Type\\Definition\\Type\|GraphQL\\Type\\Schema\|GraphQL\\Type\\SchemaConfig\|GraphQL\\Utils\\AST\|GraphQL\\Utils\\BuildSchema\|GraphQL\\Utils\\SchemaPrinter\|GraphQL\\Validator\\DocumentValidator\> given\.$#'
5+
identifier: argument.type
6+
count: 1
7+
path: generate-class-reference.php

0 commit comments

Comments
 (0)