diff --git a/app/common.php b/app/common.php index 025172d..aba5098 100644 --- a/app/common.php +++ b/app/common.php @@ -5,7 +5,7 @@ use GraphQL\Type\Definition\NonNull; use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\Type; -use GraphQL\Schema; +use GraphQL\Type\Schema; function renderMessage($query, $data, $calls, $callsIds) { diff --git a/composer.json b/composer.json index d7a813f..0c3fd4a 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "require": { "overblog/dataloader-php": "dev-master", "react/promise": "^2.4", - "webonyx/graphql-php": "^0.9.0" + "webonyx/graphql-php": "^14.3" }, "autoload": { "files": [ diff --git a/composer.lock b/composer.lock index a34602e..b7801b0 100644 --- a/composer.lock +++ b/composer.lock @@ -1,11 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "e072609ed78c87692be64c24d8fdbc5f", - "content-hash": "b5d803e2dcec4859c9969baf3a8bcf2b", + "content-hash": "1132dd58fcbb5a0932810c7734d9c26f", "packages": [ { "name": "overblog/dataloader-php", @@ -13,12 +12,12 @@ "source": { "type": "git", "url": "https://github.com/overblog/dataloader-php.git", - "reference": "797c49350dd9a69b50278103c0f55ae1371fe2ae" + "reference": "b557de10f4c83146b3a456c09a72e18217f846e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/overblog/dataloader-php/zipball/797c49350dd9a69b50278103c0f55ae1371fe2ae", - "reference": "797c49350dd9a69b50278103c0f55ae1371fe2ae", + "url": "https://api.github.com/repos/overblog/dataloader-php/zipball/b557de10f4c83146b3a456c09a72e18217f846e4", + "reference": "b557de10f4c83146b3a456c09a72e18217f846e4", "shasum": "" }, "require": { @@ -31,17 +30,18 @@ "guzzlehttp/promises": "^1.3.0", "phpunit/phpunit": "^4.1|^5.1", "react/promise": "^2.5.0", - "webonyx/graphql-php": "^0.9.0" + "webonyx/graphql-php": "^0.11.0" }, "suggest": { "guzzlehttp/promises": "To use with Guzzle promise", "react/promise": "To use with ReactPhp promise", "webonyx/graphql-php": "To use with Webonyx GraphQL native promise" }, + "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.4-dev" + "dev-master": "0.5-dev" } }, "autoload": { @@ -60,7 +60,11 @@ "caching", "dataLoader" ], - "time": "2017-02-06 16:41:33" + "support": { + "issues": "https://github.com/overblog/dataloader-php/issues", + "source": "https://github.com/overblog/dataloader-php/tree/master" + }, + "time": "2020-07-10T08:58:44+00:00" }, { "name": "react/promise", @@ -103,44 +107,55 @@ "promise", "promises" ], - "time": "2016-12-22 14:09:01" + "time": "2016-12-22T14:09:01+00:00" }, { "name": "webonyx/graphql-php", - "version": "v0.9.2", + "version": "v14.3.0", "source": { "type": "git", "url": "https://github.com/webonyx/graphql-php.git", - "reference": "c2f0749d8e9ed0edeaf7c9a206e28b1c5c45fe80" + "reference": "4f3430990824ff410fe548102cb85f0c46442704" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/c2f0749d8e9ed0edeaf7c9a206e28b1c5c45fe80", - "reference": "c2f0749d8e9ed0edeaf7c9a206e28b1c5c45fe80", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/4f3430990824ff410fe548102cb85f0c46442704", + "reference": "4f3430990824ff410fe548102cb85f0c46442704", "shasum": "" }, "require": { + "ext-json": "*", "ext-mbstring": "*", - "php": ">=5.4,<8.0-DEV" + "php": "^7.1||^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8" + "amphp/amp": "^2.3", + "doctrine/coding-standard": "^6.0", + "nyholm/psr7": "^1.2", + "phpbench/phpbench": "^0.16.10", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "0.12.32", + "phpstan/phpstan-phpunit": "0.12.11", + "phpstan/phpstan-strict-rules": "0.12.2", + "phpunit/phpunit": "^7.2|^8.5", + "psr/http-message": "^1.0", + "react/promise": "2.*", + "simpod/php-coveralls-mirror": "^3.0", + "squizlabs/php_codesniffer": "3.5.4" }, "suggest": { - "react/promise": "To use ReactPHP promise adapter" + "psr/http-message": "To use standard GraphQL server", + "react/promise": "To leverage async resolving on React PHP platform" }, "type": "library", "autoload": { - "files": [ - "src/deprecated.php" - ], "psr-4": { "GraphQL\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD" + "MIT" ], "description": "A PHP port of GraphQL reference implementation", "homepage": "https://github.com/webonyx/graphql-php", @@ -148,7 +163,17 @@ "api", "graphql" ], - "time": "2017-02-07 06:01:36" + "support": { + "issues": "https://github.com/webonyx/graphql-php/issues", + "source": "https://github.com/webonyx/graphql-php/tree/master" + }, + "funding": [ + { + "url": "https://opencollective.com/webonyx-graphql-php", + "type": "open_collective" + } + ], + "time": "2020-08-23T11:52:38+00:00" } ], "packages-dev": [], @@ -160,5 +185,6 @@ "prefer-stable": false, "prefer-lowest": false, "platform": [], - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.0.0" }