Skip to content

Commit adfa790

Browse files
committed
Trying to fix ecodev/graphql-upload available only in PHP 8 + Latest webonyx
1 parent de6c636 commit adfa790

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444

4545
- name: "Install dependencies with composer"
4646
run: "composer install --no-interaction"
47+
if: ${{ matrix.php-version != "8.0" }}
48+
49+
- name: "Install dependencies with composer. Ignoring platform reqs to bypass a problem with ecodev/graphql-upload available only with latest Webonyx on PHP8."
50+
run: "composer install --no-interaction --ignore-platform-reqs"
51+
if: ${{ matrix.php-version == "8.0" }}
4752

4853
- name: "Run tests with phpunit/phpunit"
4954
run: "vendor/bin/phpunit"

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"phpdocumentor/reflection-docblock": "^4.3 || ^5.0",
2121
"phpdocumentor/type-resolver": "^1.0.1",
2222
"psr/http-message": "^1",
23-
"ecodev/graphql-upload": "^4.0 || ^5.0 || ^6.0",
2423
"webmozart/assert": "^1.4",
2524
"symfony/cache": "^4.3 | ^5",
2625
"thecodingmachine/cache-utils": "^1",
@@ -42,10 +41,12 @@
4241
"phpstan/phpstan-webmozart-assert": "^0.12",
4342
"phpstan/extension-installer": "^1.0",
4443
"thecodingmachine/phpstan-strict-rules": "^0.12",
45-
"laminas/laminas-diactoros": "^2"
44+
"laminas/laminas-diactoros": "^2",
45+
"ecodev/graphql-upload": "^4.0 || ^5.0 || ^6.0"
4646
},
4747
"suggest": {
48-
"beberlei/porpaginas": "If you want automatic pagination in your GraphQL types"
48+
"beberlei/porpaginas": "If you want automatic pagination in your GraphQL types",
49+
"ecodev/graphql-upload": "If you want to support file upload inside GraphQL input types"
4950
},
5051
"autoload": {
5152
"psr-4": {

0 commit comments

Comments
 (0)