diff --git a/composer.json b/composer.json index be963f3..4631857 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "require": { "php": ">=7.4", - "guzzlehttp/guzzle": "^7.0" + "guzzlehttp/guzzle": "^6.5 | ^7.0" }, "require-dev": { "phpunit/phpunit": "^9.6", @@ -20,5 +20,9 @@ "psr-4": { "ThothApi\\Tests\\": "tests/" } + }, + "scripts" : { + "test": "vendor/bin/phpunit --colors --testdox tests/", + "lint": "vendor/bin/php-cs-fixer fix -v --diff --allow-risky=yes --config=.php-cs-fixer.php" } } diff --git a/composer.lock b/composer.lock index 7d05e7a..879db3d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9debd7fadd2b8d85087c045d72888e63", + "content-hash": "5b40a8131540e685fa85043392b74191", "packages": [ { "name": "guzzlehttp/guzzle", @@ -1074,16 +1074,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.68.1", + "version": "v3.68.5", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "b9db2b2ea3cdba7201067acee46f984ef2397cff" + "reference": "7bedb718b633355272428c60736dc97fb96daf27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/b9db2b2ea3cdba7201067acee46f984ef2397cff", - "reference": "b9db2b2ea3cdba7201067acee46f984ef2397cff", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7bedb718b633355272428c60736dc97fb96daf27", + "reference": "7bedb718b633355272428c60736dc97fb96daf27", "shasum": "" }, "require": { @@ -1165,7 +1165,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.68.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.68.5" }, "funding": [ { @@ -1173,7 +1173,7 @@ "type": "github" } ], - "time": "2025-01-17T09:20:36+00:00" + "time": "2025-01-30T17:00:50+00:00" }, { "name": "myclabs/deep-copy", @@ -4828,12 +4828,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=7.4" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/src/GraphQL/Queries/WorkQuery.php b/src/GraphQL/Queries/WorkQuery.php index 5baad32..648ed99 100644 --- a/src/GraphQL/Queries/WorkQuery.php +++ b/src/GraphQL/Queries/WorkQuery.php @@ -83,6 +83,7 @@ protected function getFieldsFragment(): string return <<