mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-16 20:33:14 +03:00
Fixing broken build for 0.8
This commit is contained in:
parent
c08cc2b00b
commit
4945317406
18
src/Error.php
Normal file
18
src/Error.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
namespace GraphQL;
|
||||||
|
|
||||||
|
trigger_error(
|
||||||
|
'GraphQL\Error was moved to GraphQL\Error\Error and will be deleted on next release',
|
||||||
|
E_USER_DEPRECATED
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Error
|
||||||
|
*
|
||||||
|
* @deprecated as of 8.0 in favor of GraphQL\Error\Error
|
||||||
|
* @package GraphQL
|
||||||
|
*/
|
||||||
|
class Error extends \GraphQL\Error\Error
|
||||||
|
{
|
||||||
|
}
|
@ -4,7 +4,6 @@ if (defined('GRAPHQL_WITH_DEPRECATED') && !GRAPHQL_WITH_DEPRECATED) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Renamed as of 8.0:
|
// Renamed as of 8.0:
|
||||||
class_alias('GraphQL\Error\Error', 'GraphQL\Error');
|
|
||||||
class_alias('GraphQL\Error\FormattedError', 'GraphQL\FormattedError');
|
class_alias('GraphQL\Error\FormattedError', 'GraphQL\FormattedError');
|
||||||
class_alias('GraphQL\Error\SyntaxError', 'GraphQL\SyntaxError');
|
class_alias('GraphQL\Error\SyntaxError', 'GraphQL\SyntaxError');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user