diff --git a/UPGRADE-1.14.md b/UPGRADE-1.14.md index 12cafb7d76..65b5e52153 100644 --- a/UPGRADE-1.14.md +++ b/UPGRADE-1.14.md @@ -188,6 +188,7 @@ The old namespaces are deprecated and may be removed in future versions. Update | `Sylius\Bundle\ApiBundle\Validator\Constraints\UniqueReviewerEmailValidator` | `sylius_api.validator.unique_reviewer_email` | | `Sylius\Bundle\ApiBundle\Validator\Constraints\AdminResetPasswordTokenNonExpiredValidator` | `sylius_api.validator.admin_reset_password_token_non_expired` | | `sylius.validator.order_address_requirement` | `sylius_api.validator.order_address_requirement` | + | `Sylius\Bundle\ApiBundle\PropertyInfo\Extractor\EmptyPropertyListExtractor` | `sylius_api.extractor.property_info.empty_property_list` | | `Sylius\Bundle\ApiBundle\SectionResolver\AdminApiUriBasedSectionResolver` | `sylius_api.section_resolver.admin_api_uri_based` | | `Sylius\Bundle\ApiBundle\SectionResolver\ShopApiUriBasedSectionResolver` | `sylius_api.section_resolver.shop_api_uri_based` | | `Sylius\Bundle\ApiBundle\EventListener\ApiCartBlamerListener` | `sylius_api.listener.api_cart_blamer` | diff --git a/src/Sylius/Bundle/ApiBundle/PropertyInfo/Extractor/EmptyPropertyListExtractor.php b/src/Sylius/Bundle/ApiBundle/PropertyInfo/Extractor/EmptyPropertyListExtractor.php index f8c1ad7e91..55c25801ba 100644 --- a/src/Sylius/Bundle/ApiBundle/PropertyInfo/Extractor/EmptyPropertyListExtractor.php +++ b/src/Sylius/Bundle/ApiBundle/PropertyInfo/Extractor/EmptyPropertyListExtractor.php @@ -15,14 +15,6 @@ namespace Sylius\Bundle\ApiBundle\PropertyInfo\Extractor; use Symfony\Component\PropertyInfo\PropertyListExtractorInterface; -trigger_deprecation( - 'sylius/api-bundle', - '1.14', - 'The "%s" class is deprecated and will be removed in Sylius 2.0.', - EmptyPropertyListExtractor::class, -); - -/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */ final class EmptyPropertyListExtractor implements PropertyListExtractorInterface { public function getProperties($class, array $context = []): ?array diff --git a/src/Sylius/Bundle/ApiBundle/Resources/config/services.xml b/src/Sylius/Bundle/ApiBundle/Resources/config/services.xml index ba68491389..de478d40aa 100644 --- a/src/Sylius/Bundle/ApiBundle/Resources/config/services.xml +++ b/src/Sylius/Bundle/ApiBundle/Resources/config/services.xml @@ -32,11 +32,8 @@ - The "%service_id%" service is deprecated since 1.14 and will be removed in 2.0. - - - The "%alias_id%" service is deprecated since 1.14 and will be removed in 2.0. +