Skip to content

Commit 018ac81

Browse files
committed
Removed deprecated error classes and added class_alias for them instead in deprecated.php
1 parent 3d4cd15 commit 018ac81

File tree

4 files changed

+4
-50
lines changed

4 files changed

+4
-50
lines changed

src/Error.php

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

src/FormattedError.php

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

src/SyntaxError.php

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

src/deprecated.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
}
55

66
// Renamed as of 8.0:
7+
class_alias('GraphQL\Error\Error', 'GraphQL\Error');
8+
class_alias('GraphQL\Error\FormattedError', 'GraphQL\FormattedError');
9+
class_alias('GraphQL\Error\SyntaxError', 'GraphQL\SyntaxError');
10+
711
class_alias('GraphQL\Language\AST\ArgumentNode', 'GraphQL\Language\AST\Argument');
812
class_alias('GraphQL\Language\AST\BooleanValueNode', 'GraphQL\Language\AST\BooleanValue');
913
class_alias('GraphQL\Language\AST\DefinitionNode', 'GraphQL\Language\AST\Definition');

0 commit comments

Comments
 (0)