Skip to content

Commit

Permalink
Merge a919ab2 into 83aadb5
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Jan 8, 2020
2 parents 83aadb5 + a919ab2 commit f8a91ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ matrix:
# Test the latest stable release
- php: 7.2
env: PHPSTAN=true
- php: 7.3
- php: 7.4
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"

# Test LTS versions.
- php: 7.3
- php: 7.4
env: DEPENDENCIES="symfony/lts:^4"

# Latest commit to master
- php: 7.3
- php: 7.4
env: STABILITY="dev"

allow_failures:
# Minimum supported dependencies with the latest and oldest PHP version
- php: 7.3
- php: 7.4
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
- php: 7.2
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
Expand Down
2 changes: 1 addition & 1 deletion Tests/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function testErrors(): void

$response = $kernel->handle($request);

$this->assertSame(500, $response->getStatusCode());
$this->assertSame(400, $response->getStatusCode());

// Let's test that the highest exception code compatible with an HTTP is kept.
$request = Request::create('/graphql', 'GET', ['query' => '
Expand Down
6 changes: 6 additions & 0 deletions config-template/packages/graphqlite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Read more about GraphQLite available options at: https://graphqlite.thecodingmachine.io/docs/symfony-bundle
graphqlite:
namespace:
controllers: App\GraphqlController\
types:
- App\

0 comments on commit f8a91ca

Please sign in to comment.