Skip to content

32056 api changes #33222

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions app/code/Magento/Catalog/Controller/Adminhtml/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Controller\Adminhtml;

use Magento\Backend\App\Action;

/**
* Catalog product controller
*
* @api
*
* @SuppressWarnings(PHPMD.NumberOfChildren)
*/
abstract class Product extends \Magento\Backend\App\Action
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/Pricing/Price/FinalPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Pricing\Price;

Expand All @@ -11,6 +12,8 @@

/**
* Final price model
*
* @api
*/
class FinalPrice extends AbstractPrice implements FinalPriceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Customer\Block\Adminhtml\Edit;

use Magento\Customer\Controller\RegistryConstants;

/**
* Class GenericButton
* @package Magento\Customer\Block\Adminhtml\Edit
*
* @api
*/
class GenericButton
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Payment/Gateway/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Payment\Gateway\Config;

use Magento\Framework\App\Config\ScopeConfigInterface;
Expand All @@ -15,6 +17,8 @@
* To process value retrieved from config implementation of \Magento\Payment\Gateway\Config\ValueHandlerInterface
* should be used (inheritance and overriding of getValue method or introduction of new public methods
* is not recommended).
*
* @api
*/
class Config implements ConfigInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Store\Ui\Component\Listing\Column\Store;

use Magento\Framework\Escaper;
Expand All @@ -11,6 +13,8 @@

/**
* Ui stores options
*
* @api
*/
class Options implements OptionSourceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Ui\DataProvider;

use Magento\Framework\Data\Collection;
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Ui/DataProvider/Modifier/PoolInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Ui\DataProvider\Modifier;

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/App/Cache/Type/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\App\Cache\Type;

Expand All @@ -11,6 +12,8 @@

/**
* System / Cache Management / Cache type "Configuration"
*
* @api
*/
class Config extends TagScope implements CacheInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\App\Config\ConfigResource;

use Magento\Framework\App\Config\ScopeConfigInterface;
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/App/Config/ValueFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\App\Config;

/**
Expand Down
3 changes: 2 additions & 1 deletion lib/internal/Magento/Framework/Console/Cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
*
* This is the hood for all command line tools supported by Magento.
*
* @inheritdoc
* @api
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Cli extends Console\Application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\Filesystem\Directory;

use Magento\Framework\Filesystem\DriverPool;
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/Module/Dir.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/**
* Encapsulates directories structure of a Magento module
*
* @api
*/
class Dir
{
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Mview/ActionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\Mview;

/**
* Interface \Magento\Framework\Mview\ActionInterface
*
* @api
*/
interface ActionInterface
{
Expand Down