Skip to content

Mark interfaces deprecated #32060

Open
Open
@sivaschenko

Description

@sivaschenko

The following interfaces should be deprecated

  1. app/code/Magento/Catalog/Model/Layer/ContextInterface.php: Note from Kril: As Magento moves from inheritance-based APIs all such classes will be deprecated together with their corresponding abstract classes.
  2. app/code/Magento/Catalog/Model/Product/Gallery/ImagesConfigFactoryInterface.php: No need to introduce interface for factories. Factory class must marked as @api instead
  3. lib/internal/Magento/Framework/EntityManager/EntityMetadataInterface.php: This component was never finished and not recommended for usage
  4. lib/internal/Magento/Framework/EntityManager/HydratorInterface.php: This component was never finished and not recommended for usage
  5. lib/internal/Magento/Framework/EntityManager/MapperInterface.php: This component was never finished and not recommended for usage
  6. lib/internal/Magento/Framework/EntityManager/Operation/AttributeInterface.php: This component was never finished and not recommended for usage
  7. lib/internal/Magento/Framework/EntityManager/Operation/CheckIfExistsInterface.php: This component was never finished and not recommended for usage
  8. lib/internal/Magento/Framework/EntityManager/Operation/CreateInterface.php: This component was never finished and not recommended for usage
  9. lib/internal/Magento/Framework/EntityManager/Operation/DeleteInterface.php: This component was never finished and not recommended for usage
  10. lib/internal/Magento/Framework/EntityManager/Operation/ExtensionInterface.php: This component was never finished and not recommended for usage
  11. lib/internal/Magento/Framework/EntityManager/Operation/ReadInterface.php: This component was never finished and not recommended for usage
  12. lib/internal/Magento/Framework/EntityManager/Operation/UpdateInterface.php: This component was never finished and not recommended for usage
  13. lib/internal/Magento/Framework/EntityManager/OperationInterface.php: This component was never finished and not recommended for usage
  14. Magento\Framework\App\Helper\Context The class comment states that it must not be used directly and should deprecated
  15. Magento\Framework\EntityManager\Operation\ExtensionInterface EntityManager was not finished and should not be used
  16. Magento\Framework\EntityManager\EntityManager EntityManager was not finished and should not be used
  17. Magento\Customer\Helper\Session\CurrentCustomer Use \Magento\Customer\Model\Session::getId()
  18. Magento\Framework\Url\Helper\Data Use @api \Magento\Framework\Url\EncoderInterface::encode and \Magento\Framework\UrlInterface::getCurrentUrl
  19. Magento\Framework\HTTP\ZendClient Use Interface instead \Magento\Framework\HTTP\ClientInterface

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions