Issue #3231040 by Anul, longwave, alexpott, bbrala: Remove DependencySerializationTrait from JSON API exceptions

merge-requests/841/head
catch 2021-09-17 14:22:52 +01:00
parent 2e1102931e
commit 06e7f027d8
2 changed files with 0 additions and 5 deletions

View File

@ -5,7 +5,6 @@ namespace Drupal\jsonapi\Exception;
use Drupal\Core\Access\AccessResultInterface;
use Drupal\Core\Access\AccessResultReasonInterface;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException;
use Drupal\jsonapi\JsonApiResource\ResourceIdentifier;
@ -23,7 +22,6 @@ use Drupal\jsonapi\JsonApiResource\ResourceIdentifierTrait;
*/
class EntityAccessDeniedHttpException extends CacheableAccessDeniedHttpException implements ResourceIdentifierInterface {
use DependencySerializationTrait;
use ResourceIdentifierTrait;
/**

View File

@ -3,7 +3,6 @@
namespace Drupal\jsonapi\Exception;
use Drupal\Core\Entity\EntityConstraintViolationListInterface;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Symfony\Component\HttpKernel\Exception\HttpException;
/**
@ -23,8 +22,6 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
*/
class UnprocessableHttpEntityException extends HttpException {
use DependencySerializationTrait;
/**
* The constraint violations associated with this exception.
*