Skip to content

Commit de1eb05

Browse files
committed
Merge branch 'master' into symfony-7
# Conflicts: # .travis.yml # composer.json
2 parents 25b690c + f5c3805 commit de1eb05

File tree

5 files changed

+3
-52
lines changed

5 files changed

+3
-52
lines changed

.travis.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
[![Latest Unstable Version](https://poser.pugx.org/thecodingmachine/graphqlite-bundle/v/unstable)](https://packagist.org/packages/thecodingmachine/graphqlite-bundle)
33
[![License](https://poser.pugx.org/thecodingmachine/graphqlite-bundle/license)](https://packagist.org/packages/thecodingmachine/graphqlite-bundle)
44
[![Build Status](https://travis-ci.org/thecodingmachine/graphqlite-bundle.svg?branch=master)](https://travis-ci.org/thecodingmachine/graphqlite-bundle)
5-
[![Coverage Status](https://coveralls.io/repos/thecodingmachine/graphqlite-bundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/thecodingmachine/graphqlite-bundle?branch=master)
65

76

87
# GraphQLite bundle

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@
2727
"symfony/translation": "^6.4 || ^7",
2828
"symfony/psr-http-message-bridge": "^2.0 || ^7.0",
2929
"nyholm/psr7": "^1.1",
30-
"laminas/laminas-diactoros": "^2.2.2 || ^3.0",
30+
"laminas/laminas-diactoros": "^2.2.2 || ^3",
3131
"overblog/graphiql-bundle": "^0.2 || ^0.3 || ^1",
3232
"thecodingmachine/cache-utils": "^1"
3333
},
3434
"require-dev": {
3535
"symfony/security-bundle": "^6.4 || ^7",
3636
"symfony/yaml": "^6.4 || ^7",
3737
"beberlei/porpaginas": "^1.2 || ^2.0",
38-
"php-coveralls/php-coveralls": "^2.1.0",
3938
"symfony/phpunit-bridge": "^6.4 || ^7",
4039
"phpstan/phpstan": "^1.8",
4140
"composer/package-versions-deprecated": "^1.8",

src/Command/DumpSchemaCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4343
{
4444
$io = new SymfonyStyle($input, $output);
4545

46-
$schemaExport = SchemaPrinterForGraphQLite::doPrint($this->schema, ['sortTypes' => true]);
46+
$schemaExport = SchemaPrinterForGraphQLite::doPrint($this->schema, ['sortTypes' => true, 'sortFields' => true]);
4747

4848
$filename = $input->getOption('output');
4949
if (\is_string($filename)) {

tests/Command/DumpSchemaCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function testExecute(): void
1919
$commandTester->execute([]);
2020

2121
self::assertMatchesRegularExpression(
22-
'/type Product {[\s"]*seller: Contact\s*name: String!\s*price: Float!\s*}/',
22+
'/type Product {[\s"]*name: String!\s*price: Float!\s*seller: Contact\s*}/',
2323
$commandTester->getDisplay()
2424
);
2525
}

0 commit comments

Comments
 (0)