Skip to content

Commit 356cc4e

Browse files
chore(deps): update dependency friendsofphp/php-cs-fixer to v3.91.2 (#1802)
* chore(deps): update dependency friendsofphp/php-cs-fixer to v3.91.2 * Autofix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 416b797 commit 356cc4e

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"amphp/http-server": "^2.1",
1919
"dms/phpunit-arraysubset-asserts": "dev-master",
2020
"ergebnis/composer-normalize": "^2.28",
21-
"friendsofphp/php-cs-fixer": "3.91.1",
21+
"friendsofphp/php-cs-fixer": "3.91.2",
2222
"mll-lab/php-cs-fixer-config": "5.11.0",
2323
"nyholm/psr7": "^1.5",
2424
"phpbench/phpbench": "^1.2",

‎src/Error/Error.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @see \GraphQL\Tests\Error\ErrorTest
2424
*/
25-
class Error extends \Exception implements \JsonSerializable, ClientAware, ProvidesExtensions
25+
class Error extends \Exception implements \Stringable, \JsonSerializable, ClientAware, ProvidesExtensions
2626
{
2727
/**
2828
* Lazily initialized.

‎src/Language/AST/Node.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* @see \GraphQL\Tests\Language\AST\NodeTest
3333
*/
34-
abstract class Node implements \JsonSerializable
34+
abstract class Node implements \Stringable, \JsonSerializable
3535
{
3636
public ?Location $loc = null;
3737

‎src/Type/Definition/Type.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Registry of standard GraphQL types and base class for all other types.
1111
*/
12-
abstract class Type implements \JsonSerializable
12+
abstract class Type implements \Stringable, \JsonSerializable
1313
{
1414
public const INT = 'Int';
1515
public const FLOAT = 'Float';

‎tests/Type/ScalarSerializationTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testSerializesOutputAsString(): void
111111
self::assertSame('1', $stringType->serialize(true));
112112
self::assertSame('', $stringType->serialize(false));
113113
self::assertSame('', $stringType->serialize(null));
114-
self::assertSame('foo', $stringType->serialize(new class() {
114+
self::assertSame('foo', $stringType->serialize(new class() implements \Stringable {
115115
public function __toString(): string
116116
{
117117
return 'foo';

‎tests/Type/TestClasses/ObjectIdStub.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace GraphQL\Tests\Type\TestClasses;
44

5-
final class ObjectIdStub
5+
final class ObjectIdStub implements \Stringable
66
{
77
private int $id;
88

0 commit comments

Comments
 (0)