diff --git a/lib/internal/Magento/Framework/HTTP/AsyncClient/HttpResponseDeferredInterface.php b/lib/internal/Magento/Framework/HTTP/AsyncClient/HttpResponseDeferredInterface.php index 7293cd571dc70..06d92bda7068a 100644 --- a/lib/internal/Magento/Framework/HTTP/AsyncClient/HttpResponseDeferredInterface.php +++ b/lib/internal/Magento/Framework/HTTP/AsyncClient/HttpResponseDeferredInterface.php @@ -12,6 +12,8 @@ /** * Deferred HTTP response. + * + * @api */ interface HttpResponseDeferredInterface extends CancelableDeferredInterface { diff --git a/lib/internal/Magento/Framework/HTTP/AsyncClient/Request.php b/lib/internal/Magento/Framework/HTTP/AsyncClient/Request.php index 871bb910e3acc..c78877730a7df 100644 --- a/lib/internal/Magento/Framework/HTTP/AsyncClient/Request.php +++ b/lib/internal/Magento/Framework/HTTP/AsyncClient/Request.php @@ -10,6 +10,8 @@ /** * Request to send. + * + * @api */ class Request { diff --git a/lib/internal/Magento/Framework/HTTP/AsyncClient/Response.php b/lib/internal/Magento/Framework/HTTP/AsyncClient/Response.php index e92515f74b58e..d13598820caec 100644 --- a/lib/internal/Magento/Framework/HTTP/AsyncClient/Response.php +++ b/lib/internal/Magento/Framework/HTTP/AsyncClient/Response.php @@ -10,6 +10,8 @@ /** * Http response. + * + * @api */ class Response { diff --git a/lib/internal/Magento/Framework/HTTP/AsyncClientInterface.php b/lib/internal/Magento/Framework/HTTP/AsyncClientInterface.php index ff739c58090b6..b7941abe28b66 100644 --- a/lib/internal/Magento/Framework/HTTP/AsyncClientInterface.php +++ b/lib/internal/Magento/Framework/HTTP/AsyncClientInterface.php @@ -13,6 +13,8 @@ /** * Asynchronous HTTP client. + * + * @api */ interface AsyncClientInterface { diff --git a/lib/internal/Magento/Framework/Image/Adapter/AbstractAdapter.php b/lib/internal/Magento/Framework/Image/Adapter/AbstractAdapter.php index dc34fb3fcddc9..3caab760f0108 100644 --- a/lib/internal/Magento/Framework/Image/Adapter/AbstractAdapter.php +++ b/lib/internal/Magento/Framework/Image/Adapter/AbstractAdapter.php @@ -12,8 +12,7 @@ /** * Image abstract adapter * - * @file Abstract.php - * @author Magento Core Team + * @api * @SuppressWarnings(PHPMD.TooManyFields) */ abstract class AbstractAdapter implements AdapterInterface diff --git a/lib/internal/Magento/Framework/Image/Adapter/AdapterInterface.php b/lib/internal/Magento/Framework/Image/Adapter/AdapterInterface.php index a981df9d9fddc..6d3b8dd7d7865 100644 --- a/lib/internal/Magento/Framework/Image/Adapter/AdapterInterface.php +++ b/lib/internal/Magento/Framework/Image/Adapter/AdapterInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Image\Adapter; /** * Interface \Magento\Framework\Image\Adapter\AdapterInterface * + * @api */ interface AdapterInterface { diff --git a/lib/internal/Magento/Framework/Image/Adapter/ConfigInterface.php b/lib/internal/Magento/Framework/Image/Adapter/ConfigInterface.php index aa014b61e867a..5b7143c36e959 100644 --- a/lib/internal/Magento/Framework/Image/Adapter/ConfigInterface.php +++ b/lib/internal/Magento/Framework/Image/Adapter/ConfigInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Image\Adapter; /** * Interface \Magento\Framework\Image\Adapter\ConfigInterface * + * @api */ interface ConfigInterface { diff --git a/lib/internal/Magento/Framework/Indexer/Config/DependencyInfoProviderInterface.php b/lib/internal/Magento/Framework/Indexer/Config/DependencyInfoProviderInterface.php index 7bfd013e1cdc3..68e43de88373a 100644 --- a/lib/internal/Magento/Framework/Indexer/Config/DependencyInfoProviderInterface.php +++ b/lib/internal/Magento/Framework/Indexer/Config/DependencyInfoProviderInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Indexer\Config; @@ -10,6 +11,8 @@ /** * Provides an information about indexers dependencies. + * + * @api */ interface DependencyInfoProviderInterface { diff --git a/lib/internal/Magento/Framework/Indexer/Table/StrategyInterface.php b/lib/internal/Magento/Framework/Indexer/Table/StrategyInterface.php index 84882aa747ad3..26058c5e39795 100644 --- a/lib/internal/Magento/Framework/Indexer/Table/StrategyInterface.php +++ b/lib/internal/Magento/Framework/Indexer/Table/StrategyInterface.php @@ -3,12 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Indexer\Table; /** * Interface \Magento\Framework\Indexer\Table\StrategyInterface * + * @api */ interface StrategyInterface { diff --git a/lib/internal/Magento/Framework/Interception/ConfigInterface.php b/lib/internal/Magento/Framework/Interception/ConfigInterface.php index 00d45c7551731..f0e6fd40f9baa 100644 --- a/lib/internal/Magento/Framework/Interception/ConfigInterface.php +++ b/lib/internal/Magento/Framework/Interception/ConfigInterface.php @@ -5,11 +5,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Interception; /** * Interface \Magento\Framework\Interception\ConfigInterface * + * @api */ interface ConfigInterface { diff --git a/lib/internal/Magento/Framework/Interception/ConfigLoaderInterface.php b/lib/internal/Magento/Framework/Interception/ConfigLoaderInterface.php index 2a739f4cf9486..5c9590163710a 100644 --- a/lib/internal/Magento/Framework/Interception/ConfigLoaderInterface.php +++ b/lib/internal/Magento/Framework/Interception/ConfigLoaderInterface.php @@ -9,6 +9,8 @@ /** * Interception configuration loader interface. + * + * @api */ interface ConfigLoaderInterface { diff --git a/lib/internal/Magento/Framework/Interception/ConfigWriterInterface.php b/lib/internal/Magento/Framework/Interception/ConfigWriterInterface.php index 9193937b65816..8a8511461b50f 100644 --- a/lib/internal/Magento/Framework/Interception/ConfigWriterInterface.php +++ b/lib/internal/Magento/Framework/Interception/ConfigWriterInterface.php @@ -9,6 +9,8 @@ /** * Interception config writer interface. + * + * @api */ interface ConfigWriterInterface { diff --git a/lib/internal/Magento/Framework/Interception/DefinitionInterface.php b/lib/internal/Magento/Framework/Interception/DefinitionInterface.php index 9d7c2d31966d0..133eba77b4f73 100644 --- a/lib/internal/Magento/Framework/Interception/DefinitionInterface.php +++ b/lib/internal/Magento/Framework/Interception/DefinitionInterface.php @@ -5,11 +5,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Interception; /** * Interface \Magento\Framework\Interception\DefinitionInterface * + * @api */ interface DefinitionInterface { diff --git a/lib/internal/Magento/Framework/Interception/InterceptorInterface.php b/lib/internal/Magento/Framework/Interception/InterceptorInterface.php index 451d8b5c599b7..d88cacdeb5afe 100644 --- a/lib/internal/Magento/Framework/Interception/InterceptorInterface.php +++ b/lib/internal/Magento/Framework/Interception/InterceptorInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Interception; /** @@ -10,6 +12,8 @@ * * This interface exposes the parent method of the interception class, which allows the caller to bypass * the interception logic. + * + * @api */ interface InterceptorInterface { diff --git a/lib/internal/Magento/Framework/Interception/ObjectManager/ConfigInterface.php b/lib/internal/Magento/Framework/Interception/ObjectManager/ConfigInterface.php index 441d96d0b1fa4..d54410470a4bc 100644 --- a/lib/internal/Magento/Framework/Interception/ObjectManager/ConfigInterface.php +++ b/lib/internal/Magento/Framework/Interception/ObjectManager/ConfigInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Interception\ObjectManager; /** * Interface \Magento\Framework\Interception\ObjectManager\ConfigInterface * + * @api */ interface ConfigInterface extends \Magento\Framework\ObjectManager\ConfigInterface { diff --git a/lib/internal/Magento/Framework/Interception/PluginListInterface.php b/lib/internal/Magento/Framework/Interception/PluginListInterface.php index 00ee03cae5b75..16923827fa25a 100644 --- a/lib/internal/Magento/Framework/Interception/PluginListInterface.php +++ b/lib/internal/Magento/Framework/Interception/PluginListInterface.php @@ -5,11 +5,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Interception; /** * Interface \Magento\Framework\Interception\PluginListInterface * + * @api */ interface PluginListInterface { diff --git a/lib/internal/Magento/Framework/Locale/AvailableLocalesInterface.php b/lib/internal/Magento/Framework/Locale/AvailableLocalesInterface.php index c7b40f7a6e113..2867b63dc339d 100644 --- a/lib/internal/Magento/Framework/Locale/AvailableLocalesInterface.php +++ b/lib/internal/Magento/Framework/Locale/AvailableLocalesInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Locale; use Magento\Framework\View\DesignInterface; /** * Interface for classes that fetching codes of available locales for the concrete theme. + * + * @api */ interface AvailableLocalesInterface { diff --git a/lib/internal/Magento/Framework/Locale/OptionInterface.php b/lib/internal/Magento/Framework/Locale/OptionInterface.php index 2169eedd2d900..3f2c5732e4738 100644 --- a/lib/internal/Magento/Framework/Locale/OptionInterface.php +++ b/lib/internal/Magento/Framework/Locale/OptionInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Locale; /** * Interface for classes that return array of locales. + * + * @api */ interface OptionInterface { diff --git a/lib/internal/Magento/Framework/Mail/Address.php b/lib/internal/Magento/Framework/Mail/Address.php index 73f0025458c55..160bab65f939e 100644 --- a/lib/internal/Magento/Framework/Mail/Address.php +++ b/lib/internal/Magento/Framework/Mail/Address.php @@ -9,6 +9,8 @@ /** * Class Address + * + * @api */ class Address { diff --git a/lib/internal/Magento/Framework/Mail/EmailMessageInterface.php b/lib/internal/Magento/Framework/Mail/EmailMessageInterface.php index 93eaa4acde3a4..02e0dbe3ba081 100644 --- a/lib/internal/Magento/Framework/Mail/EmailMessageInterface.php +++ b/lib/internal/Magento/Framework/Mail/EmailMessageInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Mail; /** * Interface EmailMessageInterface + * + * @api */ interface EmailMessageInterface extends MailMessageInterface { diff --git a/lib/internal/Magento/Framework/Mail/MimeInterface.php b/lib/internal/Magento/Framework/Mail/MimeInterface.php index a7910e195a160..3321bd502730a 100644 --- a/lib/internal/Magento/Framework/Mail/MimeInterface.php +++ b/lib/internal/Magento/Framework/Mail/MimeInterface.php @@ -3,12 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Mail; /** * Interface MimeInterface used providing constants * + * @api * @see \Laminas\Mime\Mime */ interface MimeInterface diff --git a/lib/internal/Magento/Framework/Mail/MimeMessageInterface.php b/lib/internal/Magento/Framework/Mail/MimeMessageInterface.php index a272bcfd89809..280048f5eeda1 100644 --- a/lib/internal/Magento/Framework/Mail/MimeMessageInterface.php +++ b/lib/internal/Magento/Framework/Mail/MimeMessageInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Mail; /** * Interface MimeMessageInterface + * + * @api */ interface MimeMessageInterface { diff --git a/lib/internal/Magento/Framework/Mail/MimePartInterface.php b/lib/internal/Magento/Framework/Mail/MimePartInterface.php index 8a658cdf975c9..0c00ac1756f87 100644 --- a/lib/internal/Magento/Framework/Mail/MimePartInterface.php +++ b/lib/internal/Magento/Framework/Mail/MimePartInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Mail; /** * Interface representing a MIME part. + * + * @api */ interface MimePartInterface { diff --git a/lib/internal/Magento/Framework/Message/ExceptionMessageFactoryInterface.php b/lib/internal/Magento/Framework/Message/ExceptionMessageFactoryInterface.php index 3a95346e33d3a..42fa03bc7e2cb 100644 --- a/lib/internal/Magento/Framework/Message/ExceptionMessageFactoryInterface.php +++ b/lib/internal/Magento/Framework/Message/ExceptionMessageFactoryInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Message; @@ -11,6 +12,7 @@ /** * Interface \Magento\Framework\Message\ExceptionMessageFactoryInterface * + * @api */ interface ExceptionMessageFactoryInterface { diff --git a/lib/internal/Magento/Framework/ObjectManager/ConfigCacheInterface.php b/lib/internal/Magento/Framework/ObjectManager/ConfigCacheInterface.php index 8552dece04d77..e05e292f47f53 100644 --- a/lib/internal/Magento/Framework/ObjectManager/ConfigCacheInterface.php +++ b/lib/internal/Magento/Framework/ObjectManager/ConfigCacheInterface.php @@ -8,6 +8,7 @@ /** * Interface \Magento\Framework\ObjectManager\ConfigCacheInterface * + * @api */ interface ConfigCacheInterface { diff --git a/lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php b/lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php index 21deeca418dad..e38442385a871 100644 --- a/lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php +++ b/lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php @@ -8,6 +8,7 @@ /** * Interface \Magento\Framework\ObjectManager\RelationsInterface * + * @api */ interface RelationsInterface {