Skip to content

Commit 6f5d136

Browse files
MC-19366: Downgrade of package webonyx/graphql-php to match lowest php version supported by coding standard
1 parent 47fb203 commit 6f5d136

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

PHP_CodeSniffer/Tokenizers/GraphQL.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class GraphQL extends Tokenizer
2222
* @var array
2323
*/
2424
private $tokenTypeMap = [
25-
Token::AMP => null, //TODO Should we map this to a specific type
2625
Token::AT => 'T_DOC_COMMENT_TAG',
2726
Token::BANG => null, //TODO Should we map this to a specific type
2827
Token::BLOCK_STRING => 'T_COMMENT',

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"require": {
1111
"php": ">=5.6.0",
1212
"squizlabs/php_codesniffer": "^3.4",
13-
"webonyx/graphql-php": "^0.13.8"
13+
"webonyx/graphql-php": ">=0.12.6 <1.0"
1414
},
1515
"require-dev": {
1616
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"

composer.lock

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

0 commit comments

Comments
 (0)