Skip to content

Update ExtensionInterface.php #32425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 42 commits into
base: 2.4-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1832b9c
Spellings mistake
ejaz-alam Dec 14, 2020
fe50044
Update ImagesConfigFactoryInterface.php
ejaz-alam Mar 10, 2021
d979119
Update EntityMetadataInterface.php
ejaz-alam Mar 10, 2021
a086c10
Update HydratorInterface.php
ejaz-alam Mar 10, 2021
ff94bd4
Update MapperInterface.php
ejaz-alam Mar 10, 2021
3de525b
Update AttributeInterface.php
ejaz-alam Mar 10, 2021
6c74f46
Update CheckIfExistsInterface.php
ejaz-alam Mar 10, 2021
bd24ebe
Update CreateInterface.php
ejaz-alam Mar 10, 2021
d13cb98
Update DeleteInterface.php
ejaz-alam Mar 10, 2021
3ce483a
Update ExtensionInterface.php
ejaz-alam Mar 10, 2021
ec99462
Update ReadInterface.php
ejaz-alam Mar 10, 2021
5b6ee22
Update UpdateInterface.php
ejaz-alam Mar 10, 2021
17d39a0
Update OperationInterface.php
ejaz-alam Mar 10, 2021
3c0a65f
Update Context.php
ejaz-alam Mar 10, 2021
9589ae7
Update ExtensionInterface.php
ejaz-alam Mar 10, 2021
448ab9c
Update EntityManager.php
ejaz-alam Mar 10, 2021
40be40a
Merge pull request https://github.com/magento/magento2/pull/32424 to …
magento-engcom-team Mar 10, 2021
eda7953
Merge pull request https://github.com/magento/magento2/pull/32423 to …
magento-engcom-team Mar 10, 2021
34e4e8c
Merge pull request https://github.com/magento/magento2/pull/32421 to …
magento-engcom-team Mar 10, 2021
85fa6f8
Merge pull request https://github.com/magento/magento2/pull/32422 to …
magento-engcom-team Mar 10, 2021
6d3cedd
Merge pull request https://github.com/magento/magento2/pull/32410 to …
magento-engcom-team Mar 10, 2021
401ec19
Merge pull request https://github.com/magento/magento2/pull/32411 to …
magento-engcom-team Mar 10, 2021
3bc6c83
Merge pull request https://github.com/magento/magento2/pull/32412 to …
magento-engcom-team Mar 10, 2021
890cbe1
Merge pull request https://github.com/magento/magento2/pull/32413 to …
magento-engcom-team Mar 10, 2021
82a05eb
Merge pull request https://github.com/magento/magento2/pull/32414 to …
magento-engcom-team Mar 10, 2021
0f79443
Merge pull request https://github.com/magento/magento2/pull/32415 to …
magento-engcom-team Mar 10, 2021
88d6b8f
Merge pull request https://github.com/magento/magento2/pull/32416 to …
magento-engcom-team Mar 10, 2021
a211fe1
Merge pull request https://github.com/magento/magento2/pull/32417 to …
magento-engcom-team Mar 10, 2021
4a08c42
Merge pull request https://github.com/magento/magento2/pull/32418 to …
magento-engcom-team Mar 10, 2021
ac48f79
Merge pull request https://github.com/magento/magento2/pull/32419 to …
magento-engcom-team Mar 10, 2021
7acb887
Merge pull request https://github.com/magento/magento2/pull/32420 to …
magento-engcom-team Mar 10, 2021
4a7f96e
Version Removed
ejaz-alam Mar 17, 2021
a64886e
Update ContextInterface.php
ejaz-alam Mar 17, 2021
2612d2f
Update HydratorInterface.php
ejaz-alam Mar 17, 2021
2a09f12
Update ImagesConfigFactoryInterface.php
ejaz-alam Mar 17, 2021
5171678
Update CurrentCustomer.php
ejaz-alam Mar 17, 2021
b73d747
Update Data.php
ejaz-alam Mar 17, 2021
5e9a4d5
Update ZendClient.php
ejaz-alam Mar 17, 2021
17277f5
Merge pull request https://github.com/magento/magento2/pull/32523 to …
magento-engcom-team Mar 23, 2021
46e95b5
Merge pull request https://github.com/magento/magento2/pull/32526 to …
magento-engcom-team Mar 23, 2021
75f4c8b
Merge pull request https://github.com/magento/magento2/pull/32527 to …
magento-engcom-team Mar 23, 2021
e2ef08b
Merge pull request https://github.com/magento/magento2/pull/32528 to …
magento-engcom-team Mar 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Model/Layer/ContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*
* As Magento moves from inheritance-based APIs all such classes will be deprecated together with their
* corresponding abstract classes.
*
* @deprecated
*/
interface ContextInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
*/
namespace Magento\Catalog\Model\Product\Gallery;

/**
* Interface ImagesConfigFactoryInterface
* @api
*/
interface ImagesConfigFactoryInterface
{
/**
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/Checkout/Model/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,16 @@ public function getQuote()
}

/**
* If current currency code of quote is not equal current currency code of store,
* If current currency code of quote is not equal to current currency code of store,
* need recalculate totals of quote. It is possible if customer use currency switcher or
* store switcher.
*/
if ($quote->getQuoteCurrencyCode() != $this->_storeManager->getStore()->getCurrentCurrencyCode()) {
$quote->setStore($this->_storeManager->getStore());
$this->quoteRepository->save($quote->collectTotals());
/*
* We mast to create new quote object, because collectTotals()
* can to create links with other objects.
* We must to create new quote object, because collectTotals()
* can create links with other objects.
*/
$quote = $this->quoteRepository->get($this->getQuoteId());
}
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Customer/Helper/Session/CurrentCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* Class CurrentCustomer
* @deprecated use \Magento\Customer\Model\Session
*
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
*/
class CurrentCustomer
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/App/Helper/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*
* As Magento moves from inheritance-based APIs all such classes will be deprecated together with
* the classes they were introduced for.
*
* @deprecated
*/
class Context implements \Magento\Framework\ObjectManager\ContextInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
* For filtering operations, it's recommended to use successor of
* Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.
*
* @deprecated
*/
class EntityManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/**
* Interface EntityMetadataInterface
* @deprecated
*/
interface EntityMetadataInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/**
* Interface HydratorInterface
* @deprecated
*/
interface HydratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* MapperInterface
* @deprecated
*/
interface MapperInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/**
* Interface AttributeInterface
* @deprecated
*/
interface AttributeInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* Interface for checking if entity exists
* @deprecated
*/
interface CheckIfExistsInterface extends OperationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* Interface for creating entity
* @deprecated
*/
interface CreateInterface extends OperationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* Interface for deleting entity
* @deprecated
*/
interface DeleteInterface extends OperationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* Interface ExtensionInterface
* @deprecated
*/
interface ExtensionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* Interface for reading entity data
* @deprecated
*/
interface ReadInterface extends OperationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* Interface for updating entity
* @deprecated
*/
interface UpdateInterface extends OperationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* Marker interface for entity manager operations.
* @deprecated this component was never finished and not recommended for usage
*/
interface OperationInterface
{
Expand Down
1 change: 1 addition & 0 deletions lib/internal/Magento/Framework/HTTP/ZendClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Magento HTTP Client
*
* @author Magento Core Team <core@magentocommerce.com>
* @deprecated Use \Magento\Framework\HTTP\ClientInterface
*/
namespace Magento\Framework\HTTP;

Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/Url/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* Core URL helper
*
* @author Magento Core Team <core@magentocommerce.com>
*
* @deprecated Use @api \Magento\Framework\Url\EncoderInterface::encode and \Magento\Framework\UrlInterface::getCurrentUrl
*/
namespace Magento\Framework\Url\Helper;

Expand Down