Skip to content

Commit

Permalink
Fixing broken build for 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
vladar committed Nov 25, 2016
1 parent c08cc2b commit 4945317
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/Error.php
Original file line number Diff line number Diff line change
@@ -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
{
}
1 change: 0 additions & 1 deletion src/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
}

// Renamed as of 8.0:
class_alias('GraphQL\Error\Error', 'GraphQL\Error');
class_alias('GraphQL\Error\FormattedError', 'GraphQL\FormattedError');
class_alias('GraphQL\Error\SyntaxError', 'GraphQL\SyntaxError');

Expand Down

0 comments on commit 4945317

Please sign in to comment.