Merge pull request #502 from simPod/drop-deprecated-schema

Drop deprecated GraphQL\Schema
This commit is contained in:
Vladimir Razuvaev 2019-07-12 16:31:50 +07:00 committed by GitHub
commit 005b1a38c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
{
}