Skip to content

Remove deprecated interfaces #32064

Open
Open
@sivaschenko

Description

@sivaschenko

Remove the following deprecated interfaces in 2.5-develop branch.

This task depends on deprecation in 2.4: #32063

  1. app/code/Magento/Analytics/Model/ConfigInterface.php: should be replaced by Magento\Framework\Config\DataInterface
  2. app/code/Magento/Analytics/Model/Connector/Http/ClientInterface.php: should be replaced by Psr\Http\Client\ClientInterface
  3. app/code/Magento/Analytics/Model/Connector/Http/ResponseHandlerInterface.php: related to app/code/Magento/Analytics/Model/Connector/Http/ClientInterface.php
  4. app/code/Magento/Analytics/ReportXml/ConfigInterface.php: should be replaced by Magento\Framework\Config\DataInterface
  5. app/code/Magento/GraphQl/Model/Query/ContextFactoryInterface.php: Interfaces are not necessary for factories, should be deprecated and later removed
  6. app/code/Magento/Sales/Model/ResourceModel/HelperInterface.php: 1 usage, need to be eliminated in favor of private implementation
  7. lib/internal/Magento/Framework/Filter/Encrypt/AdapterInterface.php: No implementations, there are preference but they implement zend interface directly. Seems unused
  8. lib/internal/Magento/Framework/GraphQl/Query/PostFetchProcessorInterface.php: Not used
  9. lib/internal/Magento/Framework/Model/Operation/ReadInterface.php: Not used
  10. lib/internal/Magento/Framework/Model/Operation/WriteInterface.php: Not used
  11. lib/internal/Magento/Framework/Model/ResourceModel/Db/ProcessEntityRelationInterface.php: Not used
  12. lib/internal/Magento/Framework/Module/ResourceInterface.php: Implementation is deprecated with explanation why
  13. lib/internal/Magento/Framework/View/Asset/SourceFileGeneratorInterface.php: Not used
  14. lib/internal/Magento/Framework/View/Design/Theme/Domain/PhysicalInterface.php: Not used
  15. lib/internal/Magento/Framework/View/Design/Theme/Domain/StagingInterface.php: Not used
  16. lib/internal/Magento/Framework/View/Design/Theme/Domain/VirtualInterface.php: Not used
  17. app/code/Magento/CustomerGraphQl/Api/ValidateCustomerDataInterface.php: GraphQL modules should be extensible via GraphQL schema. They are not domain modules and must not contain Api folder
  18. app/code/Magento/Catalog/Model/EntityInterface.php: Unused interface, exists for 5 years

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions