Skip to content

Commit 9f92ed5

Browse files
committed
Update phpstan
1 parent 1705d4c commit 9f92ed5

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"friendsofphp/php-cs-fixer": "@stable",
3434
"phpunit/phpunit": "@stable",
3535
"zendframework/zend-servicemanager":"@stable",
36-
"phpstan/phpstan": "^0.10.5"
36+
"phpstan/phpstan": "@stable"
3737
},
3838
"license": "MIT"
3939
}

composer.lock

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ parameters:
1111
- '~::__construct\(\) does not call parent constructor from GraphQL\\Doctrine\\Definition\\EntityID\.$~'
1212
- '~Property GraphQL\\Doctrine\\Annotation\\Field::\$description \(string\) does not accept string\|null\.$~'
1313
- '~^Parameter #1 \$method of method GraphQL\\Doctrine\\Factory\\AbstractFieldsConfigurationFactory\:\:getMethodFullName\(\) expects ReflectionMethod, ReflectionFunctionAbstract given\.$~'
14-
- '~^Parameter #3 \$param of method GraphQL\\Doctrine\\Factory\\InputFieldsConfigurationFactory\:\:completeField\(\) expects ReflectionParameter, ReflectionParameter\|false given\.$~'
1514
- '~^Parameter #1 \$driver of method Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriverChain\:\:setDefaultDriver\(\) expects Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriver, Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriver\|null given\.$~'
1615
- '~^Parameter #1 \$str of function lcfirst expects string, string\|null given.$~'
1716
- '~^Parameter #3 \$subject of function preg_replace expects array\|string, string\|null given\.$~'
1817
- '~^Parameter #2 \$str of function explode expects string, string\|null given\.$~'
1918
- '~^Parameter #1 \$str of function ucfirst expects string, string\|null given\.$~'
2019
- '~^Method GraphQL\\Doctrine\\Utils::getTypeName\(\) should return string but returns string\|false\.$~'
2120
- '~^Parameter #2 \$type of method GraphQL\\Doctrine\\Factory\\AbstractFieldsConfigurationFactory::adjustNamespace\(\) expects string, string\|null given\.$~'
21+
- '~^Access to an undefined property GraphQL\\Language\\AST\\Node::\$kind\.$~'
22+
- '~^Return type \(GraphQL\\Doctrine\\Definition\\EntityID\) of method GraphQL\\Doctrine\\Definition\\EntityIDType::parseValue\(\) should be compatible with return type \(string\) of method GraphQL\\Type\\Definition\\IDType::parseValue\(\)$~'
23+
- '~^Return type \(GraphQL\\Doctrine\\Definition\\EntityID\) of method GraphQL\\Doctrine\\Definition\\EntityIDType::parseLiteral\(\) should be compatible with return type \(string\|null\) of method GraphQL\\Type\\Definition\\IDType::parseLiteral\(\)$~'

0 commit comments

Comments
 (0)