Skip to content

Commit caa7e59

Browse files
committed
Update tooling, composer normalize
1 parent 7fa4f50 commit caa7e59

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

.gitattributes

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tests export-ignore
2-
.gitattributes export-ignore
3-
.gitignore export-ignore
4-
.styleci.yml export-ignore
5-
.travis.yml export-ignore
6-
docker-compose.yml export-ignore
7-
Dockerfile export-ignore
8-
Makefile export-ignore
9-
phpstan.neon export-ignore
10-
phpunit.xml export-ignore
1+
/tests export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.styleci.yml export-ignore
5+
/.travis.yml export-ignore
6+
/docker-compose.yml export-ignore
7+
/Dockerfile export-ignore
8+
/Makefile export-ignore
9+
/phpstan.neon export-ignore
10+
/phpunit.xml export-ignore

composer.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "mll-lab/graphql-php-scalars",
3-
"description": "A collection of custom scalar types for usage with https://github.com/webonyx/graphql-php",
43
"type": "library",
5-
"keywords": ["graphql", "php"],
4+
"description": "A collection of custom scalar types for usage with https://github.com/webonyx/graphql-php",
5+
"keywords": [
6+
"graphql",
7+
"php"
8+
],
69
"license": "MIT",
710
"authors": [
811
{
@@ -12,22 +15,18 @@
1215
],
1316
"require": {
1417
"php": ">=7.2",
15-
"webonyx/graphql-php": "^0.13.8",
16-
"spatie/regex": "^1.4.1",
1718
"egulias/email-validator": "^2.1.17",
18-
"thecodingmachine/safe": "^1.0.3"
19+
"spatie/regex": "^1.4.1",
20+
"thecodingmachine/safe": "^1.0.3",
21+
"webonyx/graphql-php": "^0.13.8"
1922
},
2023
"require-dev": {
2124
"ext-json": "*",
22-
"phpunit/phpunit": "^8.5.2",
23-
"psy/psysh": "^0.9.12",
24-
"phpstan/phpstan": "^0.12.11",
25+
"phpstan/phpstan": "^0.12.19",
26+
"phpunit/phpunit": "^8.5.3",
2527
"thecodingmachine/phpstan-safe-rule": "^1.0.0"
2628
},
2729
"autoload": {
28-
"files": [
29-
"src/utils.php"
30-
],
3130
"psr-4": {
3231
"MLL\\GraphQLScalars\\": "src"
3332
}

src/Mixed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace MLL\GraphQLScalars;
66

7-
use GraphQL\Language\AST\ValueNode;
7+
use GraphQL\Language\AST\Node;
88
use GraphQL\Type\Definition\ScalarType;
99
use GraphQL\Utils\AST;
1010

@@ -44,7 +44,7 @@ public function parseValue($value)
4444
*
4545
* In the case of an invalid node or value, this method must throw an Exception.
4646
*
47-
* @param ValueNode $valueNode
47+
* @param Node $valueNode
4848
* @param mixed[]|null $variables
4949
*
5050
* @throws \Exception

0 commit comments

Comments
 (0)