Drop deprecated GraphQL\Schema

This commit is contained in:
Simon Podlipsky 2019-06-17 13:54:38 +02:00
parent 0a71f9fba9
commit d259a303d3
2 changed files with 5 additions and 22 deletions

View File

@ -1,3 +1,8 @@
## Master
### Breaking (major): dropped deprecations
- dropped deprecated `GraphQL\Schema`. Use `GraphQL\Type\Schema`.
## Upgrade v0.12.x > v0.13.x ## Upgrade v0.12.x > v0.13.x
### Breaking (major): minimum supported version of PHP ### Breaking (major): minimum supported version of PHP

View File

@ -1,22 +0,0 @@
<?php
declare(strict_types=1);
namespace GraphQL;
use function trigger_error;
use const E_USER_DEPRECATED;
trigger_error(
'GraphQL\Schema is moved to GraphQL\Type\Schema',
E_USER_DEPRECATED
);
/**
* Schema Definition
*
* @deprecated moved to GraphQL\Type\Schema
*/
class Schema extends \GraphQL\Type\Schema
{
}