diff --git a/app/code/Magento/AdminNotification/Block/Inbox.php b/app/code/Magento/AdminNotification/Block/Inbox.php index 86199d94a8f61..7137181e3cb3d 100644 --- a/app/code/Magento/AdminNotification/Block/Inbox.php +++ b/app/code/Magento/AdminNotification/Block/Inbox.php @@ -7,6 +7,9 @@ */ namespace Magento\AdminNotification\Block; +/** + * @api + */ class Inbox extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php b/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php index e10d2c8b2672d..bd9153968973f 100644 --- a/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php +++ b/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php @@ -7,6 +7,9 @@ use Magento\Framework\Notification\MessageInterface; +/** + * @api + */ class UnreadMessagePopup extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/AdminNotification/Block/ToolbarEntry.php b/app/code/Magento/AdminNotification/Block/ToolbarEntry.php index 4c46eaba02d0d..c76b777eed32e 100644 --- a/app/code/Magento/AdminNotification/Block/ToolbarEntry.php +++ b/app/code/Magento/AdminNotification/Block/ToolbarEntry.php @@ -11,6 +11,7 @@ /** * Toolbar entry that shows latest notifications * + * @api * @author Magento Core Team */ class ToolbarEntry extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/AdminNotification/Block/Window.php b/app/code/Magento/AdminNotification/Block/Window.php index e59a9be618389..277e25dac1727 100644 --- a/app/code/Magento/AdminNotification/Block/Window.php +++ b/app/code/Magento/AdminNotification/Block/Window.php @@ -7,6 +7,9 @@ */ namespace Magento\AdminNotification\Block; +/** + * @api + */ class Window extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php index 5595a2e8b77ed..c450f0da54499 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php @@ -8,6 +8,7 @@ /** * AdminNotification Inbox model * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Authorization/Model/Role.php b/app/code/Magento/Authorization/Model/Role.php index c40514de1a35f..ab6e180762ef1 100644 --- a/app/code/Magento/Authorization/Model/Role.php +++ b/app/code/Magento/Authorization/Model/Role.php @@ -8,6 +8,7 @@ /** * Admin Role Model * + * @api * @method \Magento\Authorization\Model\ResourceModel\Role _getResource() * @method \Magento\Authorization\Model\ResourceModel\Role getResource() * @method int getParentId() diff --git a/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php b/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php index b536a6d938267..ca2bc286d38a8 100644 --- a/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php +++ b/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php @@ -7,6 +7,9 @@ use Magento\Authorizenet\Model\Directpost; +/** + * @api + */ class FraudDetails extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php b/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php index 87422756860e2..1c8fb9ee29988 100644 --- a/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php +++ b/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php @@ -8,7 +8,7 @@ use Magento\Payment\Block\Transparent\Iframe as TransparentIframe; /** - * Class Iframe + * @api */ class Iframe extends TransparentIframe { diff --git a/app/code/Magento/Authorizenet/Helper/Backend/Data.php b/app/code/Magento/Authorizenet/Helper/Backend/Data.php index 603c559159f12..c95806a524fac 100644 --- a/app/code/Magento/Authorizenet/Helper/Backend/Data.php +++ b/app/code/Magento/Authorizenet/Helper/Backend/Data.php @@ -13,6 +13,8 @@ /** * Authorize.net Backend Data Helper + * + * @api */ class Data extends FrontendDataHelper { diff --git a/app/code/Magento/Authorizenet/Helper/Data.php b/app/code/Magento/Authorizenet/Helper/Data.php index ad05808ec1286..7de71d8ed11e4 100644 --- a/app/code/Magento/Authorizenet/Helper/Data.php +++ b/app/code/Magento/Authorizenet/Helper/Data.php @@ -14,6 +14,8 @@ /** * Authorize.net Data Helper + * + * @api */ class Data extends AbstractHelper { diff --git a/app/code/Magento/Backend/Block/Admin/Formkey.php b/app/code/Magento/Backend/Block/Admin/Formkey.php index cc003e068ab25..2e3474dac2498 100644 --- a/app/code/Magento/Backend/Block/Admin/Formkey.php +++ b/app/code/Magento/Backend/Block/Admin/Formkey.php @@ -9,6 +9,9 @@ */ namespace Magento\Backend\Block\Admin; +/** + * @api + */ class Formkey extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Cache.php b/app/code/Magento/Backend/Block/Cache.php index 721ba16f82cbd..fa230c5a15236 100644 --- a/app/code/Magento/Backend/Block/Cache.php +++ b/app/code/Magento/Backend/Block/Cache.php @@ -5,6 +5,9 @@ */ namespace Magento\Backend\Block; +/** + * @api + */ class Cache extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Backend/Block/Cache/Additional.php b/app/code/Magento/Backend/Block/Cache/Additional.php index 63fce6b815158..52f41600f64f8 100644 --- a/app/code/Magento/Backend/Block/Cache/Additional.php +++ b/app/code/Magento/Backend/Block/Cache/Additional.php @@ -5,6 +5,9 @@ */ namespace Magento\Backend\Block\Cache; +/** + * @api + */ class Additional extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php b/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php index d6760166c1b37..001bf2543c2e5 100644 --- a/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php +++ b/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php @@ -7,6 +7,9 @@ */ namespace Magento\Backend\Block\Cache\Grid\Column; +/** + * @api + */ class Statuses extends \Magento\Backend\Block\Widget\Grid\Column { /** diff --git a/app/code/Magento/Backend/Block/Dashboard.php b/app/code/Magento/Backend/Block/Dashboard.php index b95abf47216d6..237644429847b 100644 --- a/app/code/Magento/Backend/Block/Dashboard.php +++ b/app/code/Magento/Backend/Block/Dashboard.php @@ -8,6 +8,9 @@ namespace Magento\Backend\Block; +/** + * @api + */ class Dashboard extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php index f1b3d5a603b3f..f276831c76758 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php @@ -8,7 +8,7 @@ /** * Adminhtml dashboard most active buyers * - * @author Magento Core Team + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Most extends \Magento\Backend\Block\Dashboard\Grid diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php index 5cefdeb8fd8cb..86590aa3b4aa3 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php @@ -8,8 +8,8 @@ /** * Adminhtml dashboard most recent customers grid * - * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) + * @api */ class Newest extends \Magento\Backend\Block\Dashboard\Grid { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php index fc84213269ad6..699c7274001d3 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php @@ -11,7 +11,7 @@ /** * Adminhtml dashboard most viewed products grid * - * @author Magento Core Team + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Viewed extends \Magento\Backend\Block\Dashboard\Grid diff --git a/app/code/Magento/Backend/Block/Denied.php b/app/code/Magento/Backend/Block/Denied.php index cdbb9145ed800..c3785a641ecd3 100644 --- a/app/code/Magento/Backend/Block/Denied.php +++ b/app/code/Magento/Backend/Block/Denied.php @@ -5,6 +5,9 @@ */ namespace Magento\Backend\Block; +/** + * @api + */ class Denied extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/GlobalSearch.php b/app/code/Magento/Backend/Block/GlobalSearch.php index 059e804d5ab29..d8098c1a3ce0b 100644 --- a/app/code/Magento/Backend/Block/GlobalSearch.php +++ b/app/code/Magento/Backend/Block/GlobalSearch.php @@ -5,6 +5,9 @@ */ namespace Magento\Backend\Block; +/** + * @api + */ class GlobalSearch extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Menu.php b/app/code/Magento/Backend/Block/Menu.php index cf73d3f1bd169..46e8716ce6c8b 100644 --- a/app/code/Magento/Backend/Block/Menu.php +++ b/app/code/Magento/Backend/Block/Menu.php @@ -11,6 +11,7 @@ /** * Backend menu block * + * @api * @method \Magento\Backend\Block\Menu setAdditionalCacheKeyInfo(array $cacheKeyInfo) * @method array getAdditionalCacheKeyInfo() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Backend/Block/Page.php b/app/code/Magento/Backend/Block/Page.php index 6042479f2c784..5a0b5b4405e82 100644 --- a/app/code/Magento/Backend/Block/Page.php +++ b/app/code/Magento/Backend/Block/Page.php @@ -11,6 +11,9 @@ */ namespace Magento\Backend\Block; +/** + * @api + */ class Page extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Page/Copyright.php b/app/code/Magento/Backend/Block/Page/Copyright.php index afb3859de450d..cb4af8b8208d5 100644 --- a/app/code/Magento/Backend/Block/Page/Copyright.php +++ b/app/code/Magento/Backend/Block/Page/Copyright.php @@ -7,6 +7,8 @@ /** * Copyright footer block + * + * @api */ class Copyright extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Backend/Block/Page/Footer.php b/app/code/Magento/Backend/Block/Page/Footer.php index 6f6c9750ca15e..b91e9156f1d20 100644 --- a/app/code/Magento/Backend/Block/Page/Footer.php +++ b/app/code/Magento/Backend/Block/Page/Footer.php @@ -8,6 +8,7 @@ /** * Adminhtml footer block * + * @api * @author Magento Core Team */ class Footer extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Backend/Block/Page/Header.php b/app/code/Magento/Backend/Block/Page/Header.php index 3dc781dab581d..05c7d7a0daef4 100644 --- a/app/code/Magento/Backend/Block/Page/Header.php +++ b/app/code/Magento/Backend/Block/Page/Header.php @@ -11,6 +11,7 @@ /** * Adminhtml header block * + * @api * @author Magento Core Team */ class Header extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Backend/Block/Page/Notices.php b/app/code/Magento/Backend/Block/Page/Notices.php index d35b8f75ad143..0dfc464264cf2 100644 --- a/app/code/Magento/Backend/Block/Page/Notices.php +++ b/app/code/Magento/Backend/Block/Page/Notices.php @@ -13,6 +13,9 @@ */ namespace Magento\Backend\Block\Page; +/** + * @api + */ class Notices extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/Page/RequireJs.php b/app/code/Magento/Backend/Block/Page/RequireJs.php index 0328b24fe59d7..99f211a9c00b0 100644 --- a/app/code/Magento/Backend/Block/Page/RequireJs.php +++ b/app/code/Magento/Backend/Block/Page/RequireJs.php @@ -8,6 +8,8 @@ /** * Require Js block + * + * @api */ class RequireJs extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Backend/Block/Store/Switcher.php b/app/code/Magento/Backend/Block/Store/Switcher.php index 6ccf318169b65..1b49a2ef0d590 100644 --- a/app/code/Magento/Backend/Block/Store/Switcher.php +++ b/app/code/Magento/Backend/Block/Store/Switcher.php @@ -8,6 +8,8 @@ /** * Store switcher block + * + * @api */ class Switcher extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Backend/Block/System/Account/Edit.php b/app/code/Magento/Backend/Block/System/Account/Edit.php index bea47527102f3..40bf15892b208 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit.php @@ -8,6 +8,7 @@ /** * Adminhtml edit admin user account * + * @api * @author Magento Core Team */ class Edit extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Backend/Block/System/Design.php b/app/code/Magento/Backend/Block/System/Design.php index c708456268abe..b21336866f972 100644 --- a/app/code/Magento/Backend/Block/System/Design.php +++ b/app/code/Magento/Backend/Block/System/Design.php @@ -5,6 +5,9 @@ */ namespace Magento\Backend\Block\System; +/** + * @api + */ class Design extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Backend/Block/System/Store/Store.php b/app/code/Magento/Backend/Block/System/Store/Store.php index 8548febbc3ca9..800cdee951215 100644 --- a/app/code/Magento/Backend/Block/System/Store/Store.php +++ b/app/code/Magento/Backend/Block/System/Store/Store.php @@ -8,6 +8,7 @@ /** * Adminhtml store content block * + * @api * @author Magento Core Team */ class Store extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Backend/Block/Template.php b/app/code/Magento/Backend/Block/Template.php index fffa36f670bb4..f0185764c7dee 100644 --- a/app/code/Magento/Backend/Block/Template.php +++ b/app/code/Magento/Backend/Block/Template.php @@ -8,6 +8,7 @@ /** * Backend abstract block * + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ class Template extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php b/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php index 60f481407fd21..3124a64f679f0 100644 --- a/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php +++ b/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php @@ -8,6 +8,7 @@ /** * Magento_Backend page breadcrumbs * + * @api * @author Magento Core Team */ class Breadcrumbs extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Backend/Block/Widget/Button.php b/app/code/Magento/Backend/Block/Widget/Button.php index e3b08e177264b..c6121134ac481 100644 --- a/app/code/Magento/Backend/Block/Widget/Button.php +++ b/app/code/Magento/Backend/Block/Widget/Button.php @@ -8,6 +8,7 @@ /** * Button widget * + * @api * @author Magento Core Team */ class Button extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php b/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php index 48c5775bae579..08043c4e39790 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php +++ b/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php @@ -6,6 +6,9 @@ namespace Magento\Backend\Block\Widget\Button; +/** + * @api + */ class ButtonList { /** diff --git a/app/code/Magento/Backend/Block/Widget/Button/Item.php b/app/code/Magento/Backend/Block/Widget/Button/Item.php index d7aabbe14c820..94ac0368db25e 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Button/Item.php @@ -7,6 +7,7 @@ namespace Magento\Backend\Block\Widget\Button; /** + * @api * @method string getButtonKey() * @method string getRegion() * @method string getName() diff --git a/app/code/Magento/Backend/Block/Widget/Container.php b/app/code/Magento/Backend/Block/Widget/Container.php index 0ea096e16a6ab..52bc39f9c28cf 100644 --- a/app/code/Magento/Backend/Block/Widget/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Container.php @@ -10,6 +10,9 @@ use Magento\Framework\View\Element\Template; +/** + * @api + */ class Container extends \Magento\Backend\Block\Template implements ContainerInterface { /**#@+ diff --git a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php index dd65c4c20d21e..2e8c89482dfe8 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php @@ -13,6 +13,7 @@ /** * Form fieldset default renderer * + * @api * @author Magento Core Team */ class Fieldset extends \Magento\Backend\Block\Template implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface diff --git a/app/code/Magento/Backend/Block/Widget/Grid.php b/app/code/Magento/Backend/Block/Widget/Grid.php index c88a11fa5b78b..35ed0cdfd6d97 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid.php +++ b/app/code/Magento/Backend/Block/Widget/Grid.php @@ -11,6 +11,8 @@ /** * Backend grid widget block * + * @api + * @deprecated * @method string getRowClickCallback() getRowClickCallback() * @method \Magento\Backend\Block\Widget\Grid setRowClickCallback() setRowClickCallback(string $value) * @SuppressWarnings(PHPMD.TooManyFields) diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column.php b/app/code/Magento/Backend/Block/Widget/Grid/Column.php index 90dfbfef6c15c..d3a13a3c3abc3 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column.php @@ -10,7 +10,8 @@ /** * Grid column block * - * @author Magento Core Team + * @api + * @deprecated */ class Column extends \Magento\Backend\Block\Widget { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php index 37d98090b9902..9ffaecd2dfc56 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php @@ -3,14 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Backend\Block\Widget\Grid\Column; /** * Grid column block that is displayed only in multistore mode * - * @author Magento Core Team + * @api + * @deprecated */ -namespace Magento\Backend\Block\Widget\Grid\Column; - class Multistore extends \Magento\Backend\Block\Widget\Grid\Column { /** diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php index 639521bbe8b42..ae1940e9c34d6 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php @@ -10,6 +10,7 @@ /** * Backend grid item abstract renderer + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ abstract class AbstractRenderer extends \Magento\Backend\Block\AbstractBlock implements RendererInterface diff --git a/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php b/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php index 0a9c47a71c78f..fd92f3ea0b650 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php @@ -6,8 +6,8 @@ namespace Magento\Backend\Block\Widget\Grid; /** - * - * + * @api + * @deprecated * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class ColumnSet extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Container.php b/app/code/Magento/Backend/Block/Widget/Grid/Container.php index a4e3c8cf66cb0..82fe7e19fac94 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Container.php @@ -8,8 +8,10 @@ /** * Backend grid container block * - * @author Magento Core Team + * * @SuppressWarnings(PHPMD.NumberOfChildren) + * @api + * @deprecated */ class Container extends \Magento\Backend\Block\Widget\Container { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Export.php b/app/code/Magento/Backend/Block/Widget/Grid/Export.php index 03c4c74fabb34..6b3369607ca28 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Export.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Export.php @@ -11,6 +11,8 @@ use Magento\Framework\App\Filesystem\DirectoryList; /** + * @api + * @deprecated * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Grid\ExportInterface diff --git a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php index 2db5108e728af..2bdb3aeef5988 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php @@ -5,6 +5,12 @@ */ namespace Magento\Backend\Block\Widget\Grid; +/** + * Interface ExportInterface + * + * @api + * @deprecated + */ interface ExportInterface { /** diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php index 4a6c7ae808c20..dd45436e8f3d1 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php @@ -8,6 +8,8 @@ use Magento\Framework\App\Filesystem\DirectoryList; /** + * @api + * @deprecated * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php index 38edd90d21c63..8c3fb35d15ccb 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php @@ -7,6 +7,9 @@ /** * Grid widget massaction default block + * + * @api + * @deprecated */ class Massaction extends \Magento\Backend\Block\Widget\Grid\Massaction\AbstractMassaction { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php index 6eab130d16008..ba6e36c3a18a2 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php @@ -13,6 +13,7 @@ * * @method \Magento\Quote\Model\Quote setHideFormElement(boolean $value) Hide Form element to prevent IE errors * @method boolean getHideFormElement() + * @deprecated */ abstract class AbstractMassaction extends \Magento\Backend\Block\Widget { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php index 4b36f0655a2f5..969309404060f 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php @@ -6,7 +6,9 @@ namespace Magento\Backend\Block\Widget\Grid\Massaction; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) + * @deprecated */ class Additional extends \Magento\Backend\Block\Widget\Form\Generic { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php index 11802c6937ecd..340b5a457b548 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php @@ -8,6 +8,8 @@ /** * Grid widget massaction block * + * @api + * @deprecated * @method \Magento\Quote\Model\Quote setHideFormElement(boolean $value) Hide Form element to prevent IE errors * @method boolean getHideFormElement() * @author Magento Core Team diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php index d567c64cacab8..6a5f029aa385a 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php @@ -8,7 +8,8 @@ /** * Grid widget massaction single action item * - * @author Magento Core Team + * @api + * @deprecated */ class Item extends \Magento\Backend\Block\Widget { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php index 5811f5d5ad1b5..a26014f5967ed 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php @@ -6,9 +6,9 @@ namespace Magento\Backend\Block\Widget\Grid; /** + * @api + * @deprecated * @method string|array getInputNames() - * - * @author Magento Core Team */ class Serializer extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Backend/Model/Menu.php b/app/code/Magento/Backend/Model/Menu.php index 67d8dd1e83bd3..1f199293ecfcf 100644 --- a/app/code/Magento/Backend/Model/Menu.php +++ b/app/code/Magento/Backend/Model/Menu.php @@ -13,6 +13,8 @@ /** * Backend menu model + * + * @api */ class Menu extends \ArrayObject { diff --git a/app/code/Magento/Backend/Model/Menu/Item.php b/app/code/Magento/Backend/Model/Menu/Item.php index 9467b4b87caf4..57d9012d9a597 100644 --- a/app/code/Magento/Backend/Model/Menu/Item.php +++ b/app/code/Magento/Backend/Model/Menu/Item.php @@ -12,6 +12,7 @@ /** * Menu item. Should be used to create nested menu structures with \Magento\Backend\Model\Menu * + * @api * @SuppressWarnings(PHPMD.TooManyFields) */ class Item diff --git a/app/code/Magento/Backend/Model/Session.php b/app/code/Magento/Backend/Model/Session.php index 66813535ccf96..4f4e1e61db77e 100644 --- a/app/code/Magento/Backend/Model/Session.php +++ b/app/code/Magento/Backend/Model/Session.php @@ -1,12 +1,15 @@ */ class Backup extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php index 316acb2738b70..bf7fe670039fa 100644 --- a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php +++ b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php @@ -11,6 +11,9 @@ */ namespace Magento\Backup\Block\Adminhtml\Grid\Column; +/** + * @api + */ class Rollback extends \Magento\Backend\Block\Widget\Grid\Column { /** diff --git a/app/code/Magento/Braintree/Block/Customer/CardRenderer.php b/app/code/Magento/Braintree/Block/Customer/CardRenderer.php index 6db6e5f7a6b62..d26c75ca30d0b 100644 --- a/app/code/Magento/Braintree/Block/Customer/CardRenderer.php +++ b/app/code/Magento/Braintree/Block/Customer/CardRenderer.php @@ -10,6 +10,9 @@ use Magento\Vault\Api\Data\PaymentTokenInterface; use Magento\Vault\Block\AbstractCardRenderer; +/** + * @api + */ class CardRenderer extends AbstractCardRenderer { /** diff --git a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php index 19c895edbcbef..ae4e58b2556e8 100644 --- a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php +++ b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php @@ -13,6 +13,8 @@ /** * Class VaultTokenRenderer + * + * @api */ class VaultTokenRenderer extends AbstractTokenRenderer { diff --git a/app/code/Magento/Braintree/Block/Payment.php b/app/code/Magento/Braintree/Block/Payment.php index 7a2e19179d3a5..c6638fc3ebdf3 100644 --- a/app/code/Magento/Braintree/Block/Payment.php +++ b/app/code/Magento/Braintree/Block/Payment.php @@ -12,6 +12,8 @@ /** * Class Payment + * + * @api */ class Payment extends Template { diff --git a/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php b/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php index 3e2db45c37a27..0853bb96b9801 100644 --- a/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php +++ b/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php @@ -9,6 +9,8 @@ /** * Class Review + * + * @api */ class Review extends Express\Review { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php index 77f2d54dd5013..9e3ddd49db009 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php @@ -7,6 +7,8 @@ /** * Adminhtml block for fieldset of bundle product + * + * @api */ class Bundle extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php index 95486e0ee8bf9..38305edce241a 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php @@ -8,6 +8,7 @@ /** * Bundle option checkbox type renderer * + * @api * @author Magento Core Team */ class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php index 58b9304e31274..1391e18d9d4fd 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php @@ -8,6 +8,7 @@ /** * Bundle option multi select type renderer * + * @api * @author Magento Core Team */ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Multi diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php index bb4b999418e52..7ae5611ef59ba 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php @@ -8,6 +8,7 @@ /** * Bundle option radiobox type renderer * + * @api * @author Magento Core Team */ class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Radio diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php index 86f073c6b02bd..9f618cb0c56ab 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php @@ -8,6 +8,7 @@ /** * Bundle option dropdown type renderer * + * @api * @author Magento Core Team */ class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php index 04367617681fc..6740f48890682 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order item renderer + * * @api */ class Renderer extends \Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRenderer diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php index c385033a1ed02..eaedfc1ff31a6 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order item renderer + * * @api */ class Renderer extends \Magento\Sales\Block\Adminhtml\Order\View\Items\Renderer\DefaultRenderer diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php index 0f91407dbe091..e27bf2f263a1a 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php @@ -11,6 +11,7 @@ /** * Catalog bundle product info block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api */ diff --git a/app/code/Magento/Bundle/Model/Option.php b/app/code/Magento/Bundle/Model/Option.php index 79b75c5ed3dcc..f19682688fb5c 100644 --- a/app/code/Magento/Bundle/Model/Option.php +++ b/app/code/Magento/Bundle/Model/Option.php @@ -8,6 +8,7 @@ /** * Bundle Option Model * + * @api * @method int getParentId() * @method null|\Magento\Catalog\Model\Product[] getSelections() * @method Option setParentId(int $value) diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php index bfa76f25e21d7..9db1024eb4537 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php @@ -15,6 +15,7 @@ /** * Bundle Selections Resource Collection * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection diff --git a/app/code/Magento/Captcha/Block/Captcha.php b/app/code/Magento/Captcha/Block/Captcha.php index 789fe525a2dbc..e4c686b2aa7c2 100644 --- a/app/code/Magento/Captcha/Block/Captcha.php +++ b/app/code/Magento/Captcha/Block/Captcha.php @@ -11,6 +11,9 @@ */ namespace Magento\Captcha\Block; +/** + * @api + */ class Captcha extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php index 6d514510fc69d..2843303e59840 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php @@ -5,6 +5,9 @@ */ namespace Magento\Catalog\Block\Adminhtml\Category; +/** + * @api + */ class Edit extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php index 12a949c991afb..1c8a8d586bcb5 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php @@ -18,6 +18,7 @@ /** * Class Tree * + * @api * @package Magento\Catalog\Block\Adminhtml\Category * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product.php b/app/code/Magento/Catalog/Block/Adminhtml/Product.php index 7b921b958fbb4..778af791c30f2 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Adminhtml; +/** + * @api + */ class Product extends \Magento\Backend\Block\Widget\Container { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php index 6e2df6c465c2b..f930919ea9882 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php @@ -7,6 +7,8 @@ /** * Product attribute edit page + * + * @api */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php index d8b07198d511c..b26b6a407f22b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php @@ -19,6 +19,9 @@ use Magento\Eav\Helper\Data; use Magento\Framework\App\ObjectManager; +/** + * @api + */ class Advanced extends Generic { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php index 34fad44f26e41..8294d97474885 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php @@ -20,6 +20,9 @@ use Magento\Framework\Data\FormFactory; use Magento\Framework\Registry; +/** + * @api + */ class Front extends Generic { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php index 88cc84deb4428..a22fd5d68a5f6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php @@ -14,6 +14,7 @@ use Magento\Eav\Block\Adminhtml\Attribute\Edit\Main\AbstractMain; /** + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Main extends AbstractMain diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php index 2fe12544eab87..58378f49191f6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit; +/** + * @api + */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php index 298eae0600544..729f67b55fa13 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php @@ -13,6 +13,7 @@ use Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Main extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php index f5c43dab3a8df..82dfad3fc2aff 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar; +/** + * @api + */ class Main extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php index f7b36612d9688..1bc6ea39a0ec6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php @@ -4,13 +4,13 @@ * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite; + /** * Adminhtml catalog product composite configure block * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite; - class Configure extends \Magento\Backend\Block\Widget { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php index 3c1cdf92ebb59..5683328b0f811 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite; /** * Adminhtml block for showing product options fieldsets * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite; - class Error extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php index 9855b1ae9c52e..0e4da2ab4b5c8 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite; /** * Adminhtml block for showing product options fieldsets * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite; - class Fieldset extends \Magento\Framework\View\Element\Text\ListText { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php index c7bc8fc0c889d..60b0a09f46292 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset; /** * Adminhtml block for fieldset of product custom options * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset; - class Options extends \Magento\Catalog\Block\Product\View\Options { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php index 5ee4d74b7e86d..7f196b8e30aaa 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php @@ -3,12 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset; /** * Adminhtml block for fieldset of product custom options + * + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset; - class Qty extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php index 38654d5bf6efe..75c577fd9b4d3 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php @@ -3,16 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Update; /** * Adminhtml block for result of catalog product composite update * Forms response for a popup window for a case when form is directly submitted * for single item * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Update; - class Result extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php index b77e4ccf593ff..f0c4251da7742 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php @@ -14,6 +14,9 @@ use Magento\Catalog\Helper\Product\Edit\Action\Attribute as ActionAttribute; use Magento\Catalog\Model\ResourceModel\Product\Collection; +/** + * @api + */ class Attribute extends \Magento\Backend\Block\Widget { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php index 9b2ee94b0c83b..74d7ac6a90f9e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php @@ -16,6 +16,7 @@ use Magento\Framework\Data\Form\Element\AbstractElement; /** + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form implements diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php index 549445143c582..0fe550a9a130c 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php @@ -7,6 +7,8 @@ /** * Products mass update inventory tab + * + * @api */ class Inventory extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php index 1ba475d808a8b..81220164c2766 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php @@ -14,6 +14,9 @@ use Magento\Store\Model\Group; use Magento\Store\Model\Website; +/** + * @api + */ class Websites extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php index 24f357129867b..e0ddc8cc2e961 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php @@ -8,6 +8,7 @@ /** * Adminhtml catalog product edit action attributes update tabs block * + * @api * @author Magento Core Team */ class Tabs extends \Magento\Backend\Block\Widget\Tabs diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php index 0e9d7dc3658ef..214c232b5b195 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php @@ -3,17 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Sign up for an alert when the product price changes grid - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Alerts; use Magento\Backend\Block\Widget\Grid; use Magento\Backend\Block\Widget\Grid\Extended; +/** + * Sign up for an alert when the product price changes grid + * + * @api + */ class Price extends Extended { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php index 3bb0248abe54c..7a708894ccbed 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php @@ -3,17 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Sign up for an alert when the product price changes grid - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Alerts; use Magento\Backend\Block\Widget\Grid; use Magento\Backend\Block\Widget\Grid\Extended; +/** + * Sign up for an alert when the product price changes grid + * + * @api + */ class Stock extends Extended { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php index ce9fc08b49e7c..5dab3e2bac695 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php @@ -3,12 +3,6 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Crossell products admin grid - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab; use Magento\Backend\Block\Widget\Grid\Column; @@ -16,6 +10,7 @@ use Magento\Catalog\Model\Product; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Crosssell extends Extended diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php index 1b755307023d5..b9fee3823bd68 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php @@ -3,16 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * customers defined options - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab; use Magento\Backend\Block\Widget; +/** + * @api + */ class Options extends Widget { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php index 38a02dea533f3..37c46de6ff3d9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php @@ -14,6 +14,7 @@ use Magento\Catalog\Model\Product; /** + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Grid extends \Magento\Catalog\Block\Adminhtml\Product\Grid diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php index 37f6cfd0feed4..b8a0a9cd07005 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php @@ -3,17 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Related products admin grid - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab; use Magento\Backend\Block\Widget\Grid\Column; use Magento\Backend\Block\Widget\Grid\Extended; +/** + * @api + */ class Related extends Extended { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php index 5dbcc19d35829..cb3d0ca26de65 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php @@ -3,14 +3,11 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab; /** - * Upsell products admin grid - * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab; - class Upsell extends \Magento\Backend\Block\Widget\Grid\Extended { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php index 5f6c54c75c605..602961e8979c9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php @@ -3,16 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Adminhtml customer grid block - * - * @author Magento Core Team - */ namespace Magento\Catalog\Block\Adminhtml\Product; use Magento\Store\Model\Store; +/** + * @api + */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php index 37c8f44f24192..b6b29d119bc1d 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php @@ -3,16 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Adminhtml\Product\Options; + +use Magento\Store\Model\Store; /** * JSON products custom options * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Adminhtml\Product\Options; - -use Magento\Store\Model\Store; - class Ajax extends \Magento\Backend\Block\AbstractBlock { /** diff --git a/app/code/Magento/Catalog/Block/Category/Rss/Link.php b/app/code/Magento/Catalog/Block/Category/Rss/Link.php index bcb48b9cfa0b6..0cdfe71a53593 100644 --- a/app/code/Magento/Catalog/Block/Category/Rss/Link.php +++ b/app/code/Magento/Catalog/Block/Category/Rss/Link.php @@ -7,6 +7,7 @@ /** * Class Link + * @api * @package Magento\Catalog\Block\Category\Rss */ class Link extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Catalog/Block/Category/View.php b/app/code/Magento/Catalog/Block/Category/View.php index 07acbbaad6521..c95ded2a8ba0a 100644 --- a/app/code/Magento/Catalog/Block/Category/View.php +++ b/app/code/Magento/Catalog/Block/Category/View.php @@ -7,6 +7,7 @@ /** * Class View + * @api * @package Magento\Catalog\Block\Category */ class View extends \Magento\Framework\View\Element\Template implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/Catalog/Block/Navigation.php b/app/code/Magento/Catalog/Block/Navigation.php index 9ffe60d847545..86c3b85d15006 100644 --- a/app/code/Magento/Catalog/Block/Navigation.php +++ b/app/code/Magento/Catalog/Block/Navigation.php @@ -14,6 +14,7 @@ /** * Catalog navigation * + * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php b/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php index 9a7f76364428a..301db574b96a4 100644 --- a/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php +++ b/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php @@ -12,6 +12,7 @@ /** * Catalog products compare block + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct diff --git a/app/code/Magento/Catalog/Block/Product/Gallery.php b/app/code/Magento/Catalog/Block/Product/Gallery.php index 0c29b13f695fc..8f8d156f70698 100644 --- a/app/code/Magento/Catalog/Block/Product/Gallery.php +++ b/app/code/Magento/Catalog/Block/Product/Gallery.php @@ -15,6 +15,9 @@ use Magento\Framework\App\Filesystem\DirectoryList; use Magento\Framework\Data\Collection; +/** + * @api + */ class Gallery extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Product/Image.php b/app/code/Magento/Catalog/Block/Product/Image.php index 60561269f9403..a7938d6312c53 100644 --- a/app/code/Magento/Catalog/Block/Product/Image.php +++ b/app/code/Magento/Catalog/Block/Product/Image.php @@ -6,6 +6,7 @@ namespace Magento\Catalog\Block\Product; /** + * @api * @method string getImageUrl() * @method string getWidth() * @method string getHeight() diff --git a/app/code/Magento/Catalog/Block/Product/ListProduct.php b/app/code/Magento/Catalog/Block/Product/ListProduct.php index e0947ef0ce049..c0d342afdbf04 100644 --- a/app/code/Magento/Catalog/Block/Product/ListProduct.php +++ b/app/code/Magento/Catalog/Block/Product/ListProduct.php @@ -17,6 +17,7 @@ /** * Product list + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class ListProduct extends AbstractProduct implements IdentityInterface diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php b/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php index 88eab6fb3cac4..7457f9df2aa34 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php @@ -7,6 +7,8 @@ /** * Add product to compare + * + * @api */ class Compare extends \Magento\Catalog\Block\Product\ProductList\Item\Block { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php index 219cdee50403e..c9ead6862bc63 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php @@ -9,6 +9,8 @@ /** * Class List Item Block Container + * + * @api */ class Container extends Block { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Related.php b/app/code/Magento/Catalog/Block/Product/ProductList/Related.php index d87814c3fd5e2..fc55bf4120d5b 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Related.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Related.php @@ -14,6 +14,7 @@ /** * Catalog product related items block * + * @api * @SuppressWarnings(PHPMD.LongVariable) */ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php index 9b5fc0ae12109..6be038ee00392 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php @@ -11,6 +11,7 @@ /** * Product list toolbar * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php b/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php index d56dc52d09485..0eaf4bfcc3548 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php @@ -14,6 +14,7 @@ /** * Catalog product upsell items block * + * @api * @SuppressWarnings(PHPMD.LongVariable) */ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/Catalog/Block/Product/View.php b/app/code/Magento/Catalog/Block/Product/View.php index b80969a7d7a74..68dbf795e116d 100644 --- a/app/code/Magento/Catalog/Block/Product/View.php +++ b/app/code/Magento/Catalog/Block/Product/View.php @@ -10,6 +10,7 @@ /** * Product View block + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class View extends AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php b/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php index 4e18ecd2fe2d9..16b20db401a68 100644 --- a/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php +++ b/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php @@ -8,6 +8,8 @@ /** * Product view compare block + * + * @api */ class Compare extends \Magento\Catalog\Block\Product\View { diff --git a/app/code/Magento/Catalog/Block/Product/View/Additional.php b/app/code/Magento/Catalog/Block/Product/View/Additional.php index 1a02ce1710477..598854a3e6bfe 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Additional.php +++ b/app/code/Magento/Catalog/Block/Product/View/Additional.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Product\View; +/** + * @api + */ class Additional extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Attributes.php b/app/code/Magento/Catalog/Block/Product/View/Attributes.php index ca265eee85aac..52039e23e0335 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Attributes.php +++ b/app/code/Magento/Catalog/Block/Product/View/Attributes.php @@ -15,6 +15,9 @@ use Magento\Framework\Phrase; use Magento\Framework\Pricing\PriceCurrencyInterface; +/** + * @api + */ class Attributes extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Description.php b/app/code/Magento/Catalog/Block/Product/View/Description.php index f8421d096619f..194f3a706eb54 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Description.php +++ b/app/code/Magento/Catalog/Block/Product/View/Description.php @@ -13,6 +13,9 @@ use Magento\Catalog\Model\Product; +/** + * @api + */ class Description extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Gallery.php b/app/code/Magento/Catalog/Block/Product/View/Gallery.php index a9d60a39a6665..a3624e9cf3ce5 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Gallery.php +++ b/app/code/Magento/Catalog/Block/Product/View/Gallery.php @@ -15,6 +15,9 @@ use Magento\Framework\Json\EncoderInterface; use Magento\Catalog\Helper\Image; +/** + * @api + */ class Gallery extends \Magento\Catalog\Block\Product\View\AbstractView { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Options.php b/app/code/Magento/Catalog/Block/Product/View/Options.php index 055458ddde77c..1858f79be03cc 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options.php @@ -14,6 +14,7 @@ use Magento\Catalog\Model\Product; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Options extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php b/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php index 53d2985c65e22..f1972cf7a1d06 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php @@ -13,6 +13,9 @@ use Magento\Catalog\Pricing\Price\CustomOptionPriceInterface; +/** + * @api + */ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php index bddbb609c5fd8..4ddbc5b42d4b7 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php @@ -8,7 +8,7 @@ /** * Product options text type block * - * @SuppressWarnings(PHPMD.LongVariable) + * @api */ class Date extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php index 87ca5f72c5b60..25669891832ae 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Product\View\Options\Type; /** * Product options default type block * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Product\View\Options\Type; - class DefaultType extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { } diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php index ae9da19a92bc1..1473f8cd99ef7 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Product\View\Options\Type; /** * Product options text type block * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Product\View\Options\Type; - class File extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php index afb05e4098cad..3abe9df41dc5b 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Product\View\Options\Type; /** * Product options text type block * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Product\View\Options\Type; - class Select extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php index 622d628ab63df..8c2f836e37ed4 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Catalog\Block\Product\View\Options\Type; /** * Product options text type block * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Block\Product\View\Options\Type; - class Text extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { /** diff --git a/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php b/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php index 3549848962c59..0bb565938136a 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php +++ b/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Product\View\Type; +/** + * @api + */ class Simple extends \Magento\Catalog\Block\Product\View\AbstractView { } diff --git a/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php b/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php index 58b2ae4b4fca4..d1c89a80e3892 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php +++ b/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php @@ -11,6 +11,9 @@ */ namespace Magento\Catalog\Block\Product\View\Type; +/** + * @api + */ class Virtual extends \Magento\Catalog\Block\Product\View\AbstractView { } diff --git a/app/code/Magento/Catalog/Helper/Product/Compare.php b/app/code/Magento/Catalog/Helper/Product/Compare.php index 5894a4bffc4e5..1195a6e79263c 100644 --- a/app/code/Magento/Catalog/Helper/Product/Compare.php +++ b/app/code/Magento/Catalog/Helper/Product/Compare.php @@ -12,7 +12,6 @@ * Catalog Product Compare Helper * * @api - * * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php b/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php index d0f2c891b8a2a..f139d41566bbb 100644 --- a/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php +++ b/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php @@ -10,6 +10,7 @@ /** * Catalog Product Flat Indexer Helper * + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/AbstractModel.php b/app/code/Magento/Catalog/Model/AbstractModel.php index 9a5daddd0e869..e6178e783cc13 100644 --- a/app/code/Magento/Catalog/Model/AbstractModel.php +++ b/app/code/Magento/Catalog/Model/AbstractModel.php @@ -9,6 +9,7 @@ /** * Abstract model for catalog entities + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @author Magento Core Team */ diff --git a/app/code/Magento/Catalog/Model/Category.php b/app/code/Magento/Catalog/Model/Category.php index 9885ace9cf571..311bd4f9422fd 100644 --- a/app/code/Magento/Catalog/Model/Category.php +++ b/app/code/Magento/Catalog/Model/Category.php @@ -17,6 +17,7 @@ /** * Catalog category * + * @api * @method Category setAffectedProductIds(array $productIds) * @method array getAffectedProductIds() * @method Category setMovedCategoryId(array $productIds) diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php index dd632ec31a471..4db7f7b50edde 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php @@ -13,6 +13,9 @@ */ namespace Magento\Catalog\Model\Category\Attribute\Backend; +/** + * @api + */ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php index fe3f0418e6ae4..f0f044b1d0e76 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php @@ -5,6 +5,9 @@ */ namespace Magento\Catalog\Model\Indexer\Product\Flat; +/** + * @api + */ class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState { /** diff --git a/app/code/Magento/Catalog/Model/Layer.php b/app/code/Magento/Catalog/Model/Layer.php index 8cb9ea9cb8a5e..53ff52dc971f1 100644 --- a/app/code/Magento/Catalog/Model/Layer.php +++ b/app/code/Magento/Catalog/Model/Layer.php @@ -13,7 +13,6 @@ * Catalog view layer model * * @api - * * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php index c017b430afb54..da9caa59b0980 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php @@ -7,6 +7,8 @@ /** * Layer category filter abstract model + * + * @api */ abstract class AbstractFilter extends \Magento\Framework\DataObject implements FilterInterface { diff --git a/app/code/Magento/Catalog/Model/Layer/State.php b/app/code/Magento/Catalog/Model/Layer/State.php index ed6464682465d..c143ac1786b60 100644 --- a/app/code/Magento/Catalog/Model/Layer/State.php +++ b/app/code/Magento/Catalog/Model/Layer/State.php @@ -12,6 +12,7 @@ /** * Layered navigation state model * + * @api * @author Magento Core Team */ class State extends DataObject diff --git a/app/code/Magento/Catalog/Model/Product.php b/app/code/Magento/Catalog/Model/Product.php index 88f91c8fbf4ac..6df07e7b3a9fa 100644 --- a/app/code/Magento/Catalog/Model/Product.php +++ b/app/code/Magento/Catalog/Model/Product.php @@ -18,6 +18,7 @@ /** * Catalog product model * + * @api * @method Product setHasError(bool $value) * @method \Magento\Catalog\Model\ResourceModel\Product getResource() * @method null|bool getHasError() diff --git a/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php b/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php index b726d3af6b826..bb33749d25129 100644 --- a/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php +++ b/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php @@ -11,7 +11,6 @@ * Product Compare List Model * * @api - * * @SuppressWarnings(PHPMD.LongVariable) */ class ListCompare extends \Magento\Framework\DataObject diff --git a/app/code/Magento/Catalog/Model/Product/Link.php b/app/code/Magento/Catalog/Model/Product/Link.php index d59377191c3d5..ce20b455a6447 100644 --- a/app/code/Magento/Catalog/Model/Product/Link.php +++ b/app/code/Magento/Catalog/Model/Product/Link.php @@ -12,7 +12,6 @@ * Catalog product link model * * @api - * * @method \Magento\Catalog\Model\ResourceModel\Product\Link _getResource() * @method \Magento\Catalog\Model\ResourceModel\Product\Link getResource() * @method int getProductId() diff --git a/app/code/Magento/Catalog/Model/Product/Option.php b/app/code/Magento/Catalog/Model/Product/Option.php index 539723c50bb89..01c965fe94c4e 100644 --- a/app/code/Magento/Catalog/Model/Product/Option.php +++ b/app/code/Magento/Catalog/Model/Product/Option.php @@ -19,6 +19,7 @@ /** * Catalog product option model * + * @api * @method \Magento\Catalog\Model\ResourceModel\Product\Option getResource() * @method int getProductId() * @method \Magento\Catalog\Model\Product\Option setProductId(int $value) diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php b/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php index 60d37e516a364..cf87886fae358 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php @@ -15,7 +15,6 @@ * Catalog product option default type * * @api - * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/Product/Option/Value.php b/app/code/Magento/Catalog/Model/Product/Option/Value.php index 85a0550e1ea9d..c4cbeb7848a70 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Value.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Value.php @@ -15,6 +15,7 @@ /** * Catalog product option select type model * + * @api * @method \Magento\Catalog\Model\ResourceModel\Product\Option\Value _getResource() * @method \Magento\Catalog\Model\ResourceModel\Product\Option\Value getResource() * @method int getOptionId() diff --git a/app/code/Magento/Catalog/Model/Product/Type/Price.php b/app/code/Magento/Catalog/Model/Product/Type/Price.php index 6023e680e1f06..8f0f5ad126c29 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Price.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Price.php @@ -14,6 +14,7 @@ /** * Product type price model + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Price diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php index b5bfa5b738a67..af5f38e608226 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php @@ -11,7 +11,6 @@ * Category resource collection * * @api - * * @author Magento Core Team */ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php index c809d20b8b06d..1153ae1b1a0f8 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php @@ -10,6 +10,7 @@ use Magento\Framework\EntityManager\MetadataPool; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Tree extends Dbp diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php index 685e22658b2be..057a8d1efe7c0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php @@ -10,7 +10,6 @@ * Implement using different stores for retrieve attribute values * * @api - * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php index 34bbd1e59e1f0..b51b460aae27a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php @@ -15,6 +15,7 @@ /** * Catalog attribute model * + * @api * @method \Magento\Catalog\Model\ResourceModel\Attribute _getResource() * @method \Magento\Catalog\Model\ResourceModel\Attribute getResource() * @method \Magento\Catalog\Model\ResourceModel\Eav\Attribute getFrontendInputRenderer() diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php index cbf97595cb87f..8ba126f6a532e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php @@ -7,11 +7,13 @@ /** * Catalog product EAV additional attribute resource collection + * + * @api */ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection { /** - * Entity factory1 + * Entity factory * * @var \Magento\Eav\Model\EntityFactory */ diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php index 0a500abdbe6ac..daf5d43d84d72 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php @@ -24,7 +24,6 @@ * Product collection * * @api - * * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php index f8f235ff849c3..159d068e70fc3 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php @@ -7,6 +7,8 @@ /** * Class ProductLimitation + * + * @api */ class ProductLimitation implements \ArrayAccess { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php index 7c9b2acd19fd5..8d58a672141cf 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php @@ -9,7 +9,6 @@ * Catalog Product Compare Items Resource Collection * * @api - * * @author Magento Core Team * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php index 87040c51c9786..5eeb86d1d91ab 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php @@ -8,6 +8,7 @@ /** * Catalog product links collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php index 17c0d0836121a..bec7e318a02e6 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php @@ -8,6 +8,7 @@ /** * Catalog product linked products collection * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php index ce86c3ba33ae2..256b0ddfa9e58 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php @@ -12,6 +12,7 @@ /** * Catalog product options collection * + * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php index 2c88a2455bf9f..9b5027d15a43d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php @@ -8,6 +8,7 @@ /** * Catalog product option values collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Catalog/Pricing/Render.php b/app/code/Magento/Catalog/Pricing/Render.php index 13fd5cc68456c..9a584e46e2cae 100644 --- a/app/code/Magento/Catalog/Pricing/Render.php +++ b/app/code/Magento/Catalog/Pricing/Render.php @@ -16,7 +16,6 @@ * Catalog Price Render * * @api - * * @method string getPriceRender() * @method string getPriceTypeCode() */ diff --git a/app/code/Magento/CatalogInventory/Block/Qtyincrements.php b/app/code/Magento/CatalogInventory/Block/Qtyincrements.php index 2ac38f251d42b..9efdf4d673c21 100644 --- a/app/code/Magento/CatalogInventory/Block/Qtyincrements.php +++ b/app/code/Magento/CatalogInventory/Block/Qtyincrements.php @@ -11,6 +11,7 @@ /** * Product qty increments block + * * @api */ class Qtyincrements extends Template implements IdentityInterface diff --git a/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php b/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php index 78e0d51bf0e9a..ebb6b03c11f4f 100644 --- a/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php +++ b/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php @@ -8,6 +8,7 @@ /** * Product stock qty default block + * * @api */ class DefaultStockqty extends AbstractStockqty implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php index 0e635ba5f73b6..ba0ac0f53a430 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php @@ -11,6 +11,9 @@ */ namespace Magento\CatalogRule\Block\Adminhtml\Promo; +/** + * @api + */ class Catalog extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php b/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php index c9d2d678c5a5c..9237ba54d3efc 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php @@ -5,6 +5,9 @@ */ namespace Magento\CatalogRule\Model\Rule\Action; +/** + * @api + */ class Collection extends \Magento\Rule\Model\Action\Collection { /** diff --git a/app/code/Magento/CatalogRule/Model/Rule/Job.php b/app/code/Magento/CatalogRule/Model/Rule/Job.php index 8a92d31c33c37..ecc7a0f6db0dd 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Job.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Job.php @@ -24,6 +24,9 @@ use Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor; +/** + * @api + */ class Job extends \Magento\Framework\DataObject { /** diff --git a/app/code/Magento/CatalogSearch/Block/Advanced/Form.php b/app/code/Magento/CatalogSearch/Block/Advanced/Form.php index 892090f6be3d3..574f0ed264c5d 100644 --- a/app/code/Magento/CatalogSearch/Block/Advanced/Form.php +++ b/app/code/Magento/CatalogSearch/Block/Advanced/Form.php @@ -20,6 +20,9 @@ use Magento\Framework\View\Element\Template; use Magento\Framework\View\Element\Template\Context; +/** + * @api + */ class Form extends Template { /** diff --git a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php index f279e027c6466..0e88d01e2349c 100644 --- a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php +++ b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php @@ -15,6 +15,8 @@ /** * Advanced search result + * + * @api */ class Result extends Template { diff --git a/app/code/Magento/CatalogSearch/Block/Result.php b/app/code/Magento/CatalogSearch/Block/Result.php index b4fbdcaa73a57..2a4e38038fb88 100644 --- a/app/code/Magento/CatalogSearch/Block/Result.php +++ b/app/code/Magento/CatalogSearch/Block/Result.php @@ -15,6 +15,8 @@ /** * Product search result block + * + * @api */ class Result extends Template { diff --git a/app/code/Magento/Checkout/Block/Cart.php b/app/code/Magento/Checkout/Block/Cart.php index b64a93cb25fa0..5a4704c981c23 100644 --- a/app/code/Magento/Checkout/Block/Cart.php +++ b/app/code/Magento/Checkout/Block/Cart.php @@ -9,6 +9,8 @@ /** * Shopping cart block + * + * @api */ class Cart extends \Magento\Checkout\Block\Cart\AbstractCart { diff --git a/app/code/Magento/Checkout/Block/Cart/Additional/Info.php b/app/code/Magento/Checkout/Block/Cart/Additional/Info.php index b16af4a7452b9..196992cbaf9c8 100644 --- a/app/code/Magento/Checkout/Block/Cart/Additional/Info.php +++ b/app/code/Magento/Checkout/Block/Cart/Additional/Info.php @@ -6,6 +6,9 @@ namespace Magento\Checkout\Block\Cart\Additional; +/** + * @api + */ class Info extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Checkout/Block/Cart/Coupon.php b/app/code/Magento/Checkout/Block/Cart/Coupon.php index 18f0a9e1cde27..e485eaf64c832 100644 --- a/app/code/Magento/Checkout/Block/Cart/Coupon.php +++ b/app/code/Magento/Checkout/Block/Cart/Coupon.php @@ -5,6 +5,9 @@ */ namespace Magento\Checkout\Block\Cart; +/** + * @api + */ class Coupon extends \Magento\Checkout\Block\Cart\AbstractCart { /** diff --git a/app/code/Magento/Checkout/Block/Cart/Crosssell.php b/app/code/Magento/Checkout/Block/Cart/Crosssell.php index 50bd0912e2bad..06be50d05aefc 100644 --- a/app/code/Magento/Checkout/Block/Cart/Crosssell.php +++ b/app/code/Magento/Checkout/Block/Cart/Crosssell.php @@ -10,6 +10,7 @@ /** * Cart crosssell list * + * @api * @author Magento Core Team */ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct diff --git a/app/code/Magento/Checkout/Block/Cart/Grid.php b/app/code/Magento/Checkout/Block/Cart/Grid.php index c9e21f6ac7ad9..cfac9ac804e7e 100644 --- a/app/code/Magento/Checkout/Block/Cart/Grid.php +++ b/app/code/Magento/Checkout/Block/Cart/Grid.php @@ -11,6 +11,8 @@ * The pager will be displayed if items quantity in the shopping cart > than number from * Store->Configuration->Sales->Checkout->Shopping Cart->Number of items to display pager and * custom_items weren't set to cart block + * + * @api */ class Grid extends \Magento\Checkout\Block\Cart { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Configure.php b/app/code/Magento/Checkout/Block/Cart/Item/Configure.php index f881db470b446..086518a312f71 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Configure.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Configure.php @@ -9,6 +9,7 @@ * Cart Item Configure block * Updates templates and blocks to show 'Update Cart' button and set right form submit url * + * @api * @module Checkout */ class Configure extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php index 9be8725fe9fa4..57ca4b7b2e606 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php @@ -15,6 +15,7 @@ /** * Shopping cart item render block * + * @api * @author Magento Core Team * * @method \Magento\Checkout\Block\Cart\Item\Renderer setProductName(string) diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php index 4a084a2fe0970..3be4f76d8d67e 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php @@ -9,6 +9,9 @@ use Magento\Framework\View\Element\Text; use Magento\Quote\Model\Quote\Item\AbstractItem; +/** + * @api + */ class Actions extends Text { /** diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php index 670497ff6c1f0..4542f19c4670a 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php @@ -5,6 +5,9 @@ */ namespace Magento\Checkout\Block\Cart\Item\Renderer\Actions; +/** + * @api + */ class Edit extends Generic { /** diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php index 8cbecdefba1ec..d50eeb1b0a263 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php @@ -8,6 +8,9 @@ use Magento\Checkout\Helper\Cart; use Magento\Framework\View\Element\Template; +/** + * @api + */ class Remove extends Generic { /** diff --git a/app/code/Magento/Checkout/Block/Cart/Shipping.php b/app/code/Magento/Checkout/Block/Cart/Shipping.php index 2f71e2a647c44..f00b6ed8c5be9 100644 --- a/app/code/Magento/Checkout/Block/Cart/Shipping.php +++ b/app/code/Magento/Checkout/Block/Cart/Shipping.php @@ -6,6 +6,7 @@ namespace Magento\Checkout\Block\Cart; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart diff --git a/app/code/Magento/Checkout/Block/Cart/Sidebar.php b/app/code/Magento/Checkout/Block/Cart/Sidebar.php index 7d1dd2c978061..0ff2081b0e25e 100644 --- a/app/code/Magento/Checkout/Block/Cart/Sidebar.php +++ b/app/code/Magento/Checkout/Block/Cart/Sidebar.php @@ -9,6 +9,8 @@ /** * Cart sidebar block + * + * @api */ class Sidebar extends AbstractCart { diff --git a/app/code/Magento/Checkout/Block/Cart/Totals.php b/app/code/Magento/Checkout/Block/Cart/Totals.php index a2da83fee8e3d..d3d3adbe40f38 100644 --- a/app/code/Magento/Checkout/Block/Cart/Totals.php +++ b/app/code/Magento/Checkout/Block/Cart/Totals.php @@ -8,6 +8,9 @@ use Magento\Framework\View\Element\BlockInterface; use Magento\Checkout\Block\Checkout\LayoutProcessorInterface; +/** + * @api + */ class Totals extends \Magento\Checkout\Block\Cart\AbstractCart { /** diff --git a/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php b/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php index 7002e0526d13d..1086b601df47c 100644 --- a/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php +++ b/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php @@ -10,6 +10,8 @@ /** * Shopping cart validation messages block + * + * @api */ class ValidationMessages extends \Magento\Framework\View\Element\Messages { diff --git a/app/code/Magento/Checkout/Block/Item/Price/Renderer.php b/app/code/Magento/Checkout/Block/Item/Price/Renderer.php index f4d1a1a757489..2210b1cd9243e 100644 --- a/app/code/Magento/Checkout/Block/Item/Price/Renderer.php +++ b/app/code/Magento/Checkout/Block/Item/Price/Renderer.php @@ -10,6 +10,7 @@ /** * Item price render block * + * @api * @author Magento Core Team */ class Renderer extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Checkout/Block/Onepage.php b/app/code/Magento/Checkout/Block/Onepage.php index 6d0d6240f78de..457e5ee5fbb46 100644 --- a/app/code/Magento/Checkout/Block/Onepage.php +++ b/app/code/Magento/Checkout/Block/Onepage.php @@ -7,6 +7,7 @@ /** * Onepage checkout block + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Onepage extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Checkout/Block/Onepage/Failure.php b/app/code/Magento/Checkout/Block/Onepage/Failure.php index f858960c75ceb..46e56d24a7fa0 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Failure.php +++ b/app/code/Magento/Checkout/Block/Onepage/Failure.php @@ -5,6 +5,9 @@ */ namespace Magento\Checkout\Block\Onepage; +/** + * @api + */ class Failure extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Checkout/Block/Onepage/Link.php b/app/code/Magento/Checkout/Block/Onepage/Link.php index 652cc736ec611..b8f3926baa58a 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Link.php +++ b/app/code/Magento/Checkout/Block/Onepage/Link.php @@ -8,6 +8,7 @@ /** * One page checkout cart link * + * @api * @author Magento Core Team */ class Link extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Checkout/Block/Onepage/Success.php b/app/code/Magento/Checkout/Block/Onepage/Success.php index 85db250a9595c..fef3988bc52f8 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Success.php +++ b/app/code/Magento/Checkout/Block/Onepage/Success.php @@ -10,6 +10,8 @@ /** * One page checkout success page + * + * @api */ class Success extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php b/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php index 246c6710ebb37..6b3774f7e38f8 100644 --- a/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php +++ b/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php @@ -7,6 +7,9 @@ use Magento\Framework\View\Element\Template; +/** + * @api + */ class QuoteShortcutButtons extends \Magento\Catalog\Block\ShortcutButtons { /** diff --git a/app/code/Magento/Checkout/Block/Registration.php b/app/code/Magento/Checkout/Block/Registration.php index f0fa373f04675..91ec85c1db0ed 100644 --- a/app/code/Magento/Checkout/Block/Registration.php +++ b/app/code/Magento/Checkout/Block/Registration.php @@ -7,6 +7,9 @@ use Magento\Framework\View\Element\Template; +/** + * @api + */ class Registration extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Checkout/Model/Cart.php b/app/code/Magento/Checkout/Model/Cart.php index 03d7cf5803c7a..fdddd91aab456 100644 --- a/app/code/Magento/Checkout/Model/Cart.php +++ b/app/code/Magento/Checkout/Model/Cart.php @@ -13,6 +13,7 @@ /** * Shopping cart model + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @deprecated */ diff --git a/app/code/Magento/Checkout/Model/Cart/CartInterface.php b/app/code/Magento/Checkout/Model/Cart/CartInterface.php index ce6e0de4a1a3c..07fde2e6d7c38 100644 --- a/app/code/Magento/Checkout/Model/Cart/CartInterface.php +++ b/app/code/Magento/Checkout/Model/Cart/CartInterface.php @@ -10,6 +10,7 @@ /** * Shopping cart interface * + * @api * @author Magento Core Team * @deprecated */ diff --git a/app/code/Magento/Checkout/Model/Session.php b/app/code/Magento/Checkout/Model/Session.php index 54815cad029e1..31513d25a9ce1 100644 --- a/app/code/Magento/Checkout/Model/Session.php +++ b/app/code/Magento/Checkout/Model/Session.php @@ -10,6 +10,7 @@ use Magento\Quote\Model\QuoteIdMaskFactory; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Session extends \Magento\Framework\Session\SessionManager diff --git a/app/code/Magento/CheckoutAgreements/Block/Agreements.php b/app/code/Magento/CheckoutAgreements/Block/Agreements.php index fd475c98cf873..68af59da18d5a 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Agreements.php +++ b/app/code/Magento/CheckoutAgreements/Block/Agreements.php @@ -8,6 +8,9 @@ use Magento\Store\Model\ScopeInterface; +/** + * @api + */ class Agreements extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php index 54b18233e9758..4c9f6fbcd11e0 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php @@ -7,6 +7,8 @@ /** * Wysiwyg Images content block + * + * @api */ class Content extends \Magento\Backend\Block\Widget\Container { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php index a4c87f51c07c9..377c1821ad4ff 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php @@ -8,7 +8,7 @@ /** * Directory contents block for Wysiwyg Images * - * @author Magento Core Team + * @api */ class Files extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php index f7a2583f8155d..58e0b41850adb 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php @@ -8,7 +8,7 @@ /** * Uploader block for Wysiwyg Images * - * @author Magento Core Team + * @api */ class Uploader extends \Magento\Backend\Block\Media\Uploader { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php index 919480f9d3c26..4428095b3c14c 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php @@ -8,7 +8,7 @@ /** * Directory tree renderer for Cms Wysiwyg Images * - * @author Magento Core Team + * @api */ class Tree extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Cms/Block/Page.php b/app/code/Magento/Cms/Block/Page.php index dd88d7810af15..3a63f5b4b941c 100644 --- a/app/code/Magento/Cms/Block/Page.php +++ b/app/code/Magento/Cms/Block/Page.php @@ -9,6 +9,8 @@ /** * Cms page content block + * + * @api */ class Page extends \Magento\Framework\View\Element\AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface diff --git a/app/code/Magento/Cms/Model/Page.php b/app/code/Magento/Cms/Model/Page.php index 911b5599117e6..059ffcfc0320d 100644 --- a/app/code/Magento/Cms/Model/Page.php +++ b/app/code/Magento/Cms/Model/Page.php @@ -16,6 +16,7 @@ /** * Cms Page Model * + * @api * @method ResourceCmsPage _getResource() * @method ResourceCmsPage getResource() * @method Page setStoreId(array $storeId) diff --git a/app/code/Magento/Config/Block/System/Config/Edit.php b/app/code/Magento/Config/Block/System/Config/Edit.php index c4a80afba5f4b..10b724781e1f7 100644 --- a/app/code/Magento/Config/Block/System/Config/Edit.php +++ b/app/code/Magento/Config/Block/System/Config/Edit.php @@ -12,6 +12,7 @@ namespace Magento\Config\Block\System\Config; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Edit extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Config/Block/System/Config/Tabs.php b/app/code/Magento/Config/Block/System/Config/Tabs.php index 9c36a61ddd5e8..05d80363e96bd 100644 --- a/app/code/Magento/Config/Block/System/Config/Tabs.php +++ b/app/code/Magento/Config/Block/System/Config/Tabs.php @@ -14,6 +14,7 @@ namespace Magento\Config\Block\System\Config; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Tabs extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php index 17ab2251c7565..2678c43be3c6d 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php @@ -5,6 +5,9 @@ */ namespace Magento\Config\Model\Config\Structure\Element; +/** + * @api + */ class Iterator implements \Iterator { /** diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Section.php b/app/code/Magento/Config/Model/Config/Structure/Element/Section.php index b66672cd42b5d..4f748c194374b 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Section.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Section.php @@ -5,6 +5,9 @@ */ namespace Magento\Config\Model\Config\Structure\Element; +/** + * @api + */ class Section extends AbstractComposite { /** diff --git a/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php b/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php index 3894bc2737618..dc03fd2a6ed09 100644 --- a/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php +++ b/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php @@ -5,6 +5,9 @@ */ namespace Magento\Config\Model\Config\Structure; +/** + * @api + */ interface ElementInterface { /** diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php index 849c68161a2ce..33ea66b222420 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php @@ -3,15 +3,11 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Attribute\NewAttribute\Product; /** * New product attribute created on product edit page * - * @author Magento Core Team - */ -namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Attribute\NewAttribute\Product; - -/** * @api */ class Created extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php index feed530edf3da..f2ca1a3fc1941 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php @@ -7,6 +7,9 @@ */ namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Composite\Fieldset; +/** + * @api + */ class Configurable extends \Magento\ConfigurableProduct\Block\Product\View\Type\Configurable { /** diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php index 37d6b077b2bac..63bc6359ce2f3 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php @@ -9,6 +9,9 @@ */ namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\AttributeSet; +/** + * @api + */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php index d3307803a900e..06ca29553388e 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php @@ -3,10 +3,6 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Product variations matrix block - */ namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\Tab\Variations\Config; use Magento\Catalog\Api\ProductRepositoryInterface; @@ -15,6 +11,9 @@ use Magento\Framework\Exception\NoSuchEntityException; /** + * Product variations matrix block + * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Matrix extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php index 2b9a0c0e9b1da..d0695c67c6409 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php @@ -1,13 +1,13 @@ */ class Book extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Customer/Block/Address/Edit.php b/app/code/Magento/Customer/Block/Address/Edit.php index 13f6fa2fd51bb..56922cfc8e4d2 100644 --- a/app/code/Magento/Customer/Block/Address/Edit.php +++ b/app/code/Magento/Customer/Block/Address/Edit.php @@ -10,6 +10,7 @@ /** * Customer address edit block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Edit extends \Magento\Directory\Block\Data diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php index 43f03281fdc01..b469b7576ceed 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php @@ -11,6 +11,8 @@ /** * Adminhtml customer orders grid block + * + * @api */ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php index fb1391435b02d..c1f86aa45866c 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php @@ -7,6 +7,8 @@ /** * Obtain all carts contents for specified client + * + * @api */ class Carts extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php index e91e19c4641a2..4f3d23eae32bc 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php @@ -8,7 +8,7 @@ /** * Adminhtml newsletter queue grid block * - * @author Magento Core Team + * @api */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php index a651b44ddb901..c3163e8c07536 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php @@ -9,6 +9,8 @@ /** * Adminhtml customer orders grid block + * + * @api */ class Orders extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php index 187f784628334..02f6b18ad70e2 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php @@ -3,16 +3,10 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - -/** - * Adminhtml customer orders grid block - * - * @author Magento Core Team - */ namespace Magento\Customer\Block\Adminhtml\Edit\Tab; /** - * @SuppressWarnings(PHPMD.DepthOfInheritance) + * @api */ class Reviews extends \Magento\Review\Block\Adminhtml\Grid { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php index 336630121663f..6e3f6f77fcbaa 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php @@ -12,6 +12,8 @@ * Adminhtml customer cart items grid block * * @SuppressWarnings(PHPMD.LongVariable) + * + * @api */ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php index dfb6258aa1e95..cb3b88bc0c654 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php @@ -9,6 +9,8 @@ /** * Adminhtml customer view wishlist block + * + * @api */ class Wishlist extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Group.php b/app/code/Magento/Customer/Block/Adminhtml/Group.php index e8a8d15623380..2b7eefb67d30f 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Group.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Group.php @@ -11,6 +11,9 @@ */ namespace Magento\Customer\Block\Adminhtml; +/** + * @api + */ class Group extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Customer/Block/CustomerData.php b/app/code/Magento/Customer/Block/CustomerData.php index 09b118e98f6e2..89d7cc7d97a01 100644 --- a/app/code/Magento/Customer/Block/CustomerData.php +++ b/app/code/Magento/Customer/Block/CustomerData.php @@ -5,6 +5,9 @@ */ namespace Magento\Customer\Block; +/** + * @api + */ class CustomerData extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Customer/Block/Form/Edit.php b/app/code/Magento/Customer/Block/Form/Edit.php index 069ad0216c83f..d24635558adb1 100644 --- a/app/code/Magento/Customer/Block/Form/Edit.php +++ b/app/code/Magento/Customer/Block/Form/Edit.php @@ -11,6 +11,7 @@ /** * Customer edit form block * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Edit extends \Magento\Customer\Block\Account\Dashboard diff --git a/app/code/Magento/Customer/Block/Form/Login.php b/app/code/Magento/Customer/Block/Form/Login.php index f88ed2a470362..8cf7bd6114870 100644 --- a/app/code/Magento/Customer/Block/Form/Login.php +++ b/app/code/Magento/Customer/Block/Form/Login.php @@ -8,6 +8,7 @@ /** * Customer login form block * + * @api * @author Magento Core Team */ class Login extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Customer/Block/Form/Login/Info.php b/app/code/Magento/Customer/Block/Form/Login/Info.php index 876fbe1521130..5fae2879383ba 100644 --- a/app/code/Magento/Customer/Block/Form/Login/Info.php +++ b/app/code/Magento/Customer/Block/Form/Login/Info.php @@ -7,6 +7,8 @@ /** * Customer login info block + * + * @api */ class Info extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Customer/Block/Form/Register.php b/app/code/Magento/Customer/Block/Form/Register.php index b1fd65dc87fc6..f19a31e777f09 100644 --- a/app/code/Magento/Customer/Block/Form/Register.php +++ b/app/code/Magento/Customer/Block/Form/Register.php @@ -10,6 +10,7 @@ /** * Customer register form block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Register extends \Magento\Directory\Block\Data diff --git a/app/code/Magento/Customer/Block/Newsletter.php b/app/code/Magento/Customer/Block/Newsletter.php index c701669e64a71..3ac3258dfe0de 100644 --- a/app/code/Magento/Customer/Block/Newsletter.php +++ b/app/code/Magento/Customer/Block/Newsletter.php @@ -11,6 +11,7 @@ /** * Customer front newsletter manage block * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Newsletter extends \Magento\Customer\Block\Account\Dashboard diff --git a/app/code/Magento/Customer/Block/SectionConfig.php b/app/code/Magento/Customer/Block/SectionConfig.php index 2fddc5051dbe8..8357498dfbc32 100644 --- a/app/code/Magento/Customer/Block/SectionConfig.php +++ b/app/code/Magento/Customer/Block/SectionConfig.php @@ -5,6 +5,9 @@ */ namespace Magento\Customer\Block; +/** + * @api + */ class SectionConfig extends \Magento\Framework\View\Element\Template { /** @var \Magento\Framework\Config\DataInterface */ diff --git a/app/code/Magento/Customer/Model/Address.php b/app/code/Magento/Customer/Model/Address.php index 7d00298ea2ea8..fd6965448a11c 100644 --- a/app/code/Magento/Customer/Model/Address.php +++ b/app/code/Magento/Customer/Model/Address.php @@ -14,6 +14,7 @@ /** * Customer address model * + * @api * @method int getParentId() getParentId() * @method \Magento\Customer\Model\Address setParentId() setParentId(int $parentId) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Customer/Model/Customer.php b/app/code/Magento/Customer/Model/Customer.php index 83ee36ffb0111..340d547199e29 100644 --- a/app/code/Magento/Customer/Model/Customer.php +++ b/app/code/Magento/Customer/Model/Customer.php @@ -22,6 +22,7 @@ /** * Customer model * + * @api * @method int getWebsiteId() getWebsiteId() * @method Customer setWebsiteId($value) * @method int getStoreId() getStoreId() diff --git a/app/code/Magento/Customer/Model/Data/Address.php b/app/code/Magento/Customer/Model/Data/Address.php index 4edecb0bc7f25..6c0eb1991c3bd 100644 --- a/app/code/Magento/Customer/Model/Data/Address.php +++ b/app/code/Magento/Customer/Model/Data/Address.php @@ -13,6 +13,8 @@ /** * Class Address * + * + * @api */ class Address extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Customer\Api\Data\AddressInterface diff --git a/app/code/Magento/Customer/Model/Metadata/Form.php b/app/code/Magento/Customer/Model/Metadata/Form.php index fd771127e1636..918a2c55b8414 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form.php +++ b/app/code/Magento/Customer/Model/Metadata/Form.php @@ -8,6 +8,9 @@ use Magento\Customer\Api\AddressMetadataInterface; use Magento\Customer\Api\CustomerMetadataInterface; +/** + * @api + */ class Form { /**#@+ diff --git a/app/code/Magento/Customer/Model/Registration.php b/app/code/Magento/Customer/Model/Registration.php index 39edd57f93a3b..effede4dc7c73 100644 --- a/app/code/Magento/Customer/Model/Registration.php +++ b/app/code/Magento/Customer/Model/Registration.php @@ -5,6 +5,9 @@ */ namespace Magento\Customer\Model; +/** + * @api + */ class Registration { /** diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php index 463b37c986ff7..47ac6d60652d6 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php @@ -8,6 +8,7 @@ /** * Customers collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\AbstractCollection diff --git a/app/code/Magento/Customer/Model/Session.php b/app/code/Magento/Customer/Model/Session.php index adff23cea698e..b8a02c4d1f19a 100644 --- a/app/code/Magento/Customer/Model/Session.php +++ b/app/code/Magento/Customer/Model/Session.php @@ -13,6 +13,8 @@ /** * Customer session model + * + * @api * @method string getNoReferer() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Directory/Block/Currency.php b/app/code/Magento/Directory/Block/Currency.php index f59a0f7a21524..75002734124fe 100644 --- a/app/code/Magento/Directory/Block/Currency.php +++ b/app/code/Magento/Directory/Block/Currency.php @@ -11,6 +11,9 @@ use Magento\Framework\Locale\Bundle\CurrencyBundle as CurrencyBundle; +/** + * @api + */ class Currency extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Directory/Model/Currency/Import/AbstractImport.php b/app/code/Magento/Directory/Model/Currency/Import/AbstractImport.php index 9620d5b02482a..22c64b6f775de 100644 --- a/app/code/Magento/Directory/Model/Currency/Import/AbstractImport.php +++ b/app/code/Magento/Directory/Model/Currency/Import/AbstractImport.php @@ -9,6 +9,9 @@ */ namespace Magento\Directory\Model\Currency\Import; +/** + * @api + */ abstract class AbstractImport implements \Magento\Directory\Model\Currency\Import\ImportInterface { /** diff --git a/app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Downloadable.php b/app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Downloadable.php index f6ba3061a62be..f0d258c922805 100644 --- a/app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Downloadable.php +++ b/app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Downloadable.php @@ -11,6 +11,9 @@ */ namespace Magento\Downloadable\Block\Adminhtml\Catalog\Product\Composite\Fieldset; +/** + * @api + */ class Downloadable extends \Magento\Downloadable\Block\Catalog\Product\Links { } diff --git a/app/code/Magento/Downloadable/Block/Adminhtml/Sales/Items/Column/Downloadable/Name.php b/app/code/Magento/Downloadable/Block/Adminhtml/Sales/Items/Column/Downloadable/Name.php index 9079871e9dbc7..a9f630dcb625f 100644 --- a/app/code/Magento/Downloadable/Block/Adminhtml/Sales/Items/Column/Downloadable/Name.php +++ b/app/code/Magento/Downloadable/Block/Adminhtml/Sales/Items/Column/Downloadable/Name.php @@ -14,6 +14,8 @@ /** * Sales Order downloadable items name column renderer + * + * @api */ class Name extends \Magento\Sales\Block\Adminhtml\Items\Column\Name { diff --git a/app/code/Magento/Downloadable/Block/Catalog/Product/Links.php b/app/code/Magento/Downloadable/Block/Catalog/Product/Links.php index 4b25fe740e2f4..d82ad61ae4649 100644 --- a/app/code/Magento/Downloadable/Block/Catalog/Product/Links.php +++ b/app/code/Magento/Downloadable/Block/Catalog/Product/Links.php @@ -12,6 +12,7 @@ /** * Downloadable Product Links part block + * * @api */ class Links extends \Magento\Catalog\Block\Product\AbstractProduct diff --git a/app/code/Magento/Downloadable/Block/Sales/Order/Item/Renderer/Downloadable.php b/app/code/Magento/Downloadable/Block/Sales/Order/Item/Renderer/Downloadable.php index 73cabae855c2e..d0995681367b5 100644 --- a/app/code/Magento/Downloadable/Block/Sales/Order/Item/Renderer/Downloadable.php +++ b/app/code/Magento/Downloadable/Block/Sales/Order/Item/Renderer/Downloadable.php @@ -14,6 +14,7 @@ /** * Downloadable order item render block + * * @api */ class Downloadable extends \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer diff --git a/app/code/Magento/Downloadable/Model/Link.php b/app/code/Magento/Downloadable/Model/Link.php index 379d434155f93..f61c1e771c284 100644 --- a/app/code/Magento/Downloadable/Model/Link.php +++ b/app/code/Magento/Downloadable/Model/Link.php @@ -11,6 +11,7 @@ /** * Downloadable link model * + * @api * @method Resource getResource() * @method int getProductId() * @method Link setProductId(int $value) diff --git a/app/code/Magento/Downloadable/Model/Link/Purchased.php b/app/code/Magento/Downloadable/Model/Link/Purchased.php index 3d070295d7480..7710cdc0f378c 100644 --- a/app/code/Magento/Downloadable/Model/Link/Purchased.php +++ b/app/code/Magento/Downloadable/Model/Link/Purchased.php @@ -8,6 +8,7 @@ /** * Downloadable links purchased model * + * @api * @method \Magento\Downloadable\Model\ResourceModel\Link\Purchased _getResource() * @method \Magento\Downloadable\Model\ResourceModel\Link\Purchased getResource() * @method int getOrderId() diff --git a/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Labels.php b/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Labels.php index 1c564725a6397..47c3b0523f4db 100644 --- a/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Labels.php +++ b/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Labels.php @@ -8,6 +8,7 @@ /** * Attribute add/edit form options tab * + * @api * @author Magento Core Team */ class Labels extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Options.php b/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Options.php index 98b8f2109f5c7..d0aa815f8f8cc 100644 --- a/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Options.php +++ b/app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Options/Options.php @@ -13,6 +13,9 @@ use Magento\Store\Model\ResourceModel\Store\Collection; +/** + * @api + */ class Options extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Eav/Model/Attribute.php b/app/code/Magento/Eav/Model/Attribute.php index 2ddb8adb3bddb..71d3b92413a83 100644 --- a/app/code/Magento/Eav/Model/Attribute.php +++ b/app/code/Magento/Eav/Model/Attribute.php @@ -17,6 +17,9 @@ use Magento\Store\Model\Website; +/** + * @api + */ class Attribute extends \Magento\Eav\Model\Entity\Attribute { /** diff --git a/app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php b/app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php index aa569b35db9aa..013cfa36a1bd1 100644 --- a/app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php +++ b/app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php @@ -14,6 +14,7 @@ /** * EAV Attribute Abstract Data Model * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Eav/Model/Config.php b/app/code/Magento/Eav/Model/Config.php index ba5ef33138602..42289cbfecb00 100644 --- a/app/code/Magento/Eav/Model/Config.php +++ b/app/code/Magento/Eav/Model/Config.php @@ -11,6 +11,7 @@ use Magento\Framework\Serialize\SerializerInterface; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Config diff --git a/app/code/Magento/Eav/Model/Entity/AbstractEntity.php b/app/code/Magento/Eav/Model/Entity/AbstractEntity.php index 46660138d32e1..5e18f8a2faef4 100644 --- a/app/code/Magento/Eav/Model/Entity/AbstractEntity.php +++ b/app/code/Magento/Eav/Model/Entity/AbstractEntity.php @@ -26,6 +26,7 @@ /** * Entity/Attribute/Model - entity abstract * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) diff --git a/app/code/Magento/Eav/Model/Entity/Attribute.php b/app/code/Magento/Eav/Model/Entity/Attribute.php index 7aed03a5d0f52..fc598b264b395 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute.php @@ -12,6 +12,7 @@ /** * EAV Entity attribute model * + * @api * @method \Magento\Eav\Model\Entity\Attribute setOption($value) * @method \Magento\Eav\Api\Data\AttributeExtensionInterface getExtensionAttributes() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php b/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php index 7b17599941ebf..0d69822a6c0c7 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php @@ -12,6 +12,7 @@ /** * Entity/Attribute/Model - attribute abstract + * @api * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/Backend/AbstractBackend.php b/app/code/Magento/Eav/Model/Entity/Attribute/Backend/AbstractBackend.php index 6207544c66f41..4a9fa32d06ad2 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/Backend/AbstractBackend.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/Backend/AbstractBackend.php @@ -9,6 +9,8 @@ /** * Entity/Attribute/Model - attribute backend abstract + * + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ abstract class AbstractBackend implements \Magento\Eav\Model\Entity\Attribute\Backend\BackendInterface diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php b/app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php index 313390695f19a..ab0760e780a47 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php @@ -11,6 +11,9 @@ */ namespace Magento\Eav\Model\Entity\Attribute\Frontend; +/** + * @api + */ abstract class AbstractFrontend implements \Magento\Eav\Model\Entity\Attribute\Frontend\FrontendInterface { /** diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/Source/AbstractSource.php b/app/code/Magento/Eav/Model/Entity/Attribute/Source/AbstractSource.php index af41334319b3e..36fa30a3a99db 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/Source/AbstractSource.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/Source/AbstractSource.php @@ -8,6 +8,7 @@ /** * Entity/Attribute/Model - attribute selection source abstract * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.NumberOfChildren) */ diff --git a/app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php b/app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php index 89574d6cf83bf..28cdbb48d1941 100644 --- a/app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php +++ b/app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php @@ -12,6 +12,8 @@ /** * Entity/Attribute/Model - collection abstract + * + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Eav/Model/Entity/Type.php b/app/code/Magento/Eav/Model/Entity/Type.php index 0b9f2313818ad..e8f2a30804efd 100644 --- a/app/code/Magento/Eav/Model/Entity/Type.php +++ b/app/code/Magento/Eav/Model/Entity/Type.php @@ -8,6 +8,7 @@ /** * Entity type model * + * @api * @method \Magento\Eav\Model\ResourceModel\Entity\Type _getResource() * @method \Magento\Eav\Model\ResourceModel\Entity\Type getResource() * @method \Magento\Eav\Model\Entity\Type setEntityTypeCode(string $value) diff --git a/app/code/Magento/Eav/Model/Form.php b/app/code/Magento/Eav/Model/Form.php index 1a1d8c7be4a7a..08a86f350ec5e 100644 --- a/app/code/Magento/Eav/Model/Form.php +++ b/app/code/Magento/Eav/Model/Form.php @@ -10,7 +10,7 @@ /** * EAV Entity Form Model * - * @author Magento Core Team + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute.php b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute.php index 7a9ee184f872c..8292c988930a6 100644 --- a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute.php +++ b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute.php @@ -15,6 +15,7 @@ /** * EAV attribute resource model * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb diff --git a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Collection.php b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Collection.php index f9346b7ae6e6f..9b26bcfdf3eaf 100644 --- a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Collection.php +++ b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Collection.php @@ -10,6 +10,7 @@ /** * EAV attribute resource collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Set/Collection.php b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Set/Collection.php index a413d06b5379c..d0ee7745124a7 100644 --- a/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Set/Collection.php +++ b/app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Set/Collection.php @@ -8,6 +8,7 @@ /** * Eav Resource Attribute Set Collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Eav/Model/ResourceModel/Form/Attribute/Collection.php b/app/code/Magento/Eav/Model/ResourceModel/Form/Attribute/Collection.php index 277a2dc1ff48e..562ae02923252 100644 --- a/app/code/Magento/Eav/Model/ResourceModel/Form/Attribute/Collection.php +++ b/app/code/Magento/Eav/Model/ResourceModel/Form/Attribute/Collection.php @@ -8,6 +8,7 @@ /** * EAV Form Attribute Resource Collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Email/Block/Adminhtml/Template.php b/app/code/Magento/Email/Block/Adminhtml/Template.php index fafd1d223f514..b68c7ae4e8f78 100644 --- a/app/code/Magento/Email/Block/Adminhtml/Template.php +++ b/app/code/Magento/Email/Block/Adminhtml/Template.php @@ -11,6 +11,9 @@ */ namespace Magento\Email\Block\Adminhtml; +/** + * @api + */ class Template extends \Magento\Backend\Block\Template implements \Magento\Backend\Block\Widget\ContainerInterface { /** diff --git a/app/code/Magento/Email/Block/Adminhtml/Template/Preview.php b/app/code/Magento/Email/Block/Adminhtml/Template/Preview.php index d8e86d86e4b72..b9332e65768c0 100644 --- a/app/code/Magento/Email/Block/Adminhtml/Template/Preview.php +++ b/app/code/Magento/Email/Block/Adminhtml/Template/Preview.php @@ -11,6 +11,9 @@ */ namespace Magento\Email\Block\Adminhtml\Template; +/** + * @api + */ class Preview extends \Magento\Backend\Block\Widget { /** diff --git a/app/code/Magento/Email/Model/AbstractTemplate.php b/app/code/Magento/Email/Model/AbstractTemplate.php index 2f853814a3030..6660cac4b6202 100644 --- a/app/code/Magento/Email/Model/AbstractTemplate.php +++ b/app/code/Magento/Email/Model/AbstractTemplate.php @@ -20,6 +20,7 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) + * @api */ abstract class AbstractTemplate extends AbstractModel implements TemplateTypesInterface { diff --git a/app/code/Magento/Email/Model/Template/Filter.php b/app/code/Magento/Email/Model/Template/Filter.php index 6983c7ea627f8..b3784d295cc4e 100644 --- a/app/code/Magento/Email/Model/Template/Filter.php +++ b/app/code/Magento/Email/Model/Template/Filter.php @@ -14,6 +14,7 @@ /** * Core Email Template Filter Model * + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Edit.php b/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Edit.php index 0dc858a2b5ebc..88be1fd50472d 100644 --- a/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Edit.php +++ b/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Edit.php @@ -7,6 +7,8 @@ /** * Encryption key change edit page block + * + * @api */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Form.php b/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Form.php index af84f554e16ab..d29f14425b83d 100644 --- a/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Form.php +++ b/app/code/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/Form.php @@ -7,6 +7,8 @@ /** * Encryption key change form block + * + * @api */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Form.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Form.php index ab2950137af34..7464751ca4f92 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Form.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create gift message form * + * @api * @author Magento Core Team */ class Form extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Giftoptions.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Giftoptions.php index 0bd7e634cd697..3605d533cf57f 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Giftoptions.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Giftoptions.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create gift options block * + * @api * @author Magento Core Team * @codeCoverageIgnore */ diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php index c8e6a1a7c7439..74aeffd977eb0 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php @@ -8,6 +8,7 @@ /** * Gift message adminhtml sales order create items * + * @api * @author Magento Core Team */ class Items extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Form.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Form.php index da3c3724fb126..b1046cfb7e283 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Form.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order view gift message form * + * @api * @author Magento Core Team */ class Form extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Giftoptions.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Giftoptions.php index 38e1c94fc24e5..d678e8814e8f2 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Giftoptions.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Giftoptions.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order view gift options block * + * @api * @author Magento Core Team * @codeCoverageIgnore */ diff --git a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Items.php b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Items.php index 7b52db5ed0602..7e0779278cb93 100644 --- a/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Items.php +++ b/app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Items.php @@ -8,6 +8,7 @@ /** * Gift message adminhtml sales order view items * + * @api * @author Magento Core Team */ class Items extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php b/app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php index e1b96c5f55b00..4adc23c411dc8 100644 --- a/app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php +++ b/app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php @@ -9,6 +9,9 @@ use Magento\Framework\Json\Encoder; use Magento\GiftMessage\Model\CompositeConfigProvider; +/** + * @api + */ class GiftOptions extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/GiftMessage/Block/Cart/Item/Renderer/Actions/GiftOptions.php b/app/code/Magento/GiftMessage/Block/Cart/Item/Renderer/Actions/GiftOptions.php index 6bde3a0dd058c..3b06c9023ab95 100644 --- a/app/code/Magento/GiftMessage/Block/Cart/Item/Renderer/Actions/GiftOptions.php +++ b/app/code/Magento/GiftMessage/Block/Cart/Item/Renderer/Actions/GiftOptions.php @@ -9,6 +9,9 @@ use Magento\Checkout\Block\Cart\Item\Renderer\Actions\Generic; use Magento\Framework\Json\Encoder; +/** + * @api + */ class GiftOptions extends Generic { /** diff --git a/app/code/Magento/GiftMessage/Model/Message.php b/app/code/Magento/GiftMessage/Model/Message.php index eeeb31cd7f670..f0f76bb7ea7ef 100644 --- a/app/code/Magento/GiftMessage/Model/Message.php +++ b/app/code/Magento/GiftMessage/Model/Message.php @@ -10,6 +10,7 @@ /** * Gift Message model * + * @api * @method \Magento\GiftMessage\Model\ResourceModel\Message _getResource() * @method \Magento\GiftMessage\Model\ResourceModel\Message getResource() * diff --git a/app/code/Magento/GoogleAdwords/Block/Code.php b/app/code/Magento/GoogleAdwords/Block/Code.php index 6be66a3972c25..0ad50674b86ee 100644 --- a/app/code/Magento/GoogleAdwords/Block/Code.php +++ b/app/code/Magento/GoogleAdwords/Block/Code.php @@ -7,6 +7,9 @@ */ namespace Magento\GoogleAdwords\Block; +/** + * @api + */ class Code extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/GoogleAdwords/Helper/Data.php b/app/code/Magento/GoogleAdwords/Helper/Data.php index eded25981df62..23e84be15741d 100644 --- a/app/code/Magento/GoogleAdwords/Helper/Data.php +++ b/app/code/Magento/GoogleAdwords/Helper/Data.php @@ -7,6 +7,9 @@ */ namespace Magento\GoogleAdwords\Helper; +/** + * @api + */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { /**#@+ diff --git a/app/code/Magento/GoogleAnalytics/Block/Ga.php b/app/code/Magento/GoogleAnalytics/Block/Ga.php index 7bd73ae90b168..6dd4796d8520c 100644 --- a/app/code/Magento/GoogleAnalytics/Block/Ga.php +++ b/app/code/Magento/GoogleAnalytics/Block/Ga.php @@ -10,6 +10,8 @@ /** * GoogleAnalytics Page Block + * + * @api */ class Ga extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/GoogleOptimizer/Block/Code/Category.php b/app/code/Magento/GoogleOptimizer/Block/Code/Category.php index 869fbbfa41e82..296795b32eb9b 100644 --- a/app/code/Magento/GoogleOptimizer/Block/Code/Category.php +++ b/app/code/Magento/GoogleOptimizer/Block/Code/Category.php @@ -10,6 +10,9 @@ namespace Magento\GoogleOptimizer\Block\Code; +/** + * @api + */ class Category extends \Magento\GoogleOptimizer\Block\AbstractCode implements \Magento\Framework\DataObject\IdentityInterface { /** diff --git a/app/code/Magento/GoogleOptimizer/Block/Code/Page.php b/app/code/Magento/GoogleOptimizer/Block/Code/Page.php index daf64e7bcd1af..f575850aebc30 100644 --- a/app/code/Magento/GoogleOptimizer/Block/Code/Page.php +++ b/app/code/Magento/GoogleOptimizer/Block/Code/Page.php @@ -7,6 +7,9 @@ */ namespace Magento\GoogleOptimizer\Block\Code; +/** + * @api + */ class Page extends \Magento\GoogleOptimizer\Block\AbstractCode { /** diff --git a/app/code/Magento/GoogleOptimizer/Block/Code/Product.php b/app/code/Magento/GoogleOptimizer/Block/Code/Product.php index 6f6d7f540d7ab..d87193429c25f 100644 --- a/app/code/Magento/GoogleOptimizer/Block/Code/Product.php +++ b/app/code/Magento/GoogleOptimizer/Block/Code/Product.php @@ -10,6 +10,9 @@ namespace Magento\GoogleOptimizer\Block\Code; +/** + * @api + */ class Product extends \Magento\GoogleOptimizer\Block\AbstractCode implements \Magento\Framework\DataObject\IdentityInterface { /** diff --git a/app/code/Magento/GroupedProduct/Block/Adminhtml/Items/Column/Name/Grouped.php b/app/code/Magento/GroupedProduct/Block/Adminhtml/Items/Column/Name/Grouped.php index b6936ca0dffbc..ed5314e2044b0 100644 --- a/app/code/Magento/GroupedProduct/Block/Adminhtml/Items/Column/Name/Grouped.php +++ b/app/code/Magento/GroupedProduct/Block/Adminhtml/Items/Column/Name/Grouped.php @@ -7,6 +7,9 @@ */ namespace Magento\GroupedProduct\Block\Adminhtml\Items\Column\Name; +/** + * @api + */ class Grouped extends \Magento\Sales\Block\Adminhtml\Items\Column\Name { const COLUMN_NAME = 'name'; diff --git a/app/code/Magento/GroupedProduct/Block/Adminhtml/Product/Composite/Fieldset/Grouped.php b/app/code/Magento/GroupedProduct/Block/Adminhtml/Product/Composite/Fieldset/Grouped.php index 5accad8f7f598..94e3199afd346 100644 --- a/app/code/Magento/GroupedProduct/Block/Adminhtml/Product/Composite/Fieldset/Grouped.php +++ b/app/code/Magento/GroupedProduct/Block/Adminhtml/Product/Composite/Fieldset/Grouped.php @@ -10,6 +10,7 @@ namespace Magento\GroupedProduct\Block\Adminhtml\Product\Composite\Fieldset; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @deprecated */ diff --git a/app/code/Magento/GroupedProduct/Block/Cart/Item/Renderer/Grouped.php b/app/code/Magento/GroupedProduct/Block/Cart/Item/Renderer/Grouped.php index 346c1b0ef280b..108dd70d9f74e 100644 --- a/app/code/Magento/GroupedProduct/Block/Cart/Item/Renderer/Grouped.php +++ b/app/code/Magento/GroupedProduct/Block/Cart/Item/Renderer/Grouped.php @@ -11,6 +11,7 @@ /** * Shopping cart item render block + * * @api */ class Grouped extends Renderer implements IdentityInterface diff --git a/app/code/Magento/GroupedProduct/Block/Order/Item/Renderer/Grouped.php b/app/code/Magento/GroupedProduct/Block/Order/Item/Renderer/Grouped.php index 0767e6f971f93..f87b5ca3f9652 100644 --- a/app/code/Magento/GroupedProduct/Block/Order/Item/Renderer/Grouped.php +++ b/app/code/Magento/GroupedProduct/Block/Order/Item/Renderer/Grouped.php @@ -9,6 +9,9 @@ use Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer; +/** + * @api + */ class Grouped extends DefaultRenderer { /** diff --git a/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts.php b/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts.php index d3a24ae1bc916..120b8dbec273b 100644 --- a/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts.php +++ b/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts.php @@ -5,6 +5,9 @@ */ namespace Magento\GroupedProduct\Block\Product\Grouped; +/** + * @api + */ class AssociatedProducts extends \Magento\Backend\Block\Catalog\Product\Tab\Container { /** diff --git a/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts/ListAssociatedProducts.php b/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts/ListAssociatedProducts.php index d34a37a801786..7ad3bbc2adfec 100644 --- a/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts/ListAssociatedProducts.php +++ b/app/code/Magento/GroupedProduct/Block/Product/Grouped/AssociatedProducts/ListAssociatedProducts.php @@ -11,6 +11,9 @@ */ namespace Magento\GroupedProduct\Block\Product\Grouped\AssociatedProducts; +/** + * @api + */ class ListAssociatedProducts extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/GroupedProduct/Block/Stockqty/Type/Grouped.php b/app/code/Magento/GroupedProduct/Block/Stockqty/Type/Grouped.php index 9c17b680d55d5..260963da9417c 100644 --- a/app/code/Magento/GroupedProduct/Block/Stockqty/Type/Grouped.php +++ b/app/code/Magento/GroupedProduct/Block/Stockqty/Type/Grouped.php @@ -9,6 +9,7 @@ /** * Product stock qty block for grouped product type + * * @api */ class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite implements IdentityInterface diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Edit.php b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Edit.php index 4a7e6242c9a2a..4cb7275bafe1b 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Edit.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Edit.php @@ -11,6 +11,9 @@ */ namespace Magento\ImportExport\Block\Adminhtml\Export; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php index b7b6689f6adf0..368db958e14bf 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php @@ -11,8 +11,8 @@ /** * Export filter block * - * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) + * @api */ class Filter extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Form/After.php b/app/code/Magento/ImportExport/Block/Adminhtml/Form/After.php index 13cbeff7b84cf..de58133c1633e 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Form/After.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Form/After.php @@ -9,6 +9,9 @@ */ namespace Magento\ImportExport\Block\Adminhtml\Form; +/** + * @api + */ class After extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/History.php b/app/code/Magento/ImportExport/Block/Adminhtml/History.php index 30e5c73183310..9e124d16b464c 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/History.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/History.php @@ -8,6 +8,7 @@ /** * Adminhtml import history page content block * + * @api * @author Magento Core Team */ class History extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit.php b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit.php index e79d93e8d0b4e..afe618a5974ae 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit.php @@ -11,6 +11,9 @@ */ namespace Magento\ImportExport\Block\Adminhtml\Import; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Before.php b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Before.php index ae7f9984ba34f..eeb2c5ac4be6e 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Before.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Before.php @@ -11,6 +11,9 @@ */ namespace Magento\ImportExport\Block\Adminhtml\Import\Edit; +/** + * @api + */ class Before extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Frame/Result.php b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Frame/Result.php index 10d7b63accb0c..c1f509318fe66 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Import/Frame/Result.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Import/Frame/Result.php @@ -10,7 +10,7 @@ /** * Import frame result block. * - * @author Magento Core Team + * @api */ class Result extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Indexer/Block/Backend/Container.php b/app/code/Magento/Indexer/Block/Backend/Container.php index fb5c0228f2deb..9bc47fc06213a 100644 --- a/app/code/Magento/Indexer/Block/Backend/Container.php +++ b/app/code/Magento/Indexer/Block/Backend/Container.php @@ -5,6 +5,9 @@ */ namespace Magento\Indexer\Block\Backend; +/** + * @api + */ class Container extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration.php b/app/code/Magento/Integration/Block/Adminhtml/Integration.php index 678cdadeea5f4..70db4638f9598 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration.php @@ -8,6 +8,7 @@ /** * Integration block. * + * @api * @codeCoverageIgnore */ class Integration extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tab/Webapi.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tab/Webapi.php index af257658c87f0..786c1462394da 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tab/Webapi.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tab/Webapi.php @@ -12,6 +12,8 @@ /** * API permissions tab for integration activation dialog. + * + * @api */ class Webapi extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tabs.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tabs.php index f5cc1bb71daf1..03bf512eb181b 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tabs.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Activate/Permissions/Tabs.php @@ -12,6 +12,7 @@ /** * Integration activation tabs. * + * @api * @codeCoverageIgnore */ class Tabs extends TabsWidget diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit.php index d015b29293b4e..37bced72af427 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit.php @@ -10,6 +10,9 @@ use Magento\Integration\Block\Adminhtml\Integration\Edit\Tab\Info; use Magento\Integration\Controller\Adminhtml\Integration; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Info.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Info.php index d349da9861a7b..808ddc5e958a4 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Info.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Info.php @@ -11,6 +11,7 @@ /** * Main Integration info edit form * + * @api */ class Info extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Tab\TabInterface { diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php index 939e31fe607a4..5df8563b2038a 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php @@ -11,6 +11,8 @@ /** * Class for handling API section within integration. + * + * @api */ class Webapi extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tabs.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tabs.php index 5ed7f54a17428..2650405dd1393 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tabs.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tabs.php @@ -5,6 +5,9 @@ */ namespace Magento\Integration\Block\Adminhtml\Integration\Edit; +/** + * @api + */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Grid.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Grid.php index 22f4516c82687..39054feb1697c 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Grid.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Grid.php @@ -10,6 +10,7 @@ use Magento\Backend\Block\Widget\Grid as BackendGrid; /** + * @api * @codeCoverageIgnore */ class Grid extends BackendGrid diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php index d96f7aec7e035..a45c64b300aba 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php @@ -10,6 +10,7 @@ /** * Main Integration properties edit form * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Tokens extends \Magento\Backend\Block\Widget\Form\Generic diff --git a/app/code/Magento/Integration/Model/Oauth/Consumer.php b/app/code/Magento/Integration/Model/Oauth/Consumer.php index e50993c5a6938..54cc7fb9fab5e 100644 --- a/app/code/Magento/Integration/Model/Oauth/Consumer.php +++ b/app/code/Magento/Integration/Model/Oauth/Consumer.php @@ -10,6 +10,7 @@ /** * Consumer model * + * @api * @author Magento Core Team * @method \Magento\Integration\Model\ResourceModel\Oauth\Consumer _getResource() * @method \Magento\Integration\Model\ResourceModel\Oauth\Consumer getResource() diff --git a/app/code/Magento/LayeredNavigation/Block/Navigation/FilterRenderer.php b/app/code/Magento/LayeredNavigation/Block/Navigation/FilterRenderer.php index 9d6c8aec9d69a..014f1d4d4df34 100644 --- a/app/code/Magento/LayeredNavigation/Block/Navigation/FilterRenderer.php +++ b/app/code/Magento/LayeredNavigation/Block/Navigation/FilterRenderer.php @@ -1,7 +1,5 @@ */ class Billing extends \Magento\Payment\Block\Form\Container diff --git a/app/code/Magento/Multishipping/Block/Checkout/Billing/Items.php b/app/code/Magento/Multishipping/Block/Checkout/Billing/Items.php index 09f7b6bd57a1e..49b0b58e12867 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Billing/Items.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Billing/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Multishipping\Block\Checkout\Billing; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Multishipping/Block/Checkout/Link.php b/app/code/Magento/Multishipping/Block/Checkout/Link.php index ff52c7e411685..6c6cb921c55d6 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Link.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Link.php @@ -7,6 +7,8 @@ /** * Multishipping cart link + * + * @api */ class Link extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Multishipping/Block/Checkout/Overview.php b/app/code/Magento/Multishipping/Block/Checkout/Overview.php index 22a0a4d562030..bf3a0e825ee83 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Overview.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Overview.php @@ -11,6 +11,7 @@ /** * Multishipping checkout overview information * + * @api * @author Magento Core Team */ class Overview extends \Magento\Sales\Block\Items\AbstractItems diff --git a/app/code/Magento/Multishipping/Block/Checkout/Payment/Info.php b/app/code/Magento/Multishipping/Block/Checkout/Payment/Info.php index 6afe8d5bd8a62..c4973399c5358 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Payment/Info.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Payment/Info.php @@ -11,6 +11,9 @@ */ namespace Magento\Multishipping\Block\Checkout\Payment; +/** + * @api + */ class Info extends \Magento\Payment\Block\Info\AbstractContainer { /** diff --git a/app/code/Magento/Multishipping/Block/Checkout/Shipping.php b/app/code/Magento/Multishipping/Block/Checkout/Shipping.php index c254c9c8e9981..97b680f3515cd 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Shipping.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Shipping.php @@ -11,6 +11,7 @@ /** * Mustishipping checkout shipping * + * @api * @author Magento Core Team */ class Shipping extends \Magento\Sales\Block\Items\AbstractItems diff --git a/app/code/Magento/Multishipping/Block/Checkout/Success.php b/app/code/Magento/Multishipping/Block/Checkout/Success.php index d0bb04a81a8ed..588ca4920bae9 100644 --- a/app/code/Magento/Multishipping/Block/Checkout/Success.php +++ b/app/code/Magento/Multishipping/Block/Checkout/Success.php @@ -11,6 +11,9 @@ */ namespace Magento\Multishipping\Block\Checkout; +/** + * @api + */ class Success extends \Magento\Multishipping\Block\Checkout\AbstractMultishipping { /** diff --git a/app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php b/app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php index e84eaf48c31e4..dabfdd71b625b 100644 --- a/app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php +++ b/app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php @@ -16,6 +16,7 @@ /** * Multishipping checkout model + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Problem.php b/app/code/Magento/Newsletter/Block/Adminhtml/Problem.php index d58b4b223112d..e6feb558d40e5 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Problem.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Problem.php @@ -10,6 +10,7 @@ /** * Newsletter problem block template. * + * @api * @author Magento Core Team */ class Problem extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php index 4c88cdbf948fb..7198770a3e195 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php @@ -10,6 +10,8 @@ /** * Newsletter queue edit block + * + * @api */ class Edit extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview.php b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview.php index b23e85913001b..58fc1ed15d64d 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Newsletter\Block\Adminhtml\Queue; /** * Newsletter template preview block * - * @author Magento Core Team + * @api */ -namespace Magento\Newsletter\Block\Adminhtml\Queue; - class Preview extends \Magento\Newsletter\Block\Adminhtml\Template\Preview { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview/Form.php b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview/Form.php index 8112a69cdd334..31378072d4097 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview/Form.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Queue/Preview/Form.php @@ -11,6 +11,9 @@ */ namespace Magento\Newsletter\Block\Adminhtml\Queue\Preview; +/** + * @api + */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php b/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php index 2349a8b8d18ac..799e81cccde03 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php @@ -13,6 +13,9 @@ use Magento\Newsletter\Model\ResourceModel\Queue\Collection; +/** + * @api + */ class Subscriber extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber/Grid.php b/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber/Grid.php index 6633c9d09bf4c..23971f9c8a61b 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber/Grid.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Subscriber/Grid.php @@ -11,6 +11,9 @@ */ namespace Magento\Newsletter\Block\Adminhtml\Subscriber; +/** + * @api + */ class Grid extends \Magento\Backend\Block\Widget\Grid { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php index ae03b40c5f9be..500ff0e0148c0 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php @@ -16,6 +16,9 @@ use Magento\Backend\Block\Widget; use Magento\Framework\App\TemplateTypesInterface; +/** + * @api + */ class Edit extends Widget { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview.php b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview.php index 82b70ccbdc321..64d36ec020fdf 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview.php @@ -3,12 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Newsletter\Block\Adminhtml\Template; /** * Newsletter template preview block + * + * @api */ -namespace Magento\Newsletter\Block\Adminhtml\Template; - class Preview extends \Magento\Backend\Block\Widget { /** diff --git a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview/Form.php b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview/Form.php index 1b21341f96579..ad268dbd68b04 100644 --- a/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview/Form.php +++ b/app/code/Magento/Newsletter/Block/Adminhtml/Template/Preview/Form.php @@ -11,6 +11,9 @@ */ namespace Magento\Newsletter\Block\Adminhtml\Template\Preview; +/** + * @api + */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/Newsletter/Block/Subscribe.php b/app/code/Magento/Newsletter/Block/Subscribe.php index c6378a5d9cdef..449d9174e1a12 100644 --- a/app/code/Magento/Newsletter/Block/Subscribe.php +++ b/app/code/Magento/Newsletter/Block/Subscribe.php @@ -11,6 +11,9 @@ */ namespace Magento\Newsletter\Block; +/** + * @api + */ class Subscribe extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Newsletter/Helper/Data.php b/app/code/Magento/Newsletter/Helper/Data.php index ab425ccf256c8..b892e57b46d9b 100644 --- a/app/code/Magento/Newsletter/Helper/Data.php +++ b/app/code/Magento/Newsletter/Helper/Data.php @@ -3,16 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Newsletter\Helper; /** * Newsletter Data Helper * - * @author Magento Core Team - * * @api */ -namespace Magento\Newsletter\Helper; - class Data { /** diff --git a/app/code/Magento/PageCache/Block/Javascript.php b/app/code/Magento/PageCache/Block/Javascript.php index f6cc741ad95d0..925888c66fac4 100644 --- a/app/code/Magento/PageCache/Block/Javascript.php +++ b/app/code/Magento/PageCache/Block/Javascript.php @@ -7,6 +7,8 @@ /** * Class Form + * + * @api */ class Javascript extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/PageCache/Block/System/Config/Form/Field/Export.php b/app/code/Magento/PageCache/Block/System/Config/Form/Field/Export.php index 99f43ec13ffdc..23ce4ec04d705 100644 --- a/app/code/Magento/PageCache/Block/System/Config/Form/Field/Export.php +++ b/app/code/Magento/PageCache/Block/System/Config/Form/Field/Export.php @@ -7,6 +7,8 @@ /** * Class Export + * + * @api */ class Export extends \Magento\Config\Block\System\Config\Form\Field { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement.php b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement.php index 0d8e5512ca353..a667b71aab1ae 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement.php @@ -7,6 +7,8 @@ /** * Adminhtml billing agreement grid container + * + * @api */ class Agreement extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/Grid.php b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/Grid.php index 2cc53bf20b5a0..9557525c2ca1c 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/Grid.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/Grid.php @@ -7,6 +7,7 @@ /** * Adminhtml billing agreements grid + * @api */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View.php b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View.php index e303c82bbb3a1..896ebc7ddb5a8 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View.php @@ -7,6 +7,8 @@ /** * Adminhtml billing agreement view + * + * @api */ class View extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tab/Orders.php b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tab/Orders.php index 7262353fa3624..507a9f4dce4af 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tab/Orders.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tab/Orders.php @@ -18,6 +18,7 @@ /** * Adminhtml billing agreement related orders tab + * @api */ class Orders extends ExtendedGrid implements TabInterface { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tabs.php b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tabs.php index 38ecc5a228f73..ddb35ee0034ba 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tabs.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tabs.php @@ -9,6 +9,9 @@ */ namespace Magento\Paypal\Block\Adminhtml\Billing\Agreement\View; +/** + * @api + */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Customer/Edit/Tab/Agreement.php b/app/code/Magento/Paypal/Block/Adminhtml/Customer/Edit/Tab/Agreement.php index 4820b710270e2..39eefe3a0c587 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Customer/Edit/Tab/Agreement.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Customer/Edit/Tab/Agreement.php @@ -10,6 +10,8 @@ /** * Adminhtml customer billing agreement tab + * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Agreement extends \Magento\Paypal\Block\Adminhtml\Billing\Agreement\Grid implements TabInterface diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php index d877f6da26f52..0b58aaeeccbc7 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php @@ -8,6 +8,7 @@ /** * Adminhtml paypal settlement reports grid block * + * @api * @author Magento Core Team */ class Report extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Paypal/Block/Adminhtml/System/Config/ResolutionRules.php b/app/code/Magento/Paypal/Block/Adminhtml/System/Config/ResolutionRules.php index 175b3cb5a5ce2..efe88b1d2f1af 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/System/Config/ResolutionRules.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/System/Config/ResolutionRules.php @@ -11,6 +11,8 @@ /** * Class ResolutionRules + * + * @api */ class ResolutionRules extends Template { diff --git a/app/code/Magento/Paypal/Block/Billing/Agreement/View.php b/app/code/Magento/Paypal/Block/Billing/Agreement/View.php index 4e78052f6344f..8cb02992f2f56 100644 --- a/app/code/Magento/Paypal/Block/Billing/Agreement/View.php +++ b/app/code/Magento/Paypal/Block/Billing/Agreement/View.php @@ -7,6 +7,8 @@ /** * Customer account billing agreement view block + * + * @api */ class View extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Paypal/Block/Billing/Agreements.php b/app/code/Magento/Paypal/Block/Billing/Agreements.php index e244662732233..0ce056a976bb0 100644 --- a/app/code/Magento/Paypal/Block/Billing/Agreements.php +++ b/app/code/Magento/Paypal/Block/Billing/Agreements.php @@ -7,6 +7,8 @@ /** * Customer account billing agreements block + * + * @api */ class Agreements extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Paypal/Block/Bml/Banners.php b/app/code/Magento/Paypal/Block/Bml/Banners.php index 27529409d66df..4c6c3bf4e720d 100644 --- a/app/code/Magento/Paypal/Block/Bml/Banners.php +++ b/app/code/Magento/Paypal/Block/Bml/Banners.php @@ -9,6 +9,9 @@ use Magento\Framework\View\Element\Template; use Magento\Paypal\Model\Config; +/** + * @api + */ class Banners extends Template { /** diff --git a/app/code/Magento/Paypal/Block/Cart/ValidationMessages.php b/app/code/Magento/Paypal/Block/Cart/ValidationMessages.php index c72826c11d128..31c285f5a6dc8 100644 --- a/app/code/Magento/Paypal/Block/Cart/ValidationMessages.php +++ b/app/code/Magento/Paypal/Block/Cart/ValidationMessages.php @@ -10,6 +10,8 @@ /** * PayPal order review page validation messages block + * + * @api */ class ValidationMessages extends \Magento\Framework\View\Element\Messages { diff --git a/app/code/Magento/Paypal/Block/Checkout/Onepage/Success/BillingAgreement.php b/app/code/Magento/Paypal/Block/Checkout/Onepage/Success/BillingAgreement.php index 1fd919a8ed3c3..c21071314c6e4 100644 --- a/app/code/Magento/Paypal/Block/Checkout/Onepage/Success/BillingAgreement.php +++ b/app/code/Magento/Paypal/Block/Checkout/Onepage/Success/BillingAgreement.php @@ -7,6 +7,8 @@ /** * Billing agreement information on Order success page + * + * @api */ class BillingAgreement extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Paypal/Block/Express/InContext/Component.php b/app/code/Magento/Paypal/Block/Express/InContext/Component.php index b33f58c73b9fc..07c4f44fddb1f 100644 --- a/app/code/Magento/Paypal/Block/Express/InContext/Component.php +++ b/app/code/Magento/Paypal/Block/Express/InContext/Component.php @@ -13,6 +13,8 @@ /** * Class Component + * + * @api */ class Component extends Template { diff --git a/app/code/Magento/Paypal/Block/Express/Review.php b/app/code/Magento/Paypal/Block/Express/Review.php index 48315a8d7cd82..21618c6cb55f6 100644 --- a/app/code/Magento/Paypal/Block/Express/Review.php +++ b/app/code/Magento/Paypal/Block/Express/Review.php @@ -14,6 +14,7 @@ /** * Paypal Express Onepage checkout block * + * @api * @author Magento Core Team */ class Review extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Paypal/Block/Express/Review/Details.php b/app/code/Magento/Paypal/Block/Express/Review/Details.php index 6f174dcfb57a6..26bc630a79f0c 100644 --- a/app/code/Magento/Paypal/Block/Express/Review/Details.php +++ b/app/code/Magento/Paypal/Block/Express/Review/Details.php @@ -10,7 +10,7 @@ /** * Paypal Express Onepage checkout block * - * @author Magento Core Team + * @api */ class Details extends \Magento\Checkout\Block\Cart\Totals { diff --git a/app/code/Magento/Paypal/Block/Iframe.php b/app/code/Magento/Paypal/Block/Iframe.php index 32378c172e3c3..2bf0ca516f2b1 100644 --- a/app/code/Magento/Paypal/Block/Iframe.php +++ b/app/code/Magento/Paypal/Block/Iframe.php @@ -7,6 +7,8 @@ /** * HSS iframe block + * + * @api */ class Iframe extends \Magento\Payment\Block\Form { diff --git a/app/code/Magento/Paypal/Block/Logo.php b/app/code/Magento/Paypal/Block/Logo.php index 50a1201bac7b2..cea9b7a3a6262 100644 --- a/app/code/Magento/Paypal/Block/Logo.php +++ b/app/code/Magento/Paypal/Block/Logo.php @@ -9,6 +9,9 @@ */ namespace Magento\Paypal\Block; +/** + * @api + */ class Logo extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Paypal/Block/Payflow/Advanced/Iframe.php b/app/code/Magento/Paypal/Block/Payflow/Advanced/Iframe.php index 2b1808a72bee1..a949babeb61ca 100644 --- a/app/code/Magento/Paypal/Block/Payflow/Advanced/Iframe.php +++ b/app/code/Magento/Paypal/Block/Payflow/Advanced/Iframe.php @@ -7,6 +7,8 @@ /** * Payflow Advanced iframe block + * + * @api */ class Iframe extends \Magento\Paypal\Block\Payflow\Link\Iframe { diff --git a/app/code/Magento/Paypal/Block/Payflow/Customer/CardRenderer.php b/app/code/Magento/Paypal/Block/Payflow/Customer/CardRenderer.php index 246fde8de9bf8..7e8e2d3136720 100644 --- a/app/code/Magento/Paypal/Block/Payflow/Customer/CardRenderer.php +++ b/app/code/Magento/Paypal/Block/Payflow/Customer/CardRenderer.php @@ -10,6 +10,9 @@ use Magento\Vault\Api\Data\PaymentTokenInterface; use Magento\Vault\Block\AbstractCardRenderer; +/** + * @api + */ class CardRenderer extends AbstractCardRenderer { /** diff --git a/app/code/Magento/Paypal/Block/Payflow/Link/Iframe.php b/app/code/Magento/Paypal/Block/Payflow/Link/Iframe.php index 76263ff8666f6..5fbecbec68f9b 100644 --- a/app/code/Magento/Paypal/Block/Payflow/Link/Iframe.php +++ b/app/code/Magento/Paypal/Block/Payflow/Link/Iframe.php @@ -7,6 +7,8 @@ /** * Payflow link iframe block + * + * @api */ class Iframe extends \Magento\Paypal\Block\Iframe { diff --git a/app/code/Magento/Paypal/Model/Billing/Agreement.php b/app/code/Magento/Paypal/Model/Billing/Agreement.php index 0a6b9a0afc60f..dc4de506d9220 100644 --- a/app/code/Magento/Paypal/Model/Billing/Agreement.php +++ b/app/code/Magento/Paypal/Model/Billing/Agreement.php @@ -10,6 +10,7 @@ /** * Billing Agreement abstract model * + * @api * @method \Magento\Paypal\Model\ResourceModel\Billing\Agreement _getResource() * @method \Magento\Paypal\Model\ResourceModel\Billing\Agreement getResource() * @method int getCustomerId() diff --git a/app/code/Magento/Paypal/Model/ResourceModel/Billing/Agreement/Collection.php b/app/code/Magento/Paypal/Model/ResourceModel/Billing/Agreement/Collection.php index e9bcf2606f923..ba16bef32b008 100644 --- a/app/code/Magento/Paypal/Model/ResourceModel/Billing/Agreement/Collection.php +++ b/app/code/Magento/Paypal/Model/ResourceModel/Billing/Agreement/Collection.php @@ -7,6 +7,8 @@ /** * Billing agreements resource collection + * + * @api */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/Persistent/Block/Form/Remember.php b/app/code/Magento/Persistent/Block/Form/Remember.php index fd5aae83a7eb6..71c7d2a257cfa 100644 --- a/app/code/Magento/Persistent/Block/Form/Remember.php +++ b/app/code/Magento/Persistent/Block/Form/Remember.php @@ -8,6 +8,7 @@ /** * Remember Me block * + * @api * @author Magento Core Team */ class Remember extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Persistent/Model/Session.php b/app/code/Magento/Persistent/Model/Session.php index 75dda60dbc683..048b730a8d683 100644 --- a/app/code/Magento/Persistent/Model/Session.php +++ b/app/code/Magento/Persistent/Model/Session.php @@ -8,6 +8,7 @@ /** * Persistent Session Model * + * @api * @method int getCustomerId() * @method Session setCustomerId() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/ProductAlert/Block/Product/View/Price.php b/app/code/Magento/ProductAlert/Block/Product/View/Price.php index 45f890a7e7293..c91c4f1a859c8 100644 --- a/app/code/Magento/ProductAlert/Block/Product/View/Price.php +++ b/app/code/Magento/ProductAlert/Block/Product/View/Price.php @@ -7,6 +7,8 @@ /** * Product view price + * + * @api */ class Price extends \Magento\ProductAlert\Block\Product\View { diff --git a/app/code/Magento/ProductAlert/Block/Product/View/Stock.php b/app/code/Magento/ProductAlert/Block/Product/View/Stock.php index acc2fd3c7f694..4b3e8c0112ebc 100644 --- a/app/code/Magento/ProductAlert/Block/Product/View/Stock.php +++ b/app/code/Magento/ProductAlert/Block/Product/View/Stock.php @@ -7,6 +7,8 @@ /** * Recurring payment view stock + * + * @api */ class Stock extends \Magento\ProductAlert\Block\Product\View { diff --git a/app/code/Magento/ProductVideo/Block/Product/View/Gallery.php b/app/code/Magento/ProductVideo/Block/Product/View/Gallery.php index 6552223371dac..8a87fc83b183c 100644 --- a/app/code/Magento/ProductVideo/Block/Product/View/Gallery.php +++ b/app/code/Magento/ProductVideo/Block/Product/View/Gallery.php @@ -11,6 +11,9 @@ */ namespace Magento\ProductVideo\Block\Product\View; +/** + * @api + */ class Gallery extends \Magento\Catalog\Block\Product\View\Gallery { /** diff --git a/app/code/Magento/Quote/Model/Quote.php b/app/code/Magento/Quote/Model/Quote.php index 8010307901f22..324903cd7b404 100644 --- a/app/code/Magento/Quote/Model/Quote.php +++ b/app/code/Magento/Quote/Model/Quote.php @@ -24,6 +24,7 @@ * sales_quote_delete_before * sales_quote_delete_after * + * @api * @method int getIsMultiShipping() * @method Quote setIsMultiShipping(int $value) * @method float getStoreToBaseRate() diff --git a/app/code/Magento/Quote/Model/Quote/Address.php b/app/code/Magento/Quote/Model/Quote/Address.php index 9c610b3cf9d6b..c36b37428c041 100644 --- a/app/code/Magento/Quote/Model/Quote/Address.php +++ b/app/code/Magento/Quote/Model/Quote/Address.php @@ -14,6 +14,7 @@ /** * Sales Quote address model * + * @api * @method int getQuoteId() * @method Address setQuoteId(int $value) * @method string getCreatedAt() diff --git a/app/code/Magento/Quote/Model/Quote/Address/Item.php b/app/code/Magento/Quote/Model/Quote/Address/Item.php index 916deff19b050..f9ea6bdbc9f7f 100644 --- a/app/code/Magento/Quote/Model/Quote/Address/Item.php +++ b/app/code/Magento/Quote/Model/Quote/Address/Item.php @@ -8,6 +8,7 @@ use Magento\Quote\Model\Quote; /** + * @api * @method \Magento\Quote\Model\ResourceModel\Quote\Address\Item _getResource() * @method \Magento\Quote\Model\ResourceModel\Quote\Address\Item getResource() * @method int getParentItemId() diff --git a/app/code/Magento/Quote/Model/Quote/Address/Rate.php b/app/code/Magento/Quote/Model/Quote/Address/Rate.php index 8dcc1715a3f7f..a2145b1babfb6 100644 --- a/app/code/Magento/Quote/Model/Quote/Address/Rate.php +++ b/app/code/Magento/Quote/Model/Quote/Address/Rate.php @@ -8,6 +8,7 @@ use Magento\Framework\Model\AbstractModel; /** + * @api * @method \Magento\Quote\Model\ResourceModel\Quote\Address\Rate _getResource() * @method \Magento\Quote\Model\ResourceModel\Quote\Address\Rate getResource() * @method int getAddressId() diff --git a/app/code/Magento/Quote/Model/Quote/Address/RateResult/AbstractResult.php b/app/code/Magento/Quote/Model/Quote/Address/RateResult/AbstractResult.php index 6123373b2cd10..33e33b21925f7 100644 --- a/app/code/Magento/Quote/Model/Quote/Address/RateResult/AbstractResult.php +++ b/app/code/Magento/Quote/Model/Quote/Address/RateResult/AbstractResult.php @@ -5,6 +5,9 @@ */ namespace Magento\Quote\Model\Quote\Address\RateResult; +/** + * @api + */ class AbstractResult extends \Magento\Framework\DataObject { } diff --git a/app/code/Magento/Quote/Model/Quote/Address/RateResult/Method.php b/app/code/Magento/Quote/Model/Quote/Address/RateResult/Method.php index 1b7d635ce4a41..2854742317896 100644 --- a/app/code/Magento/Quote/Model/Quote/Address/RateResult/Method.php +++ b/app/code/Magento/Quote/Model/Quote/Address/RateResult/Method.php @@ -13,6 +13,8 @@ * - methodTitle: method title * - price: cost+handling * - cost: cost + * + * @api */ class Method extends AbstractResult { diff --git a/app/code/Magento/Quote/Model/Quote/Item.php b/app/code/Magento/Quote/Model/Quote/Item.php index 59e994bcd7efb..5363054d66f66 100644 --- a/app/code/Magento/Quote/Model/Quote/Item.php +++ b/app/code/Magento/Quote/Model/Quote/Item.php @@ -11,6 +11,7 @@ /** * Sales Quote Item Model * + * @api * @method \Magento\Quote\Model\ResourceModel\Quote\Item _getResource() * @method \Magento\Quote\Model\ResourceModel\Quote\Item getResource() * @method string getCreatedAt() diff --git a/app/code/Magento/Quote/Model/Quote/Item/AbstractItem.php b/app/code/Magento/Quote/Model/Quote/Item/AbstractItem.php index 50efdadfb88f3..8bcffd884b46a 100644 --- a/app/code/Magento/Quote/Model/Quote/Item/AbstractItem.php +++ b/app/code/Magento/Quote/Model/Quote/Item/AbstractItem.php @@ -18,6 +18,7 @@ * - custom_price - new price that can be declared by user and recalculated during calculation process * - original_custom_price - original defined value of custom price without any convertion * + * @api * @method float getDiscountAmount() * @method \Magento\Quote\Model\Quote\Item\AbstractItem setDiscountAmount(float $amount) * @method float getBaseDiscountAmount() diff --git a/app/code/Magento/Quote/Model/Quote/Payment.php b/app/code/Magento/Quote/Model/Quote/Payment.php index 6776250116876..f29b659673275 100644 --- a/app/code/Magento/Quote/Model/Quote/Payment.php +++ b/app/code/Magento/Quote/Model/Quote/Payment.php @@ -10,6 +10,7 @@ /** * Quote payment information * + * @api * @method \Magento\Quote\Model\ResourceModel\Quote\Payment _getResource() * @method \Magento\Quote\Model\ResourceModel\Quote\Payment getResource() * @method int getQuoteId() diff --git a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php index fe7b735c69170..fd33605ea67f3 100644 --- a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php +++ b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php @@ -8,6 +8,7 @@ /** * Quote item resource collection * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\Collection diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php index d37e154ae1d0d..d743ab0e46828 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php @@ -8,6 +8,7 @@ /** * Backend new accounts report page content block * + * @api * @author Magento Core Team */ class Accounts extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php index d43c2fcc429b7..719a59a6fc01f 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php @@ -8,6 +8,7 @@ /** * Backend customers by orders report content block * + * @api * @author Magento Core Team */ class Orders extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php index 62cad2bb8db81..2476794fdd253 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php @@ -8,6 +8,7 @@ /** * Backend customers by totals report content block * + * @api * @author Magento Core Team */ class Totals extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php b/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php index 471f3f6c22b6f..ac5bd41f36c7f 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php @@ -9,6 +9,7 @@ /** * Adminhtml report filter form * + * @api * @author Magento Core Team */ class Form extends \Magento\Backend\Block\Widget\Form\Generic diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Grid.php index 296987d805d90..eeca1c3ed6e8c 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid.php @@ -9,6 +9,7 @@ /** * Backend report grid block * + * @api * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php index fbf6d720e8418..0e84e0d63dfa5 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php @@ -8,6 +8,7 @@ /** * Adminhtml low stock products report content block * + * @api * @author Magento Core Team */ class Lowstock extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php index 6681ee9f97b24..8e7523a0955ef 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php @@ -8,6 +8,7 @@ /** * Adminhtml low stock products report grid block * + * @api * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php index f1de1bd72f1d5..759feae5d9752 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php @@ -8,6 +8,7 @@ /** * Backend Report Sold Product Content Block * + * @api * @author Magento Core Team */ class Sold extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php index 62056c25d7f0b..28a917bdda0d3 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php @@ -8,6 +8,7 @@ /** * Adminhtml most viewed products report content block * + * @api * @author Magento Core Team */ class Viewed extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php b/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php index 6c6aed35faa38..30e09ecab54bc 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php @@ -8,6 +8,7 @@ /** * Report Refresh statistic container * + * @api * @author Magento Core Team */ class Statistics extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php index 07ce03082369c..16964ddf9bc24 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php @@ -8,6 +8,7 @@ /** * Adminhtml cms blocks content block * + * @api * @author Magento Core Team */ class Customer extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php index 00d98db42bee2..4ca4995744b00 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php @@ -8,6 +8,7 @@ /** * Adminhtml report review product blocks content block * + * @api * @author Magento Core Team */ class Product extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php index f56d12a3e7440..f403a91d01643 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php @@ -8,6 +8,7 @@ /** * Adminhtml sales report page content block * + * @api * @author Magento Core Team */ class Bestsellers extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php index 397d3b6fdae3b..6ec8d5cbd3498 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php @@ -8,6 +8,7 @@ /** * Adminhtml coupons report page content block * + * @api * @author Magento Core Team */ class Coupons extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php index 6fc339e46b88d..a8e288abad7ed 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php @@ -8,6 +8,7 @@ /** * Adminhtml invoiced report page content block * + * @api * @author Magento Core Team */ class Invoiced extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Refunded.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Refunded.php index 8d1d1d12c8942..1222435e2b120 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Refunded.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Refunded.php @@ -8,6 +8,7 @@ /** * Adminhtml refunded report page content block * + * @api * @author Magento Core Team */ class Refunded extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php index bb20a26c66dc4..966d5e9ea10a6 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php @@ -8,6 +8,7 @@ /** * Adminhtml sales report page content block * + * @api * @author Magento Core Team */ class Sales extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Shipping.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Shipping.php index 5b3320c15f16a..edd14e86fb266 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Shipping.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Shipping.php @@ -8,6 +8,7 @@ /** * Adminhtml shipping report page content block * + * @api * @author Magento Core Team */ class Shipping extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php index 112ced4ad57ef..8a03ec33983a8 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php @@ -8,6 +8,7 @@ /** * Adminhtml tax report page content block * + * @api * @author Magento Core Team */ class Tax extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab.php b/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab.php index 70497ba46b2e0..4a9334c30736f 100644 --- a/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab.php +++ b/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab.php @@ -5,6 +5,9 @@ */ namespace Magento\Review\Block\Adminhtml\Product\Edit; +/** + * @api + */ class Tab extends \Magento\Backend\Block\Widget\Tab { /** diff --git a/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab/Reviews.php b/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab/Reviews.php index d9a0ce638956c..8d9eee51958e9 100644 --- a/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab/Reviews.php +++ b/app/code/Magento/Review/Block/Adminhtml/Product/Edit/Tab/Reviews.php @@ -8,6 +8,7 @@ namespace Magento\Review\Block\Adminhtml\Product\Edit\Tab; /** + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Reviews extends \Magento\Review\Block\Adminhtml\Grid diff --git a/app/code/Magento/Review/Block/Adminhtml/Rating.php b/app/code/Magento/Review/Block/Adminhtml/Rating.php index 0cedd93cc1b47..aad6def13fe71 100644 --- a/app/code/Magento/Review/Block/Adminhtml/Rating.php +++ b/app/code/Magento/Review/Block/Adminhtml/Rating.php @@ -8,6 +8,7 @@ /** * Ratings grid * + * @api * @author Magento Core Team */ class Rating extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Review/Block/Adminhtml/Rss/Grid/Link.php b/app/code/Magento/Review/Block/Adminhtml/Rss/Grid/Link.php index 07344e442cdc2..755ea9bde530f 100644 --- a/app/code/Magento/Review/Block/Adminhtml/Rss/Grid/Link.php +++ b/app/code/Magento/Review/Block/Adminhtml/Rss/Grid/Link.php @@ -7,6 +7,7 @@ /** * Class Link + * @api * @package Magento\Review\Block\Adminhtml\Grid\Rss */ class Link extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Review/Block/Customer/ListCustomer.php b/app/code/Magento/Review/Block/Customer/ListCustomer.php index 820183f68f23d..c86337c77f8ec 100644 --- a/app/code/Magento/Review/Block/Customer/ListCustomer.php +++ b/app/code/Magento/Review/Block/Customer/ListCustomer.php @@ -10,6 +10,8 @@ /** * Customer Reviews list block + * + * @api */ class ListCustomer extends \Magento\Customer\Block\Account\Dashboard { diff --git a/app/code/Magento/Review/Block/Customer/Recent.php b/app/code/Magento/Review/Block/Customer/Recent.php index e4354586a13c1..f3e851981fda1 100644 --- a/app/code/Magento/Review/Block/Customer/Recent.php +++ b/app/code/Magento/Review/Block/Customer/Recent.php @@ -9,6 +9,8 @@ /** * Recent Customer Reviews Block + * + * @api */ class Recent extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Review/Block/Customer/View.php b/app/code/Magento/Review/Block/Customer/View.php index 0cedea72d1751..df3b27cc8d62e 100644 --- a/app/code/Magento/Review/Block/Customer/View.php +++ b/app/code/Magento/Review/Block/Customer/View.php @@ -12,6 +12,7 @@ /** * Customer Review detailed view block * + * @api * @author Magento Core Team */ class View extends \Magento\Catalog\Block\Product\AbstractProduct diff --git a/app/code/Magento/Review/Block/Form.php b/app/code/Magento/Review/Block/Form.php index 5da7583b6739d..08e62bece6306 100644 --- a/app/code/Magento/Review/Block/Form.php +++ b/app/code/Magento/Review/Block/Form.php @@ -13,6 +13,7 @@ /** * Review form block * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Review/Block/Form/Configure.php b/app/code/Magento/Review/Block/Form/Configure.php index 844a0cf677cea..d63792ed72986 100644 --- a/app/code/Magento/Review/Block/Form/Configure.php +++ b/app/code/Magento/Review/Block/Form/Configure.php @@ -8,6 +8,7 @@ /** * Review form block * + * @api * @author Magento Core Team */ class Configure extends \Magento\Review\Block\Form diff --git a/app/code/Magento/Review/Block/Product/Review.php b/app/code/Magento/Review/Block/Product/Review.php index 633233f48ca37..8906f3dabb30c 100644 --- a/app/code/Magento/Review/Block/Product/Review.php +++ b/app/code/Magento/Review/Block/Product/Review.php @@ -11,6 +11,7 @@ /** * Product Review Tab * + * @api * @author Magento Core Team */ class Review extends Template implements IdentityInterface diff --git a/app/code/Magento/Review/Block/Product/View/ListView.php b/app/code/Magento/Review/Block/Product/View/ListView.php index d86def0398328..708aaab06811d 100644 --- a/app/code/Magento/Review/Block/Product/View/ListView.php +++ b/app/code/Magento/Review/Block/Product/View/ListView.php @@ -8,7 +8,7 @@ /** * Detailed Product Reviews * - * @author Magento Core Team + * @api */ class ListView extends \Magento\Review\Block\Product\View { diff --git a/app/code/Magento/Review/Block/Product/View/Other.php b/app/code/Magento/Review/Block/Product/View/Other.php index fe8f4bc0f69cb..463e330fd9201 100644 --- a/app/code/Magento/Review/Block/Product/View/Other.php +++ b/app/code/Magento/Review/Block/Product/View/Other.php @@ -7,6 +7,8 @@ /** * Product view other block + * + * @api */ class Other extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Review/Block/View.php b/app/code/Magento/Review/Block/View.php index 657b0506dd14d..e9b6573b57cb8 100644 --- a/app/code/Magento/Review/Block/View.php +++ b/app/code/Magento/Review/Block/View.php @@ -8,6 +8,7 @@ /** * Review detailed view block * + * @api * @author Magento Core Team */ class View extends \Magento\Catalog\Block\Product\AbstractProduct diff --git a/app/code/Magento/Review/Model/ResourceModel/Rating/Option/Vote/Collection.php b/app/code/Magento/Review/Model/ResourceModel/Rating/Option/Vote/Collection.php index df8e5e32f88fa..78f01dc3eb88d 100644 --- a/app/code/Magento/Review/Model/ResourceModel/Rating/Option/Vote/Collection.php +++ b/app/code/Magento/Review/Model/ResourceModel/Rating/Option/Vote/Collection.php @@ -8,6 +8,7 @@ /** * Rating votes collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection diff --git a/app/code/Magento/Review/Model/ResourceModel/Review/Product/Collection.php b/app/code/Magento/Review/Model/ResourceModel/Review/Product/Collection.php index 8592d006c2d5d..879ae1c766776 100644 --- a/app/code/Magento/Review/Model/ResourceModel/Review/Product/Collection.php +++ b/app/code/Magento/Review/Model/ResourceModel/Review/Product/Collection.php @@ -14,7 +14,6 @@ * Review Product Collection * * @api - * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection diff --git a/app/code/Magento/Review/Model/Review.php b/app/code/Magento/Review/Model/Review.php index 8038959629fa0..a661c0d1a1179 100644 --- a/app/code/Magento/Review/Model/Review.php +++ b/app/code/Magento/Review/Model/Review.php @@ -14,7 +14,6 @@ * Review model * * @api - * * @method string getCreatedAt() * @method \Magento\Review\Model\Review setCreatedAt(string $value) * @method \Magento\Review\Model\Review setEntityId(int $value) diff --git a/app/code/Magento/Rss/Block/Feeds.php b/app/code/Magento/Rss/Block/Feeds.php index 62d2f988ceac0..a322d817e6b8d 100644 --- a/app/code/Magento/Rss/Block/Feeds.php +++ b/app/code/Magento/Rss/Block/Feeds.php @@ -7,6 +7,7 @@ /** * Class Feeds + * @api * @package Magento\Rss\Block */ class Feeds extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Rule/Block/Editable.php b/app/code/Magento/Rule/Block/Editable.php index 544e9116a310c..30963d5a80d78 100644 --- a/app/code/Magento/Rule/Block/Editable.php +++ b/app/code/Magento/Rule/Block/Editable.php @@ -8,6 +8,9 @@ use Magento\Framework\Data\Form\Element\Renderer\RendererInterface; use Magento\Framework\View\Element\AbstractBlock; +/** + * @api + */ class Editable extends AbstractBlock implements RendererInterface { /** diff --git a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/DefaultColumn.php b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/DefaultColumn.php index 2c9adfd50b97b..bee8336ede4ba 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/DefaultColumn.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/DefaultColumn.php @@ -13,6 +13,7 @@ /** * Adminhtml sales order column renderer * + * @api * @author Magento Core Team */ class DefaultColumn extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems diff --git a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Name.php b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Name.php index 4eec61fef3390..c9f2076a7c56b 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Name.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Name.php @@ -7,6 +7,8 @@ /** * Sales Order items name column renderer + * + * @api */ class Name extends \Magento\Sales\Block\Adminhtml\Items\Column\DefaultColumn { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Qty.php b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Qty.php index 1c23b7e1accd7..45665be3cfdf2 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Qty.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Items/Column/Qty.php @@ -8,6 +8,7 @@ /** * Sales Order items qty column renderer * + * @api * @author Magento Core Team */ class Qty extends \Magento\Sales\Block\Adminhtml\Items\Column\DefaultColumn diff --git a/app/code/Magento/Sales/Block/Adminhtml/Items/Renderer/DefaultRenderer.php b/app/code/Magento/Sales/Block/Adminhtml/Items/Renderer/DefaultRenderer.php index d871b4cc5e89e..0ba39cdcd2358 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Items/Renderer/DefaultRenderer.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Items/Renderer/DefaultRenderer.php @@ -9,6 +9,8 @@ /** * Adminhtml sales order item renderer + * + * @api */ class DefaultRenderer extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/AbstractOrder.php b/app/code/Magento/Sales/Block/Adminhtml/Order/AbstractOrder.php index 02cb0098b2086..fecb32e932aef 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/AbstractOrder.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/AbstractOrder.php @@ -10,6 +10,7 @@ /** * Adminhtml order abstract block * + * @api * @author Magento Core Team */ class AbstractOrder extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Address.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Address.php index 3651689cf3301..d66793ad9f5de 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Address.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Address.php @@ -7,6 +7,8 @@ /** * Edit order address form container block + * + * @api */ class Address extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Comments/View.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Comments/View.php index 280473efda20d..fcfd0152645b0 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Comments/View.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Comments/View.php @@ -8,6 +8,7 @@ /** * Invoice view comments form * + * @api * @author Magento Core Team */ class View extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create.php index 9692d4bbb5d14..021c78f30cd72 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create * + * @api * @author Magento Core Team */ class Create extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address.php index 35b7277f94011..7ba1ec7957806 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create billing address block * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method.php index 4b4c1017ada64..83be8c9714d6a 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create payment method block * + * @api * @author Magento Core Team */ class Method extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/Form.php index d2c78504af860..6d2a2ab86d273 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create payment method form block * + * @api * @author Magento Core Team */ class Form extends \Magento\Payment\Block\Form\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Comment.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Comment.php index 99bf8af3e7abe..2db21a550163c 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Comment.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Comment.php @@ -8,6 +8,7 @@ /** * Create order comment form * + * @api * @author Magento Core Team */ class Comment extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons.php index bb5e06b5ffda4..5a7dd8f047f20 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create coupons block * + * @api * @author Magento Core Team */ class Coupons extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons/Form.php index 5a7fc0d22761e..55b7eabf50f17 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Coupons/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create coupons form block * + * @api * @author Magento Core Team */ class Form extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Customer.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Customer.php index d4a9af73c4c94..4e1c73788eeb2 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Customer.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Customer.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create block * + * @api * @author Magento Core Team */ class Customer extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Data.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Data.php index d7bc4a25054ca..c3cb59c0c284f 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Data.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Data.php @@ -10,6 +10,7 @@ /** * Order create data * + * @api * @author Magento Core Team */ class Data extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form.php index 64177c4f2a1e6..7040f5bd5e0f4 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form.php @@ -9,6 +9,8 @@ /** * Adminhtml sales order create form block + * + * @api */ class Form extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php index 01db8064c7a30..efda5e95c6327 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php @@ -15,6 +15,7 @@ /** * Create order account form * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Giftmessage.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Giftmessage.php index 3a2dda435c414..e3109fc455ed5 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Giftmessage.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Giftmessage.php @@ -10,6 +10,7 @@ /** * Adminhtml order create gift message block * + * @api * @author Magento Core Team */ class Giftmessage extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Header.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Header.php index 4ef651fae4323..1a6ab0e49ed71 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Header.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Header.php @@ -9,6 +9,8 @@ /** * Create order form header + * + * @api */ class Header extends AbstractCreate { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items.php index 3109ffdc27b7d..be8133763cc6d 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create items block * + * @api * @author Magento Core Team */ class Items extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items/Grid.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items/Grid.php index 65e72ad6d0fc9..f9d11476fb687 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items/Grid.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Items/Grid.php @@ -14,6 +14,7 @@ /** * Adminhtml sales order create items grid block + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Grid extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Load.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Load.php index 2085d3410129a..c8a168619ac61 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Load.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Load.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create newsletter block * + * @api * @author Magento Core Team */ class Load extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Messages.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Messages.php index ea1777d8384a8..3a99d7b883d52 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Messages.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Messages.php @@ -8,6 +8,7 @@ /** * Order create errors block * + * @api * @author Magento Core Team */ class Messages extends \Magento\Framework\View\Element\Messages diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php index 8472b24bd1cf5..21cdf3cc5d557 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create newsletter block * + * @api * @author Magento Core Team */ class Newsletter extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter/Form.php index b6ce8006d1fc1..352c6a98dac6b 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create newsletter form block * + * @api * @author Magento Core Team */ class Form extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search.php index c61394994a423..a1894cc3f181f 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create search block * + * @api * @author Magento Core Team */ class Search extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid.php index 4006f35c90146..4b89321f0f536 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create search products block * + * @api * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Address.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Address.php index 8b77684df61df..848e25253376f 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Address.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Address.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create shipping address block * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method.php index 82d6c69d5aaf4..3c80bd4383a62 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create shipping method block * + * @api * @author Magento Core Team */ class Method extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php index 9bafddfc8b233..195d3886571ac 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create shipping method form block * + * @api * @author Magento Core Team */ class Form extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php index 06f3d6eb5356a..37861be033b1b 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create sidebar * + * @api * @author Magento Core Team */ class Sidebar extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/AbstractSidebar.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/AbstractSidebar.php index 941af6a602439..f411a93fd3368 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/AbstractSidebar.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/AbstractSidebar.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create sidebar block * + * @api * @author Magento Core Team */ class AbstractSidebar extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php index 41307b4362d55..b1c16825d4a82 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create sidebar cart block * + * @api * @author Magento Core Team */ class Cart extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Compared.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Compared.php index ecf7e2f95ffa1..78c4e7a12edf6 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Compared.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Compared.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create sidebar compared block * + * @api * @author Magento Core Team */ class Compared extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pcompared.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pcompared.php index 10fabfcc6ae09..43ff088c5bc5a 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pcompared.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pcompared.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create sidebar recently compared block * + * @api * @author Magento Core Team */ class Pcompared extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pviewed.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pviewed.php index 28dc840be3ed0..477f6edc101bd 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pviewed.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Pviewed.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create sidebar recently view block * + * @api * @author Magento Core Team */ class Pviewed extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Reorder.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Reorder.php index ce220b8573b29..6a1ae5c5be1f0 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Reorder.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Reorder.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create sidebar cart block * + * @api * @author Magento Core Team */ class Reorder extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Viewed.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Viewed.php index 68066f2cec615..3389511d79ede 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Viewed.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Viewed.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create sidebar viewed block * + * @api * @author Magento Core Team */ class Viewed extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Wishlist.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Wishlist.php index 72aebc6c51553..72c34412c6ba3 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Wishlist.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/Wishlist.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create sidebar wishlist block * + * @api * @author Magento Core Team */ class Wishlist extends \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store.php index f6c813f78a139..fba7a61ff629d 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create select store block * + * @api * @author Magento Core Team */ class Store extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store/Select.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store/Select.php index 9d9f03928fcf8..7aee297ccafed 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store/Select.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Store/Select.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order create select store block * + * @api * @author Magento Core Team */ class Select extends \Magento\Backend\Block\Store\Switcher diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Totals.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Totals.php index a6538a6f7905b..4d0d83e76c62f 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Totals.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Totals.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order create totals block * + * @api * @author Magento Core Team */ class Totals extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create.php index c85a4f88025c3..df26937e489f6 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create.php @@ -7,6 +7,8 @@ /** * Adminhtml creditmemo create + * + * @api */ class Create extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Adjustments.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Adjustments.php index 344cfe17aca0a..1f40b593637d6 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Adjustments.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Adjustments.php @@ -7,6 +7,9 @@ use Magento\Framework\Pricing\PriceCurrencyInterface; +/** + * @api + */ class Adjustments extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Form.php index 96f0e0fa3ec8b..3682e89dab48c 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Form.php @@ -7,6 +7,8 @@ /** * Adminhtml creditmemo create form + * + * @api */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Items.php index 7b17c1215be0a..fd70252574ea5 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Create/Items.php @@ -7,6 +7,8 @@ /** * Adminhtml credit memo items grid + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Totals.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Totals.php index bdd2d94738eb8..265051ff94b47 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Totals.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Totals.php @@ -10,6 +10,7 @@ /** * Adminhtml order creditmemo totals block * + * @api * @author Magento Core Team */ class Totals extends \Magento\Sales\Block\Adminhtml\Totals diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View.php index e85a991bd205c..d0832a34100b9 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View.php @@ -8,6 +8,7 @@ /** * Adminhtml creditmemo view * + * @api * @author Magento Core Team */ class View extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Comments.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Comments.php index a3eb1a44e5551..9f42982cbd89a 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Comments.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Comments.php @@ -8,6 +8,7 @@ /** * Adminhtml sales shipment comment view block * + * @api * @author Magento Core Team */ class Comments extends \Magento\Backend\Block\Text\ListText diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Form.php index 5c787ec95561b..e15db7f903a93 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Form.php @@ -8,6 +8,7 @@ /** * Creditmemo view form * + * @api * @author Magento Core Team */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Items.php index 4d63dc5af807e..9fdc02786f166 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/View/Items.php @@ -7,6 +7,8 @@ /** * Adminhtml sales item renderer + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create.php index 1d284958db7a3..5c6ce93ee9693 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create.php @@ -7,6 +7,8 @@ /** * Adminhtml invoice create + * + * @api */ class Create extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Form.php index 070f3822391d4..5ab5cfa92d06f 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Form.php @@ -8,6 +8,7 @@ /** * Adminhtml invoice create form * + * @api * @author Magento Core Team */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Items.php index 7f32382b82dbd..bb7f7dca9eb20 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Create/Items.php @@ -7,6 +7,8 @@ /** * Adminhtml invoice items grid + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Totals.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Totals.php index 8d757335619a4..7ad22a919f4d4 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Totals.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/Totals.php @@ -10,6 +10,7 @@ /** * Adminhtml order invoice totals block * + * @api * @author Magento Core Team */ class Totals extends \Magento\Sales\Block\Adminhtml\Totals diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php index f4495a6021a31..a3cb3b2552e84 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php @@ -11,6 +11,7 @@ /** * Adminhtml invoice create * + * @api * @author Magento Core Team */ class View extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Comments.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Comments.php index ca1aada6faa02..8e44361ef62d3 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Comments.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Comments.php @@ -8,6 +8,7 @@ /** * Adminhtml sales shipment comment view block * + * @api * @author Magento Core Team */ class Comments extends \Magento\Backend\Block\Text\ListText diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Form.php index ad0b1e46bcc2d..672b7e893d367 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Form.php @@ -8,6 +8,7 @@ /** * Invoice view form * + * @api * @author Magento Core Team */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Items.php index 2b66cd5865f4a..9e7c59db20493 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View/Items.php @@ -7,6 +7,8 @@ /** * Adminhtml sales item renderer + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Payment.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Payment.php index 3578f8425c3fb..0914241e4deda 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Payment.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Payment.php @@ -10,6 +10,7 @@ /** * Adminhtml sales order payment information * + * @api * @author Magento Core Team */ class Payment extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Status.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Status.php index 2a3ee355d9659..9be3f34146815 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Status.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Status.php @@ -8,6 +8,7 @@ /** * Adminhtml sales order's status management block * + * @api * @author Magento Core Team */ class Status extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Assign.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Assign.php index c6e1036d9e38a..afc70b7c1b7ea 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Assign.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Assign.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Adminhtml\Order\Status; +/** + * @api + */ class Assign extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Edit.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Edit.php index f8ff6f73d3780..56c307abe87f8 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Edit.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/Edit.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Adminhtml\Order\Status; +/** + * @api + */ class Edit extends \Magento\Sales\Block\Adminhtml\Order\Status\NewStatus { /** diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/NewStatus.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/NewStatus.php index 65c984711baa0..3073cea033d8b 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Status/NewStatus.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Status/NewStatus.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Adminhtml\Order\Status; +/** + * @api + */ class NewStatus extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php index 0d4339da0fc47..669bff7cda187 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php @@ -8,6 +8,7 @@ /** * Adminhtml creditmemo bar * + * @api * @author Magento Core Team */ class Totalbar extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals.php index e4e13c74473d9..8f40bac0e5582 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals.php @@ -8,6 +8,7 @@ /** * Adminhtml order totals block * + * @api * @author Magento Core Team */ class Totals extends \Magento\Sales\Block\Adminhtml\Totals//\Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Item.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Item.php index d1873a77fb246..07f8c50cd3b1b 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Item.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Item.php @@ -7,6 +7,8 @@ /** * Totals item block + * + * @api */ class Item extends \Magento\Sales\Block\Adminhtml\Order\Totals { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php index 30dbcf084040f..86766ac049714 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php @@ -8,6 +8,7 @@ /** * Adminhtml order tax totals block * + * @api * @author Magento Core Team */ class Tax extends \Magento\Tax\Block\Sales\Order\Tax diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View.php index a4a700d656809..8288d5d6c8726 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View.php @@ -9,6 +9,7 @@ /** * Adminhtml sales order view + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class View extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Giftmessage.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Giftmessage.php index d254a909a643b..c361d8dae81d7 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Giftmessage.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Giftmessage.php @@ -8,6 +8,7 @@ /** * Edit order giftmessage block * + * @api * @author Magento Core Team */ class Giftmessage extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php index 1e6f28a005552..2b488999947d0 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php @@ -8,7 +8,7 @@ /** * Order history block * - * @author Magento Core Team + * @api */ class History extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Info.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Info.php index f30eb26ad962a..a86d33a9ad762 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Info.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Info.php @@ -12,6 +12,7 @@ /** * Order history block * Class Info + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Info extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items.php index 7fc9a74703935..9e60da1335827 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items.php @@ -9,6 +9,8 @@ /** * Adminhtml order items grid + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items/Renderer/DefaultRenderer.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items/Renderer/DefaultRenderer.php index 667431a7c838f..fe62280829230 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items/Renderer/DefaultRenderer.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Items/Renderer/DefaultRenderer.php @@ -9,6 +9,8 @@ /** * Adminhtml sales order item renderer + * + * @api */ class DefaultRenderer extends \Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRenderer { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Messages.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Messages.php index fc6f94c55f5cd..11624c86b6d80 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Messages.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Messages.php @@ -11,6 +11,7 @@ /** * Order view messages * + * @api * @author Magento Core Team */ class Messages extends \Magento\Framework\View\Element\Messages diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Creditmemos.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Creditmemos.php index 6173652f0a7b4..fd567b6aba110 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Creditmemos.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Creditmemos.php @@ -8,7 +8,7 @@ /** * Order Credit Memos grid * - * @author Magento Core Team + * @api */ class Creditmemos extends \Magento\Framework\View\Element\Text\ListText implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php index 2fd778b276dd2..48d6e127472aa 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php @@ -8,7 +8,7 @@ /** * Order history tab * - * @author Magento Core Team + * @api */ class History extends \Magento\Backend\Block\Template implements \Magento\Backend\Block\Widget\Tab\TabInterface { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Info.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Info.php index 5422795679c30..1a3e8d5eb50d5 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Info.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Info.php @@ -8,6 +8,7 @@ /** * Order information tab * + * @api * @author Magento Core Team */ class Info extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder implements diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Invoices.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Invoices.php index ccf8d23c0b277..7e5d8d635b0b2 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Invoices.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Invoices.php @@ -8,7 +8,7 @@ /** * Order Invoices grid * - * @author Magento Core Team + * @api */ class Invoices extends \Magento\Framework\View\Element\Text\ListText implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Shipments.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Shipments.php index 438cd783b2616..acc0af7ea3473 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Shipments.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Shipments.php @@ -7,6 +7,8 @@ /** * Order Shipments grid + * + * @api */ class Shipments extends \Magento\Framework\View\Element\Text\ListText implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Transactions.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Transactions.php index c21c780d240e3..aafdeb0209dbe 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Transactions.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Transactions.php @@ -8,7 +8,7 @@ /** * Order transactions tab * - * @author Magento Core Team + * @api */ class Transactions extends \Magento\Framework\View\Element\Text\ListText implements \Magento\Backend\Block\Widget\Tab\TabInterface diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tabs.php b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tabs.php index 9a79d1b4f464f..a0f2e5388a94a 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tabs.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/View/Tabs.php @@ -7,6 +7,8 @@ /** * Order view tabs + * + * @api */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { diff --git a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form.php b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form.php index abb0d94a2782f..5d3bcafc6da91 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form.php @@ -8,6 +8,7 @@ /** * Sales Adminhtml report filter form * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Coupon.php b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Coupon.php index c9bc7b898b8ab..5e76234b0c615 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Coupon.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Coupon.php @@ -8,6 +8,7 @@ /** * Sales Adminhtml report filter form for coupons report * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Order.php b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Order.php index a596f3ec5eb6b..0607903977076 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Order.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Report/Filter/Form/Order.php @@ -8,6 +8,7 @@ /** * Sales Adminhtml report filter form order * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ diff --git a/app/code/Magento/Sales/Block/Adminhtml/Transactions.php b/app/code/Magento/Sales/Block/Adminhtml/Transactions.php index ca4b6f0aed245..21ccf616323e2 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Transactions.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Transactions.php @@ -8,6 +8,7 @@ /** * Adminhtml sales transactions block * + * @api * @author Magento Core Team */ class Transactions extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail.php b/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail.php index 08033923db2d4..f7b3fdf3c27c0 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail.php @@ -11,6 +11,7 @@ /** * Adminhtml transaction detail * + * @api * @author Magento Core Team */ class Detail extends \Magento\Backend\Block\Widget\Container diff --git a/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail/Grid.php b/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail/Grid.php index 9fb15418b4ca1..7f5f9d6834b48 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail/Grid.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Transactions/Detail/Grid.php @@ -8,6 +8,7 @@ /** * Adminhtml transaction details grid * + * @api * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended diff --git a/app/code/Magento/Sales/Block/Guest/Link.php b/app/code/Magento/Sales/Block/Guest/Link.php index 3ac23cab7f02d..587df8956900a 100644 --- a/app/code/Magento/Sales/Block/Guest/Link.php +++ b/app/code/Magento/Sales/Block/Guest/Link.php @@ -10,6 +10,7 @@ /** * "Orders and Returns" link * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Link extends \Magento\Framework\View\Element\Html\Link\Current diff --git a/app/code/Magento/Sales/Block/Order/Comments.php b/app/code/Magento/Sales/Block/Order/Comments.php index c78555c9715b5..0b6d2d2cf9cd2 100644 --- a/app/code/Magento/Sales/Block/Order/Comments.php +++ b/app/code/Magento/Sales/Block/Order/Comments.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Order; +/** + * @api + */ class Comments extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Sales/Block/Order/Creditmemo.php b/app/code/Magento/Sales/Block/Order/Creditmemo.php index 2d45285e9ca1a..6bbafd15df277 100644 --- a/app/code/Magento/Sales/Block/Order/Creditmemo.php +++ b/app/code/Magento/Sales/Block/Order/Creditmemo.php @@ -10,6 +10,7 @@ /** * Sales order view block * + * @api * @author Magento Core Team */ class Creditmemo extends \Magento\Sales\Block\Order\Creditmemo\Items diff --git a/app/code/Magento/Sales/Block/Order/Creditmemo/Items.php b/app/code/Magento/Sales/Block/Order/Creditmemo/Items.php index 9adf423829a25..5f354b0953365 100644 --- a/app/code/Magento/Sales/Block/Order/Creditmemo/Items.php +++ b/app/code/Magento/Sales/Block/Order/Creditmemo/Items.php @@ -9,6 +9,9 @@ */ namespace Magento\Sales\Block\Order\Creditmemo; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Sales/Block/Order/Creditmemo/Totals.php b/app/code/Magento/Sales/Block/Order/Creditmemo/Totals.php index 5e3d28e041c44..fdc5abcaee472 100644 --- a/app/code/Magento/Sales/Block/Order/Creditmemo/Totals.php +++ b/app/code/Magento/Sales/Block/Order/Creditmemo/Totals.php @@ -10,6 +10,9 @@ use Magento\Sales\Model\Order\Creditmemo; +/** + * @api + */ class Totals extends \Magento\Sales\Block\Order\Totals { /** diff --git a/app/code/Magento/Sales/Block/Order/Email/Creditmemo/Items.php b/app/code/Magento/Sales/Block/Order/Email/Creditmemo/Items.php index 23d5a4aaabbcb..78f537aa13402 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Creditmemo/Items.php +++ b/app/code/Magento/Sales/Block/Order/Email/Creditmemo/Items.php @@ -8,6 +8,7 @@ /** * Sales Order Email creditmemo items * + * @api * @author Magento Core Team */ class Items extends \Magento\Sales\Block\Items\AbstractItems diff --git a/app/code/Magento/Sales/Block/Order/Email/Invoice/Items.php b/app/code/Magento/Sales/Block/Order/Email/Invoice/Items.php index 0a0fa783d9125..f71a81cc058c8 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Invoice/Items.php +++ b/app/code/Magento/Sales/Block/Order/Email/Invoice/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Sales\Block\Order\Email\Invoice; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Sales/Block/Order/Email/Items.php b/app/code/Magento/Sales/Block/Order/Email/Items.php index 8a13635a6ad91..0cd56ad21fb98 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Items.php +++ b/app/code/Magento/Sales/Block/Order/Email/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Sales\Block\Order\Email; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { } diff --git a/app/code/Magento/Sales/Block/Order/Email/Items/DefaultItems.php b/app/code/Magento/Sales/Block/Order/Email/Items/DefaultItems.php index 9b9ea918c3ef6..330ce6af1ae2b 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Items/DefaultItems.php +++ b/app/code/Magento/Sales/Block/Order/Email/Items/DefaultItems.php @@ -12,6 +12,7 @@ /** * Sales Order Email items default renderer * + * @api * @author Magento Core Team */ class DefaultItems extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Sales/Block/Order/Email/Items/Order/DefaultOrder.php b/app/code/Magento/Sales/Block/Order/Email/Items/Order/DefaultOrder.php index 8a6b10e84f06b..9759ec85aaf13 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Items/Order/DefaultOrder.php +++ b/app/code/Magento/Sales/Block/Order/Email/Items/Order/DefaultOrder.php @@ -10,6 +10,7 @@ /** * Sales Order Email items default renderer * + * @api * @author Magento Core Team */ class DefaultOrder extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Sales/Block/Order/Email/Shipment/Items.php b/app/code/Magento/Sales/Block/Order/Email/Shipment/Items.php index eb3d129a3c399..905819966c4e5 100644 --- a/app/code/Magento/Sales/Block/Order/Email/Shipment/Items.php +++ b/app/code/Magento/Sales/Block/Order/Email/Shipment/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Sales\Block\Order\Email\Shipment; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Sales/Block/Order/History.php b/app/code/Magento/Sales/Block/Order/History.php index 3c1289ae872d4..07dc5e49412f1 100644 --- a/app/code/Magento/Sales/Block/Order/History.php +++ b/app/code/Magento/Sales/Block/Order/History.php @@ -10,6 +10,8 @@ /** * Sales order history block + * + * @api */ class History extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Order/History/Container.php b/app/code/Magento/Sales/Block/Order/History/Container.php index 0eea9f98de3de..1d9f2743aec2b 100644 --- a/app/code/Magento/Sales/Block/Order/History/Container.php +++ b/app/code/Magento/Sales/Block/Order/History/Container.php @@ -7,6 +7,8 @@ /** * Sales order history extra container block + * + * @api */ class Container extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Order/Info.php b/app/code/Magento/Sales/Block/Order/Info.php index 7843479149cfd..d3db2271db521 100644 --- a/app/code/Magento/Sales/Block/Order/Info.php +++ b/app/code/Magento/Sales/Block/Order/Info.php @@ -14,6 +14,7 @@ /** * Invoice view comments form * + * @api * @author Magento Core Team */ class Info extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Sales/Block/Order/Info/Buttons.php b/app/code/Magento/Sales/Block/Order/Info/Buttons.php index c3244526f55c9..0837dce94d5d6 100644 --- a/app/code/Magento/Sales/Block/Order/Info/Buttons.php +++ b/app/code/Magento/Sales/Block/Order/Info/Buttons.php @@ -11,6 +11,9 @@ use Magento\Customer\Model\Context; +/** + * @api + */ class Buttons extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Sales/Block/Order/Info/Buttons/Rss.php b/app/code/Magento/Sales/Block/Order/Info/Buttons/Rss.php index 5e639a12cc4ff..0aadde0405e84 100644 --- a/app/code/Magento/Sales/Block/Order/Info/Buttons/Rss.php +++ b/app/code/Magento/Sales/Block/Order/Info/Buttons/Rss.php @@ -7,6 +7,8 @@ /** * Block of links in Order view page + * + * @api */ class Rss extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Order/Invoice.php b/app/code/Magento/Sales/Block/Order/Invoice.php index 4a62e3bb5015d..2b51814ed3cb0 100644 --- a/app/code/Magento/Sales/Block/Order/Invoice.php +++ b/app/code/Magento/Sales/Block/Order/Invoice.php @@ -9,6 +9,8 @@ /** * Sales order view block + * + * @api */ class Invoice extends \Magento\Sales\Block\Order\Invoice\Items { diff --git a/app/code/Magento/Sales/Block/Order/Invoice/Items.php b/app/code/Magento/Sales/Block/Order/Invoice/Items.php index d84b8c0c41f44..be4926d015169 100644 --- a/app/code/Magento/Sales/Block/Order/Invoice/Items.php +++ b/app/code/Magento/Sales/Block/Order/Invoice/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Sales\Block\Order\Invoice; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Sales/Block/Order/Invoice/Totals.php b/app/code/Magento/Sales/Block/Order/Invoice/Totals.php index d4ab9bbb5068b..f14c99ac9e36e 100644 --- a/app/code/Magento/Sales/Block/Order/Invoice/Totals.php +++ b/app/code/Magento/Sales/Block/Order/Invoice/Totals.php @@ -7,6 +7,9 @@ use Magento\Sales\Model\Order; +/** + * @api + */ class Totals extends \Magento\Sales\Block\Order\Totals { /** diff --git a/app/code/Magento/Sales/Block/Order/Item/Renderer/DefaultRenderer.php b/app/code/Magento/Sales/Block/Order/Item/Renderer/DefaultRenderer.php index 7460573e450c4..171f86b0ac00f 100644 --- a/app/code/Magento/Sales/Block/Order/Item/Renderer/DefaultRenderer.php +++ b/app/code/Magento/Sales/Block/Order/Item/Renderer/DefaultRenderer.php @@ -14,6 +14,8 @@ /** * Order item render block + * + * @api */ class DefaultRenderer extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Order/Items.php b/app/code/Magento/Sales/Block/Order/Items.php index bb528ba894b0b..5c48eb5bb0999 100644 --- a/app/code/Magento/Sales/Block/Order/Items.php +++ b/app/code/Magento/Sales/Block/Order/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Sales\Block\Order; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Sales/Block/Order/Link.php b/app/code/Magento/Sales/Block/Order/Link.php index 5554bd7f5a24b..befced1126796 100644 --- a/app/code/Magento/Sales/Block/Order/Link.php +++ b/app/code/Magento/Sales/Block/Order/Link.php @@ -8,6 +8,7 @@ /** * Sales order link * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Link extends \Magento\Framework\View\Element\Html\Link\Current diff --git a/app/code/Magento/Sales/Block/Order/PrintOrder/Creditmemo.php b/app/code/Magento/Sales/Block/Order/PrintOrder/Creditmemo.php index 36488a7e066c0..ac1f63ed0b751 100644 --- a/app/code/Magento/Sales/Block/Order/PrintOrder/Creditmemo.php +++ b/app/code/Magento/Sales/Block/Order/PrintOrder/Creditmemo.php @@ -9,6 +9,8 @@ /** * Sales order details block + * + * @api */ class Creditmemo extends \Magento\Sales\Block\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Order/PrintOrder/Invoice.php b/app/code/Magento/Sales/Block/Order/PrintOrder/Invoice.php index b1fde6af9f2b7..dcd3dbf3e7eeb 100644 --- a/app/code/Magento/Sales/Block/Order/PrintOrder/Invoice.php +++ b/app/code/Magento/Sales/Block/Order/PrintOrder/Invoice.php @@ -9,6 +9,8 @@ /** * Sales order details block + * + * @api */ class Invoice extends \Magento\Sales\Block\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Order/PrintOrder/Shipment.php b/app/code/Magento/Sales/Block/Order/PrintOrder/Shipment.php index 269128f5286d4..6e375a5510253 100644 --- a/app/code/Magento/Sales/Block/Order/PrintOrder/Shipment.php +++ b/app/code/Magento/Sales/Block/Order/PrintOrder/Shipment.php @@ -9,6 +9,8 @@ /** * Sales order details block + * + * @api */ class Shipment extends \Magento\Sales\Block\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Order/PrintShipment.php b/app/code/Magento/Sales/Block/Order/PrintShipment.php index c2d3214516981..9e7fbf6c0a897 100644 --- a/app/code/Magento/Sales/Block/Order/PrintShipment.php +++ b/app/code/Magento/Sales/Block/Order/PrintShipment.php @@ -10,6 +10,7 @@ /** * Order information for print * + * @api */ class PrintShipment extends \Magento\Sales\Block\Items\AbstractItems { diff --git a/app/code/Magento/Sales/Block/Order/Recent.php b/app/code/Magento/Sales/Block/Order/Recent.php index f486e660fe52a..3946cc3b0ec71 100644 --- a/app/code/Magento/Sales/Block/Order/Recent.php +++ b/app/code/Magento/Sales/Block/Order/Recent.php @@ -7,6 +7,8 @@ /** * Sales order history block + * + * @api */ class Recent extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Order/Totals.php b/app/code/Magento/Sales/Block/Order/Totals.php index 74695593d13a7..3f5ec82aec962 100644 --- a/app/code/Magento/Sales/Block/Order/Totals.php +++ b/app/code/Magento/Sales/Block/Order/Totals.php @@ -7,6 +7,9 @@ use Magento\Sales\Model\Order; +/** + * @api + */ class Totals extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Sales/Block/Order/View.php b/app/code/Magento/Sales/Block/Order/View.php index 63177a974db32..f63de0a394350 100644 --- a/app/code/Magento/Sales/Block/Order/View.php +++ b/app/code/Magento/Sales/Block/Order/View.php @@ -9,6 +9,8 @@ /** * Sales order view block + * + * @api */ class View extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Reorder/Sidebar.php b/app/code/Magento/Sales/Block/Reorder/Sidebar.php index 342cd81d19fe2..b2313fbe7fd6c 100644 --- a/app/code/Magento/Sales/Block/Reorder/Sidebar.php +++ b/app/code/Magento/Sales/Block/Reorder/Sidebar.php @@ -9,6 +9,8 @@ /** * Last ordered items sidebar + * + * @api */ class Sidebar extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Sales/Block/Status/Grid/Column/State.php b/app/code/Magento/Sales/Block/Status/Grid/Column/State.php index a5765fcb2ad7f..695775febc1a8 100644 --- a/app/code/Magento/Sales/Block/Status/Grid/Column/State.php +++ b/app/code/Magento/Sales/Block/Status/Grid/Column/State.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Status\Grid\Column; +/** + * @api + */ class State extends \Magento\Backend\Block\Widget\Grid\Column { /** diff --git a/app/code/Magento/Sales/Block/Status/Grid/Column/Unassign.php b/app/code/Magento/Sales/Block/Status/Grid/Column/Unassign.php index 10923db10563a..a272494e1ff9e 100644 --- a/app/code/Magento/Sales/Block/Status/Grid/Column/Unassign.php +++ b/app/code/Magento/Sales/Block/Status/Grid/Column/Unassign.php @@ -5,6 +5,9 @@ */ namespace Magento\Sales\Block\Status\Grid\Column; +/** + * @api + */ class Unassign extends \Magento\Backend\Block\Widget\Grid\Column { /** diff --git a/app/code/Magento/Sales/Block/Widget/Guest/Form.php b/app/code/Magento/Sales/Block/Widget/Guest/Form.php index 08678f28092e8..6ef1ed913b7ae 100644 --- a/app/code/Magento/Sales/Block/Widget/Guest/Form.php +++ b/app/code/Magento/Sales/Block/Widget/Guest/Form.php @@ -11,6 +11,9 @@ use Magento\Customer\Model\Context; +/** + * @api + */ class Form extends \Magento\Framework\View\Element\Template implements \Magento\Widget\Block\BlockInterface { /** diff --git a/app/code/Magento/Sales/Model/AbstractModel.php b/app/code/Magento/Sales/Model/AbstractModel.php index 9c0fa695a0872..7f9153fe78e1c 100644 --- a/app/code/Magento/Sales/Model/AbstractModel.php +++ b/app/code/Magento/Sales/Model/AbstractModel.php @@ -12,6 +12,7 @@ * Sales abstract model * Provide date processing functionality * + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ abstract class AbstractModel extends AbstractExtensibleModel diff --git a/app/code/Magento/Sales/Model/AdminOrder/Create.php b/app/code/Magento/Sales/Model/AdminOrder/Create.php index 75e209821da4c..ef70f6f46a032 100644 --- a/app/code/Magento/Sales/Model/AdminOrder/Create.php +++ b/app/code/Magento/Sales/Model/AdminOrder/Create.php @@ -14,6 +14,7 @@ /** * Order create model + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Sales/Model/Order.php b/app/code/Magento/Sales/Model/Order.php index e792a0fa46a8a..658c9fb1fcb2b 100644 --- a/app/code/Magento/Sales/Model/Order.php +++ b/app/code/Magento/Sales/Model/Order.php @@ -30,6 +30,7 @@ * sales_order_delete_before * sales_order_delete_after * + * @api * @method \Magento\Sales\Model\ResourceModel\Order _getResource() * @method \Magento\Sales\Model\ResourceModel\Order getResource() * @method int getGiftMessageId() diff --git a/app/code/Magento/Sales/Model/Order/Address.php b/app/code/Magento/Sales/Model/Order/Address.php index 7167764786abb..074188a37a2fc 100644 --- a/app/code/Magento/Sales/Model/Order/Address.php +++ b/app/code/Magento/Sales/Model/Order/Address.php @@ -12,6 +12,7 @@ /** * Sales order address model * + * @api * @method \Magento\Sales\Model\ResourceModel\Order\Address _getResource() * @method \Magento\Sales\Model\ResourceModel\Order\Address getResource() * @method \Magento\Customer\Api\Data\AddressInterface getCustomerAddressData() diff --git a/app/code/Magento/Sales/Model/Order/Config.php b/app/code/Magento/Sales/Model/Order/Config.php index 18327920d897d..d9e5575724c43 100644 --- a/app/code/Magento/Sales/Model/Order/Config.php +++ b/app/code/Magento/Sales/Model/Order/Config.php @@ -7,6 +7,7 @@ /** * Order configuration model + * * @api */ class Config diff --git a/app/code/Magento/Sales/Model/Order/Creditmemo.php b/app/code/Magento/Sales/Model/Order/Creditmemo.php index 4338f66dab932..e276eccb85b5a 100644 --- a/app/code/Magento/Sales/Model/Order/Creditmemo.php +++ b/app/code/Magento/Sales/Model/Order/Creditmemo.php @@ -17,6 +17,7 @@ /** * Order creditmemo model * + * @api * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo _getResource() * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo getResource() * @method \Magento\Sales\Model\Order\Invoice setSendEmail(bool $value) diff --git a/app/code/Magento/Sales/Model/Order/Creditmemo/Comment.php b/app/code/Magento/Sales/Model/Order/Creditmemo/Comment.php index 2d7ad7347e087..8920208b3c944 100644 --- a/app/code/Magento/Sales/Model/Order/Creditmemo/Comment.php +++ b/app/code/Magento/Sales/Model/Order/Creditmemo/Comment.php @@ -10,6 +10,7 @@ use Magento\Sales\Model\AbstractModel; /** + * @api * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo\Comment _getResource() * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo\Comment getResource() */ diff --git a/app/code/Magento/Sales/Model/Order/Creditmemo/Config.php b/app/code/Magento/Sales/Model/Order/Creditmemo/Config.php index 296c6149c7e5b..6d070c4691251 100644 --- a/app/code/Magento/Sales/Model/Order/Creditmemo/Config.php +++ b/app/code/Magento/Sales/Model/Order/Creditmemo/Config.php @@ -7,6 +7,9 @@ */ namespace Magento\Sales\Model\Order\Creditmemo; +/** + * @api + */ class Config extends \Magento\Sales\Model\Order\Total\Config\Base { /** diff --git a/app/code/Magento/Sales/Model/Order/Creditmemo/Item.php b/app/code/Magento/Sales/Model/Order/Creditmemo/Item.php index 087da7b265122..edfe585cbf019 100644 --- a/app/code/Magento/Sales/Model/Order/Creditmemo/Item.php +++ b/app/code/Magento/Sales/Model/Order/Creditmemo/Item.php @@ -10,6 +10,7 @@ use Magento\Sales\Model\AbstractModel; /** + * @api * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo\Item _getResource() * @method \Magento\Sales\Model\ResourceModel\Order\Creditmemo\Item getResource() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Sales/Model/Order/Invoice.php b/app/code/Magento/Sales/Model/Order/Invoice.php index 5521b58e1530d..8b9fb91513250 100644 --- a/app/code/Magento/Sales/Model/Order/Invoice.php +++ b/app/code/Magento/Sales/Model/Order/Invoice.php @@ -11,6 +11,7 @@ use Magento\Sales\Model\EntityInterface; /** + * @api * @method \Magento\Sales\Model\Order\Invoice setSendEmail(bool $value) * @method \Magento\Sales\Model\Order\Invoice setCustomerNote(string $value) * @method string getCustomerNote() diff --git a/app/code/Magento/Sales/Model/Order/Invoice/Config.php b/app/code/Magento/Sales/Model/Order/Invoice/Config.php index 2d90dfc453f30..be7e252ed9e26 100644 --- a/app/code/Magento/Sales/Model/Order/Invoice/Config.php +++ b/app/code/Magento/Sales/Model/Order/Invoice/Config.php @@ -7,6 +7,8 @@ /** * Order invoice configuration model + * + * @api */ class Config extends \Magento\Sales\Model\Order\Total\Config\Base { diff --git a/app/code/Magento/Sales/Model/Order/Invoice/Item.php b/app/code/Magento/Sales/Model/Order/Invoice/Item.php index bf459e700b23b..3d78405e9a5b4 100644 --- a/app/code/Magento/Sales/Model/Order/Invoice/Item.php +++ b/app/code/Magento/Sales/Model/Order/Invoice/Item.php @@ -10,6 +10,7 @@ use Magento\Sales\Model\AbstractModel; /** + * @api * @method \Magento\Sales\Model\ResourceModel\Order\Invoice\Item _getResource() * @method \Magento\Sales\Model\ResourceModel\Order\Invoice\Item getResource() * @method float getBaseWeeeTaxRowDisposition() diff --git a/app/code/Magento/Sales/Model/Order/InvoiceNotifierInterface.php b/app/code/Magento/Sales/Model/Order/InvoiceNotifierInterface.php deleted file mode 100644 index da63301ab0c9f..0000000000000 --- a/app/code/Magento/Sales/Model/Order/InvoiceNotifierInterface.php +++ /dev/null @@ -1,31 +0,0 @@ - */ class Collection extends AbstractCollection implements OrderSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Comment/Collection/AbstractCollection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Comment/Collection/AbstractCollection.php index a2b496ca83121..152e3ef68537b 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Comment/Collection/AbstractCollection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Comment/Collection/AbstractCollection.php @@ -8,6 +8,7 @@ /** * Flat sales order abstract comments collection, used as parent for: invoice, shipment, creditmemo * + * @api * @author Magento Core Team */ abstract class AbstractCollection extends \Magento\Sales\Model\ResourceModel\Collection\AbstractCollection diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Collection.php index cd5dc376d74fc..b6c9640cb4fa9 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order creditmemo collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements CreditmemoSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Comment/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Comment/Collection.php index 8d0c2a19c3f72..dc0813557379f 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Comment/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Comment/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order creditmemo comments collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements CreditmemoCommentSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Collection.php index a1a32c2ae8d69..4edcfc50d079b 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order invoice collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements InvoiceSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Comment/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Comment/Collection.php index c541b535261ac..0cd30fce7495a 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Comment/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Comment/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order invoice comment collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements InvoiceCommentSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Item/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Item/Collection.php index 5c1a127df407f..0bf3553967746 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Item/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Item/Collection.php @@ -8,6 +8,7 @@ /** * Flat sales order invoice item collection * + * @api * @author Magento Core Team */ class Collection extends \Magento\Sales\Model\ResourceModel\Collection\AbstractCollection diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Item/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Item/Collection.php index 952d783f79322..b4b35f8d74ee8 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Item/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Item/Collection.php @@ -10,6 +10,7 @@ /** * Flat sales order payment collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements \Magento\Sales\Api\Data\OrderItemSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Collection.php index d88c03e8113b0..8fcb625801533 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Collection.php @@ -11,6 +11,7 @@ /** * Sales order shipment collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements ShipmentSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Comment/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Comment/Collection.php index f3872f816c7ab..2bc877bdfa69e 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Comment/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Comment/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order shipment comments collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements ShipmentCommentSearchResultInterface diff --git a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Track/Collection.php b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Track/Collection.php index 0afe4aed6c7da..bed4297479270 100644 --- a/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Track/Collection.php +++ b/app/code/Magento/Sales/Model/ResourceModel/Order/Shipment/Track/Collection.php @@ -11,6 +11,7 @@ /** * Flat sales order shipment tracks collection * + * @api * @author Magento Core Team */ class Collection extends AbstractCollection implements ShipmentTrackSearchResultInterface diff --git a/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote.php b/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote.php index 48766ec6ab309..f0c5f7e6491c8 100644 --- a/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote.php +++ b/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote.php @@ -8,6 +8,7 @@ /** * Catalog price rules * + * @api * @author Magento Core Team */ class Quote extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Coupons/Grid.php b/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Coupons/Grid.php index deff222a38c33..b72603a46eb60 100644 --- a/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Coupons/Grid.php +++ b/app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Coupons/Grid.php @@ -11,7 +11,7 @@ /** * Coupon codes grid * - * @author Magento Core Team + * @api */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/SalesRule/Model/Rule/Action/Discount/Data.php b/app/code/Magento/SalesRule/Model/Rule/Action/Discount/Data.php index 0bd52b20d9666..a4c7b527aa6cb 100644 --- a/app/code/Magento/SalesRule/Model/Rule/Action/Discount/Data.php +++ b/app/code/Magento/SalesRule/Model/Rule/Action/Discount/Data.php @@ -5,6 +5,9 @@ */ namespace Magento\SalesRule\Model\Rule\Action\Discount; +/** + * @api + */ class Data { /** diff --git a/app/code/Magento/Search/Block/Adminhtml/Dashboard/Last.php b/app/code/Magento/Search/Block/Adminhtml/Dashboard/Last.php index aca2253b7a2ae..75da2f7995bd1 100644 --- a/app/code/Magento/Search/Block/Adminhtml/Dashboard/Last.php +++ b/app/code/Magento/Search/Block/Adminhtml/Dashboard/Last.php @@ -7,6 +7,7 @@ /** * Dashboard last search keywords block + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Last extends \Magento\Backend\Block\Dashboard\Grid diff --git a/app/code/Magento/Search/Block/Adminhtml/Dashboard/Top.php b/app/code/Magento/Search/Block/Adminhtml/Dashboard/Top.php index 1ef38fb4ddecb..d95973e044c69 100644 --- a/app/code/Magento/Search/Block/Adminhtml/Dashboard/Top.php +++ b/app/code/Magento/Search/Block/Adminhtml/Dashboard/Top.php @@ -7,6 +7,7 @@ /** * Dashboard last search keywords block + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Top extends \Magento\Backend\Block\Dashboard\Grid diff --git a/app/code/Magento/Search/Block/Adminhtml/Reports/Search.php b/app/code/Magento/Search/Block/Adminhtml/Reports/Search.php index 6f1ddb32d373d..76a77fd628870 100644 --- a/app/code/Magento/Search/Block/Adminhtml/Reports/Search.php +++ b/app/code/Magento/Search/Block/Adminhtml/Reports/Search.php @@ -8,6 +8,7 @@ /** * Adminhtml search report page content block * + * @api */ class Search extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Search/Block/Adminhtml/Term.php b/app/code/Magento/Search/Block/Adminhtml/Term.php index 9da5a51a9717a..4a535eac4de2a 100644 --- a/app/code/Magento/Search/Block/Adminhtml/Term.php +++ b/app/code/Magento/Search/Block/Adminhtml/Term.php @@ -5,6 +5,9 @@ */ namespace Magento\Search\Block\Adminhtml; +/** + * @api + */ class Term extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Search/Block/Adminhtml/Term/Edit.php b/app/code/Magento/Search/Block/Adminhtml/Term/Edit.php index c2f67ec72802c..2a61285c2bfcb 100644 --- a/app/code/Magento/Search/Block/Adminhtml/Term/Edit.php +++ b/app/code/Magento/Search/Block/Adminhtml/Term/Edit.php @@ -7,6 +7,8 @@ /** * Admin term edit block + * + * @api */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Search/Block/Term.php b/app/code/Magento/Search/Block/Term.php index a99b28246b71d..73fbcd0f32a86 100644 --- a/app/code/Magento/Search/Block/Term.php +++ b/app/code/Magento/Search/Block/Term.php @@ -15,6 +15,9 @@ use Magento\Framework\View\Element\Template\Context; use Magento\Search\Model\ResourceModel\Query\CollectionFactory; +/** + * @api + */ class Term extends Template { /** diff --git a/app/code/Magento/Security/Block/Adminhtml/Session/Activity.php b/app/code/Magento/Security/Block/Adminhtml/Session/Activity.php index 3a1f1058dbc5f..5672696af5044 100644 --- a/app/code/Magento/Security/Block/Adminhtml/Session/Activity.php +++ b/app/code/Magento/Security/Block/Adminhtml/Session/Activity.php @@ -10,6 +10,8 @@ /** * Block Session Activity + * + * @api */ class Activity extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/SendFriend/Block/Send.php b/app/code/Magento/SendFriend/Block/Send.php index 6c5614b8f8eb7..f1abe40e0c299 100644 --- a/app/code/Magento/SendFriend/Block/Send.php +++ b/app/code/Magento/SendFriend/Block/Send.php @@ -10,6 +10,7 @@ /** * Email to a Friend Block * + * @api * @author Magento Core Team */ class Send extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Create.php b/app/code/Magento/Shipping/Block/Adminhtml/Create.php index 81ff6aeeb26ef..afee09169bdd7 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Create.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Create.php @@ -7,6 +7,8 @@ /** * Adminhtml shipment create + * + * @api */ class Create extends \Magento\Backend\Block\Widget\Form\Container { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Create/Form.php b/app/code/Magento/Shipping/Block/Adminhtml/Create/Form.php index 05079ecc42ceb..12dbf9b090d0a 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Create/Form.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Create/Form.php @@ -7,6 +7,8 @@ /** * Adminhtml shipment create form + * + * @api */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Create/Items.php b/app/code/Magento/Shipping/Block/Adminhtml/Create/Items.php index 31c91005ca01d..099bb60bb771b 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Create/Items.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Create/Items.php @@ -7,6 +7,8 @@ /** * Adminhtml shipment items grid + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Order/Packaging.php b/app/code/Magento/Shipping/Block/Adminhtml/Order/Packaging.php index 67f6d3cdeb858..d00a28f187c2c 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Order/Packaging.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Order/Packaging.php @@ -7,6 +7,8 @@ /** * Adminhtml shipment packaging + * + * @api */ class Packaging extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking.php b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking.php index 1bd00ca013ef6..a5ab75669b9a4 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking.php @@ -8,6 +8,7 @@ /** * Shipment tracking control form * + * @api */ class Tracking extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/Invoice.php b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/Invoice.php index 1fd0f4ab3e42a..64178adf2f6ca 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/Invoice.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/Invoice.php @@ -9,6 +9,9 @@ */ namespace Magento\Shipping\Block\Adminhtml\Order\Tracking; +/** + * @api + */ class Invoice extends \Magento\Shipping\Block\Adminhtml\Order\Tracking { /** diff --git a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/View.php b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/View.php index d6e423f8bf54b..e0c32dda37bc5 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/View.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/Order/Tracking/View.php @@ -8,6 +8,7 @@ /** * Shipment tracking control form * + * @api */ class View extends \Magento\Shipping\Block\Adminhtml\Order\Tracking { diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View.php b/app/code/Magento/Shipping/Block/Adminhtml/View.php index cad6f1f4be713..4f8dbb2ffb0b8 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View.php @@ -8,6 +8,7 @@ /** * Adminhtml shipment create * + * @api * @author Magento Core Team */ class View extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php b/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php index c718a6b55d7b9..d00e388c2a438 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php @@ -11,6 +11,9 @@ */ namespace Magento\Shipping\Block\Adminhtml\View; +/** + * @api + */ class Comments extends \Magento\Backend\Block\Text\ListText { /** diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php b/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php index d8d9a57901a38..976d828a5cc46 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php @@ -11,6 +11,9 @@ */ namespace Magento\Shipping\Block\Adminhtml\View; +/** + * @api + */ class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder { /** diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View/Items.php b/app/code/Magento/Shipping/Block/Adminhtml/View/Items.php index 2222cec2f4810..bdd382d496eed 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View/Items.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View/Items.php @@ -8,6 +8,8 @@ /** * Adminhtml sales item renderer + * + * @api */ class Items extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems { diff --git a/app/code/Magento/Shipping/Block/Items.php b/app/code/Magento/Shipping/Block/Items.php index 649c857be4dab..49c29a13de0d0 100644 --- a/app/code/Magento/Shipping/Block/Items.php +++ b/app/code/Magento/Shipping/Block/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Shipping\Block; +/** + * @api + */ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** diff --git a/app/code/Magento/Shipping/Block/Order/Shipment.php b/app/code/Magento/Shipping/Block/Order/Shipment.php index ee21fc1351b45..564009eca5b44 100644 --- a/app/code/Magento/Shipping/Block/Order/Shipment.php +++ b/app/code/Magento/Shipping/Block/Order/Shipment.php @@ -9,6 +9,8 @@ /** * Sales order view block + * + * @api */ class Shipment extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Shipping/Block/Tracking/Link.php b/app/code/Magento/Shipping/Block/Tracking/Link.php index 3890bb854fc51..9f2e19853d45b 100644 --- a/app/code/Magento/Shipping/Block/Tracking/Link.php +++ b/app/code/Magento/Shipping/Block/Tracking/Link.php @@ -7,6 +7,8 @@ /** * Tracking info link + * + * @api */ class Link extends \Magento\Framework\View\Element\Html\Link { diff --git a/app/code/Magento/Shipping/Block/Tracking/Popup.php b/app/code/Magento/Shipping/Block/Tracking/Popup.php index ebb4dcb7c1174..74c4e52d93093 100644 --- a/app/code/Magento/Shipping/Block/Tracking/Popup.php +++ b/app/code/Magento/Shipping/Block/Tracking/Popup.php @@ -10,6 +10,9 @@ use Magento\Framework\Stdlib\DateTime\DateTimeFormatterInterface; +/** + * @api + */ class Popup extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Shipping/Model/Carrier/AbstractCarrierOnline.php b/app/code/Magento/Shipping/Model/Carrier/AbstractCarrierOnline.php index f8f545fafe9f5..7bd27b6d2839f 100644 --- a/app/code/Magento/Shipping/Model/Carrier/AbstractCarrierOnline.php +++ b/app/code/Magento/Shipping/Model/Carrier/AbstractCarrierOnline.php @@ -13,6 +13,8 @@ /** * Abstract online shipping carrier model + * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ abstract class AbstractCarrierOnline extends AbstractCarrier diff --git a/app/code/Magento/Sitemap/Block/Adminhtml/Sitemap.php b/app/code/Magento/Sitemap/Block/Adminhtml/Sitemap.php index 9221a3e99dc2c..56115f91af4ed 100644 --- a/app/code/Magento/Sitemap/Block/Adminhtml/Sitemap.php +++ b/app/code/Magento/Sitemap/Block/Adminhtml/Sitemap.php @@ -7,6 +7,8 @@ /** * Adminhtml catalog (google) sitemaps block + * + * @api */ class Sitemap extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Store/Block/Switcher.php b/app/code/Magento/Store/Block/Switcher.php index ffb8dfe4371f1..cdd660d831bff 100644 --- a/app/code/Magento/Store/Block/Switcher.php +++ b/app/code/Magento/Store/Block/Switcher.php @@ -12,6 +12,9 @@ use Magento\Directory\Helper\Data; use Magento\Store\Model\Group; +/** + * @api + */ class Switcher extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Store/Model/Group.php b/app/code/Magento/Store/Model/Group.php index 6a9906d20fe64..b5e9c48752d58 100644 --- a/app/code/Magento/Store/Model/Group.php +++ b/app/code/Magento/Store/Model/Group.php @@ -15,6 +15,7 @@ /** * Class Group * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Group extends \Magento\Framework\Model\AbstractExtensibleModel implements diff --git a/app/code/Magento/Store/Model/ResourceModel/Group/Collection.php b/app/code/Magento/Store/Model/ResourceModel/Group/Collection.php index b2e237874d9e0..9d36f672e21ae 100644 --- a/app/code/Magento/Store/Model/ResourceModel/Group/Collection.php +++ b/app/code/Magento/Store/Model/ResourceModel/Group/Collection.php @@ -7,6 +7,8 @@ /** * Store group collection + * + * @api */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/Store/Model/ResourceModel/Store/Collection.php b/app/code/Magento/Store/Model/ResourceModel/Store/Collection.php index 36463cd6c7863..2ea2dc6704863 100644 --- a/app/code/Magento/Store/Model/ResourceModel/Store/Collection.php +++ b/app/code/Magento/Store/Model/ResourceModel/Store/Collection.php @@ -7,6 +7,8 @@ /** * Stores collection + * + * @api */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/Store/Model/ResourceModel/Website/Collection.php b/app/code/Magento/Store/Model/ResourceModel/Website/Collection.php index d97e88c65e302..19d27e1b498c6 100644 --- a/app/code/Magento/Store/Model/ResourceModel/Website/Collection.php +++ b/app/code/Magento/Store/Model/ResourceModel/Website/Collection.php @@ -7,6 +7,8 @@ /** * Websites collection + * + * @api */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/Store/Model/Store.php b/app/code/Magento/Store/Model/Store.php index 5b7e3c7d2d872..19755e30efa05 100644 --- a/app/code/Magento/Store/Model/Store.php +++ b/app/code/Magento/Store/Model/Store.php @@ -22,6 +22,7 @@ /** * Store model * + * @api * @method Store setGroupId($value) * @method int getSortOrder() * @method int getStoreId() diff --git a/app/code/Magento/Store/Model/Website.php b/app/code/Magento/Store/Model/Website.php index 0f8e010a549a4..77b0e68c5d61d 100644 --- a/app/code/Magento/Store/Model/Website.php +++ b/app/code/Magento/Store/Model/Website.php @@ -8,6 +8,7 @@ /** * Core Website model * + * @api * @method \Magento\Store\Model\ResourceModel\Website _getResource() * @method \Magento\Store\Model\ResourceModel\Website getResource() * @method string getGroupTitle() diff --git a/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Text.php b/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Text.php index 75e19b9156dcf..f44fe8ff5a7e3 100644 --- a/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Text.php +++ b/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Text.php @@ -7,6 +7,7 @@ /** * Block Class for Text Swatch + * * @api */ class Text extends AbstractSwatch diff --git a/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php b/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php index 150b07171b2d2..bb4315bb35aaa 100644 --- a/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php +++ b/app/code/Magento/Swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php @@ -7,6 +7,7 @@ /** * Block Class for Visual Swatch + * * @api */ class Visual extends AbstractSwatch diff --git a/app/code/Magento/Swatches/Block/Product/Renderer/Configurable.php b/app/code/Magento/Swatches/Block/Product/Renderer/Configurable.php index 3a3cf4ddc0c29..414f1a42bd958 100644 --- a/app/code/Magento/Swatches/Block/Product/Renderer/Configurable.php +++ b/app/code/Magento/Swatches/Block/Product/Renderer/Configurable.php @@ -23,6 +23,7 @@ /** * Swatch renderer block + * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/app/code/Magento/Swatches/Block/Product/Renderer/Listing/Configurable.php b/app/code/Magento/Swatches/Block/Product/Renderer/Listing/Configurable.php index ae226b5a44207..d03682938c0e1 100644 --- a/app/code/Magento/Swatches/Block/Product/Renderer/Listing/Configurable.php +++ b/app/code/Magento/Swatches/Block/Product/Renderer/Listing/Configurable.php @@ -7,6 +7,7 @@ /** * Swatch renderer block in Category page + * * @api */ class Configurable extends \Magento\Swatches\Block\Product\Renderer\Configurable diff --git a/app/code/Magento/Tax/Block/Adminhtml/Items/Price/Renderer.php b/app/code/Magento/Tax/Block/Adminhtml/Items/Price/Renderer.php index 60774a5956077..414176a5e9ed2 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Items/Price/Renderer.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Items/Price/Renderer.php @@ -14,6 +14,8 @@ /** * Sales Order items price column renderer + * + * @api */ class Renderer extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php b/app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php index a7c5afb3510ce..0057ef02e7899 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php @@ -17,6 +17,7 @@ use Magento\Tax\Controller\RegistryConstants; /** + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Form extends \Magento\Backend\Block\Widget\Form\Generic diff --git a/app/code/Magento/Tax/Block/Adminhtml/Rate/Toolbar/Add.php b/app/code/Magento/Tax/Block/Adminhtml/Rate/Toolbar/Add.php index 5bd80877c13ba..faf39fe441e31 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Rate/Toolbar/Add.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Rate/Toolbar/Add.php @@ -13,6 +13,9 @@ use Magento\Framework\View\Element\Template; +/** + * @api + */ class Add extends \Magento\Backend\Block\Template implements \Magento\Backend\Block\Widget\ContainerInterface { /** diff --git a/app/code/Magento/Tax/Block/Adminhtml/Rule.php b/app/code/Magento/Tax/Block/Adminhtml/Rule.php index e54b29c850191..67447b8617b22 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Rule.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Rule.php @@ -11,6 +11,9 @@ */ namespace Magento\Tax\Block\Adminhtml; +/** + * @api + */ class Rule extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit.php b/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit.php index 7ac7b7ba6e9c0..90655c3c5279b 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit.php @@ -9,6 +9,9 @@ */ namespace Magento\Tax\Block\Adminhtml\Rule; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit/Form.php b/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit/Form.php index 4897617eb16f3..97b8bfa3ece65 100644 --- a/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit/Form.php +++ b/app/code/Magento/Tax/Block/Adminhtml/Rule/Edit/Form.php @@ -11,6 +11,9 @@ use Magento\Tax\Api\TaxClassManagementInterface; +/** + * @api + */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/Tax/Block/Item/Price/Renderer.php b/app/code/Magento/Tax/Block/Item/Price/Renderer.php index 589517544432f..5aa1d3215c333 100644 --- a/app/code/Magento/Tax/Block/Item/Price/Renderer.php +++ b/app/code/Magento/Tax/Block/Item/Price/Renderer.php @@ -17,6 +17,7 @@ /** * Item price render block * + * @api * @author Magento Core Team */ class Renderer extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Tax/Block/Sales/Order/Tax.php b/app/code/Magento/Tax/Block/Sales/Order/Tax.php index 086451eed085b..8b08064dc7e9b 100644 --- a/app/code/Magento/Tax/Block/Sales/Order/Tax.php +++ b/app/code/Magento/Tax/Block/Sales/Order/Tax.php @@ -11,6 +11,9 @@ use Magento\Sales\Model\Order; +/** + * @api + */ class Tax extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/TaxImportExport/Block/Adminhtml/Rate/ImportExport.php b/app/code/Magento/TaxImportExport/Block/Adminhtml/Rate/ImportExport.php index b72b3d4941c54..bb30c8eafb38f 100644 --- a/app/code/Magento/TaxImportExport/Block/Adminhtml/Rate/ImportExport.php +++ b/app/code/Magento/TaxImportExport/Block/Adminhtml/Rate/ImportExport.php @@ -5,6 +5,9 @@ */ namespace Magento\TaxImportExport\Block\Adminhtml\Rate; +/** + * @api + */ class ImportExport extends \Magento\Backend\Block\Widget { /** diff --git a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme.php b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme.php index 16f6021e30325..437959b265fad 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme.php +++ b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme.php @@ -7,6 +7,8 @@ /** * Container for theme grid + * + * @api */ class Theme extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit.php b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit.php index 0a277783bbcff..e9cfc0faba380 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit.php +++ b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit.php @@ -9,6 +9,9 @@ */ namespace Magento\Theme\Block\Adminhtml\System\Design\Theme; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Css.php b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Css.php index 449bb5cb704be..5934919d90f31 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Css.php +++ b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Css.php @@ -10,6 +10,7 @@ /** * Theme form, Css editor tab * + * @api * @method \Magento\Theme\Block\Adminhtml\System\Design\Theme\Edit\Tab\Css setFiles(array $files) * @method array getFiles() * diff --git a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Js.php b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Js.php index b464fb178169b..9989d3cdc3a26 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Js.php +++ b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tab/Js.php @@ -8,6 +8,7 @@ /** * Theme form, Js editor tab * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Js extends \Magento\Theme\Block\Adminhtml\System\Design\Theme\Edit\AbstractTab diff --git a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tabs.php b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tabs.php index 0d24dc9bc0a7d..e03df1e10e8b7 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tabs.php +++ b/app/code/Magento/Theme/Block/Adminhtml/System/Design/Theme/Edit/Tabs.php @@ -7,6 +7,8 @@ /** * Theme editor tab container + * + * @api */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { diff --git a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content.php b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content.php index 7f26c166b06fb..9cd317b2048e7 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content.php +++ b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content.php @@ -8,6 +8,7 @@ /** * Files content block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Content extends \Magento\Backend\Block\Widget\Container diff --git a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Files.php b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Files.php index e11cf506977c9..92f282852faf4 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Files.php +++ b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Files.php @@ -3,16 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content; /** * Files files block * + * @api * @method * \Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content\Files setStorage(\Magento\Theme\Model\Wysiwyg\Storage $storage) * @method \Magento\Theme\Model\Wysiwyg\Storage getStorage() */ -namespace Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content; - class Files extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Uploader.php b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Uploader.php index 813b414e8fdda..8439d5d67d9bb 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Uploader.php +++ b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Content/Uploader.php @@ -8,6 +8,7 @@ /** * Files uploader block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Uploader extends \Magento\Backend\Block\Media\Uploader diff --git a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Tree.php b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Tree.php index 3f83f192cb689..54a83f1d5c55e 100644 --- a/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Tree.php +++ b/app/code/Magento/Theme/Block/Adminhtml/Wysiwyg/Files/Tree.php @@ -8,6 +8,7 @@ /** * Files tree block * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Tree extends \Magento\Backend\Block\Template diff --git a/app/code/Magento/Theme/Helper/Storage.php b/app/code/Magento/Theme/Helper/Storage.php index 4cc76af093eb2..1f57cdf88880c 100644 --- a/app/code/Magento/Theme/Helper/Storage.php +++ b/app/code/Magento/Theme/Helper/Storage.php @@ -11,6 +11,9 @@ use Magento\Framework\App\Filesystem\DirectoryList; +/** + * @api + */ class Storage extends \Magento\Framework\App\Helper\AbstractHelper { /** diff --git a/app/code/Magento/Translation/Block/Html/Head/Config.php b/app/code/Magento/Translation/Block/Html/Head/Config.php index 4001929191072..b4ee0409065b4 100644 --- a/app/code/Magento/Translation/Block/Html/Head/Config.php +++ b/app/code/Magento/Translation/Block/Html/Head/Config.php @@ -11,6 +11,8 @@ /** * Block responsible for including Inline Translation config on the page + * + * @api */ class Config extends \Magento\Framework\View\Element\AbstractBlock { diff --git a/app/code/Magento/Translation/Block/Js.php b/app/code/Magento/Translation/Block/Js.php index 69a1773375d04..316c136666cc0 100644 --- a/app/code/Magento/Translation/Block/Js.php +++ b/app/code/Magento/Translation/Block/Js.php @@ -9,6 +9,9 @@ use Magento\Framework\View\Element\Template; use Magento\Translation\Model\Js\Config; +/** + * @api + */ class Js extends Template { /** diff --git a/app/code/Magento/Ups/Block/Backend/System/CarrierConfig.php b/app/code/Magento/Ups/Block/Backend/System/CarrierConfig.php index 4f6d5a74ca651..e453db3e20dce 100644 --- a/app/code/Magento/Ups/Block/Backend/System/CarrierConfig.php +++ b/app/code/Magento/Ups/Block/Backend/System/CarrierConfig.php @@ -12,6 +12,8 @@ /** * Backend shipping UPS content block + * + * @api */ class CarrierConfig extends Template { diff --git a/app/code/Magento/Ups/Helper/Config.php b/app/code/Magento/Ups/Helper/Config.php index e39a78c04d545..e299abd80c65b 100644 --- a/app/code/Magento/Ups/Helper/Config.php +++ b/app/code/Magento/Ups/Helper/Config.php @@ -7,6 +7,8 @@ /** * Configuration data of carrier + * + * @api */ class Config { diff --git a/app/code/Magento/UrlRewrite/Block/GridContainer.php b/app/code/Magento/UrlRewrite/Block/GridContainer.php index fff04b5aa0f07..a0878c577c2be 100644 --- a/app/code/Magento/UrlRewrite/Block/GridContainer.php +++ b/app/code/Magento/UrlRewrite/Block/GridContainer.php @@ -5,6 +5,9 @@ */ namespace Magento\UrlRewrite\Block; +/** + * @api + */ class GridContainer extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/User/Block/Adminhtml/Locks.php b/app/code/Magento/User/Block/Adminhtml/Locks.php index 9474f65498744..343c1c4d11fc3 100644 --- a/app/code/Magento/User/Block/Adminhtml/Locks.php +++ b/app/code/Magento/User/Block/Adminhtml/Locks.php @@ -8,6 +8,8 @@ /** * Locked administrators page + * + * @api */ class Locks extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/User/Block/Buttons.php b/app/code/Magento/User/Block/Buttons.php index cc8a9f8c3318d..286e67f25cb55 100644 --- a/app/code/Magento/User/Block/Buttons.php +++ b/app/code/Magento/User/Block/Buttons.php @@ -5,6 +5,9 @@ */ namespace Magento\User\Block; +/** + * @api + */ class Buttons extends \Magento\Backend\Block\Template { /** diff --git a/app/code/Magento/User/Block/Role.php b/app/code/Magento/User/Block/Role.php index c2ad76189f76a..c61e79b3d80e3 100644 --- a/app/code/Magento/User/Block/Role.php +++ b/app/code/Magento/User/Block/Role.php @@ -8,6 +8,7 @@ /** * Magento_User role block * + * @api * @author Magento Core Team */ class Role extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/User/Block/Role/Edit.php b/app/code/Magento/User/Block/Role/Edit.php index 1e7d6e9b2c177..a4ea937d84c64 100644 --- a/app/code/Magento/User/Block/Role/Edit.php +++ b/app/code/Magento/User/Block/Role/Edit.php @@ -5,6 +5,9 @@ */ namespace Magento\User\Block\Role; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Tabs { /** diff --git a/app/code/Magento/User/Block/Role/Grid/User.php b/app/code/Magento/User/Block/Role/Grid/User.php index 324edf89a8d3d..ff4e6cfce35bf 100644 --- a/app/code/Magento/User/Block/Role/Grid/User.php +++ b/app/code/Magento/User/Block/Role/Grid/User.php @@ -9,6 +9,8 @@ /** * Acl role user grid. + * + * @api */ class User extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/User/Block/Role/Tab/Edit.php b/app/code/Magento/User/Block/Role/Tab/Edit.php index 59184f1d4e9f9..c90c0405b92b5 100644 --- a/app/code/Magento/User/Block/Role/Tab/Edit.php +++ b/app/code/Magento/User/Block/Role/Tab/Edit.php @@ -11,6 +11,7 @@ /** * Rolesedit Tab Display Block. * + * @api */ class Edit extends \Magento\Backend\Block\Widget\Form implements \Magento\Backend\Block\Widget\Tab\TabInterface { diff --git a/app/code/Magento/User/Block/User.php b/app/code/Magento/User/Block/User.php index 683998b056a9d..ce2f33812bee6 100644 --- a/app/code/Magento/User/Block/User.php +++ b/app/code/Magento/User/Block/User.php @@ -8,6 +8,7 @@ /** * User block * + * @api * @author Magento Core Team */ class User extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/User/Block/User/Edit.php b/app/code/Magento/User/Block/User/Edit.php index 9d391795e8e09..faf94b28b5966 100644 --- a/app/code/Magento/User/Block/User/Edit.php +++ b/app/code/Magento/User/Block/User/Edit.php @@ -9,6 +9,7 @@ /** * User edit page * + * @api * @author Magento Core Team */ class Edit extends \Magento\Backend\Block\Widget\Form\Container diff --git a/app/code/Magento/User/Block/User/Edit/Tab/Roles.php b/app/code/Magento/User/Block/User/Edit/Tab/Roles.php index d400867beb90c..38533f3f88596 100644 --- a/app/code/Magento/User/Block/User/Edit/Tab/Roles.php +++ b/app/code/Magento/User/Block/User/Edit/Tab/Roles.php @@ -7,6 +7,9 @@ use Magento\Backend\Block\Widget\Grid\Column; +/** + * @api + */ class Roles extends \Magento\Backend\Block\Widget\Grid\Extended { /** diff --git a/app/code/Magento/User/Block/User/Edit/Tabs.php b/app/code/Magento/User/Block/User/Edit/Tabs.php index eb1204065cf17..87139e5fb3be8 100644 --- a/app/code/Magento/User/Block/User/Edit/Tabs.php +++ b/app/code/Magento/User/Block/User/Edit/Tabs.php @@ -8,6 +8,7 @@ /** * User page left menu * + * @api * @author Magento Core Team */ class Tabs extends \Magento\Backend\Block\Widget\Tabs diff --git a/app/code/Magento/User/Model/User.php b/app/code/Magento/User/Model/User.php index 560e097605a12..dfa3dda5f9be1 100644 --- a/app/code/Magento/User/Model/User.php +++ b/app/code/Magento/User/Model/User.php @@ -17,6 +17,7 @@ /** * Admin user model * + * @api * @method \Magento\User\Model\ResourceModel\User _getResource() * @method \Magento\User\Model\ResourceModel\User getResource() * @method string getLogdate() diff --git a/app/code/Magento/Variable/Block/System/Variable/Edit/Form.php b/app/code/Magento/Variable/Block/System/Variable/Edit/Form.php index 26521f04c3442..a23eb3eec97b7 100644 --- a/app/code/Magento/Variable/Block/System/Variable/Edit/Form.php +++ b/app/code/Magento/Variable/Block/System/Variable/Edit/Form.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Variable\Block\System\Variable\Edit; /** * Custom Variable Edit Form * * @api */ -namespace Magento\Variable\Block\System\Variable\Edit; - class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/Variable/Model/Variable/Config.php b/app/code/Magento/Variable/Model/Variable/Config.php index d1904e19b7d56..2d921a994bdce 100644 --- a/app/code/Magento/Variable/Model/Variable/Config.php +++ b/app/code/Magento/Variable/Model/Variable/Config.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Variable\Model\Variable; /** * Variable Wysiwyg Plugin Config * * @api */ -namespace Magento\Variable\Model\Variable; - class Config { /** diff --git a/app/code/Magento/Vault/Block/Customer/AccountTokens.php b/app/code/Magento/Vault/Block/Customer/AccountTokens.php index dd662a56a395d..54ffd0921d62c 100644 --- a/app/code/Magento/Vault/Block/Customer/AccountTokens.php +++ b/app/code/Magento/Vault/Block/Customer/AccountTokens.php @@ -9,6 +9,8 @@ /** * Class AccountTokens + * + * @api */ class AccountTokens extends PaymentTokens { diff --git a/app/code/Magento/Vault/Block/Customer/CreditCards.php b/app/code/Magento/Vault/Block/Customer/CreditCards.php index 6346462179ccb..3a61ede633c92 100644 --- a/app/code/Magento/Vault/Block/Customer/CreditCards.php +++ b/app/code/Magento/Vault/Block/Customer/CreditCards.php @@ -9,6 +9,8 @@ /** * Class CreditCards + * + * @api */ class CreditCards extends PaymentTokens { diff --git a/app/code/Magento/Weee/Block/Adminhtml/Items/Price/Renderer.php b/app/code/Magento/Weee/Block/Adminhtml/Items/Price/Renderer.php index 3ed6a203b4293..b0029ed82d2e6 100644 --- a/app/code/Magento/Weee/Block/Adminhtml/Items/Price/Renderer.php +++ b/app/code/Magento/Weee/Block/Adminhtml/Items/Price/Renderer.php @@ -13,6 +13,8 @@ /** * Sales Order items price column renderer + * + * @api */ class Renderer extends \Magento\Tax\Block\Adminhtml\Items\Price\Renderer { diff --git a/app/code/Magento/Weee/Block/Item/Price/Renderer.php b/app/code/Magento/Weee/Block/Item/Price/Renderer.php index fed7760d02576..ae6bcb8698d80 100755 --- a/app/code/Magento/Weee/Block/Item/Price/Renderer.php +++ b/app/code/Magento/Weee/Block/Item/Price/Renderer.php @@ -14,6 +14,7 @@ /** * Item price render block * + * @api * @author Magento Core Team */ class Renderer extends \Magento\Tax\Block\Item\Price\Renderer diff --git a/app/code/Magento/Weee/Block/Sales/Order/Totals.php b/app/code/Magento/Weee/Block/Sales/Order/Totals.php index 38ef940ac9de2..ef132839f1aee 100644 --- a/app/code/Magento/Weee/Block/Sales/Order/Totals.php +++ b/app/code/Magento/Weee/Block/Sales/Order/Totals.php @@ -5,6 +5,9 @@ */ namespace Magento\Weee\Block\Sales\Order; +/** + * @api + */ class Totals extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget.php b/app/code/Magento/Widget/Block/Adminhtml/Widget.php index dbeef76e2eb1b..115406f991066 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget.php @@ -5,14 +5,13 @@ */ // @codingStandardsIgnoreFile +namespace Magento\Widget\Block\Adminhtml; /** * WYSIWYG widget plugin main block * - * @author Magento Core Team + * @api */ -namespace Magento\Widget\Block\Adminhtml; - class Widget extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance.php index 0640c78801df7..fb25b7b72f15d 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance.php @@ -11,6 +11,9 @@ */ namespace Magento\Widget\Block\Adminhtml\Widget; +/** + * @api + */ class Instance extends \Magento\Backend\Block\Widget\Grid\Container { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit.php index 22dea490a3506..79612130f9381 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit.php @@ -11,6 +11,9 @@ */ namespace Magento\Widget\Block\Adminhtml\Widget\Instance; +/** + * @api + */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php index 62e939b97ad19..d0ac04812de8d 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php @@ -11,6 +11,9 @@ */ namespace Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab; +/** + * @api + */ class Main extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Properties.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Properties.php index 54b7241080204..9e47810df0843 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Properties.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Properties.php @@ -12,6 +12,7 @@ namespace Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab; /** + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Properties extends \Magento\Widget\Block\Adminhtml\Widget\Options implements diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Settings.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Settings.php index 0968e4d3e0614..8133047104375 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Settings.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Settings.php @@ -11,6 +11,9 @@ */ namespace Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab; +/** + * @api + */ class Settings extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Tab\TabInterface { diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tabs.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tabs.php index 1f33492cf9db4..2f2f447a59d1c 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tabs.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tabs.php @@ -11,6 +11,9 @@ */ namespace Magento\Widget\Block\Adminhtml\Widget\Instance\Edit; +/** + * @api + */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** diff --git a/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php b/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php index 00c5d7c1c56e4..eae84b7e2c349 100644 --- a/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php +++ b/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php @@ -3,14 +3,13 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Widget\Block\Adminhtml\Widget; /** * WYSIWYG widget options form * - * @author Magento Core Team + * @api */ -namespace Magento\Widget\Block\Adminhtml\Widget; - class Options extends \Magento\Backend\Block\Widget\Form\Generic { /** diff --git a/app/code/Magento/Widget/Model/Widget/Instance.php b/app/code/Magento/Widget/Model/Widget/Instance.php index 03cd58828f038..9bfc12510985b 100644 --- a/app/code/Magento/Widget/Model/Widget/Instance.php +++ b/app/code/Magento/Widget/Model/Widget/Instance.php @@ -12,6 +12,7 @@ /** * Widget Instance Model * + * @api * @method string getTitle() * @method \Magento\Widget\Model\Widget\Instance setTitle(string $value) * @method \Magento\Widget\Model\Widget\Instance setStoreIds(string $value) @@ -21,8 +22,6 @@ * @method \Magento\Widget\Model\Widget\Instance setThemeId(int $value) * @method int getThemeId() * - * @api - * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Instance extends \Magento\Framework\Model\AbstractModel diff --git a/app/code/Magento/Wishlist/Block/AddToWishlist.php b/app/code/Magento/Wishlist/Block/AddToWishlist.php index 046e210d5d92f..64e52d8bfe0a5 100644 --- a/app/code/Magento/Wishlist/Block/AddToWishlist.php +++ b/app/code/Magento/Wishlist/Block/AddToWishlist.php @@ -8,6 +8,8 @@ /** * Wishlist js plugin initialization block + * + * @api */ class AddToWishlist extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Wishlist/Block/Cart/Item/Renderer/Actions/MoveToWishlist.php b/app/code/Magento/Wishlist/Block/Cart/Item/Renderer/Actions/MoveToWishlist.php index e5f614664f091..1ec9a914e64dd 100644 --- a/app/code/Magento/Wishlist/Block/Cart/Item/Renderer/Actions/MoveToWishlist.php +++ b/app/code/Magento/Wishlist/Block/Cart/Item/Renderer/Actions/MoveToWishlist.php @@ -9,6 +9,9 @@ use Magento\Framework\View\Element\Template; use Magento\Wishlist\Helper\Data; +/** + * @api + */ class MoveToWishlist extends Generic { /** diff --git a/app/code/Magento/Wishlist/Block/Catalog/Product/ProductList/Item/AddTo/Wishlist.php b/app/code/Magento/Wishlist/Block/Catalog/Product/ProductList/Item/AddTo/Wishlist.php index 833eb800e4bbe..f33d0630966d9 100644 --- a/app/code/Magento/Wishlist/Block/Catalog/Product/ProductList/Item/AddTo/Wishlist.php +++ b/app/code/Magento/Wishlist/Block/Catalog/Product/ProductList/Item/AddTo/Wishlist.php @@ -7,6 +7,8 @@ /** * Add product to wishlist + * + * @api */ class Wishlist extends \Magento\Catalog\Block\Product\ProductList\Item\Block { diff --git a/app/code/Magento/Wishlist/Block/Catalog/Product/View/AddTo/Wishlist.php b/app/code/Magento/Wishlist/Block/Catalog/Product/View/AddTo/Wishlist.php index e6397e484dc5a..fb2b0fe812712 100644 --- a/app/code/Magento/Wishlist/Block/Catalog/Product/View/AddTo/Wishlist.php +++ b/app/code/Magento/Wishlist/Block/Catalog/Product/View/AddTo/Wishlist.php @@ -8,6 +8,8 @@ /** * Product view wishlist block + * + * @api */ class Wishlist extends \Magento\Catalog\Block\Product\View { diff --git a/app/code/Magento/Wishlist/Block/Customer/Sharing.php b/app/code/Magento/Wishlist/Block/Customer/Sharing.php index 81d6384d352ac..fa2696a68c186 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Sharing.php +++ b/app/code/Magento/Wishlist/Block/Customer/Sharing.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer; +/** + * @api + */ class Sharing extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Wishlist/Block/Customer/Sidebar.php b/app/code/Magento/Wishlist/Block/Customer/Sidebar.php index 5f2b928528147..611af07cd96d4 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Sidebar.php +++ b/app/code/Magento/Wishlist/Block/Customer/Sidebar.php @@ -12,6 +12,9 @@ use Magento\Catalog\Model\Product; use Magento\Framework\Pricing\Render; +/** + * @api + */ class Sidebar extends \Magento\Wishlist\Block\AbstractBlock { /** diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist.php index 2cd02515481d9..5f6dbc78c112a 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer; +/** + * @api + */ class Wishlist extends \Magento\Wishlist\Block\AbstractBlock { /** diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Button.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Button.php index 42d2a5747505b..e905465e44bf6 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Button.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Button.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist; +/** + * @api + */ class Button extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column.php index 268bfcb60eb52..7987285bda870 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column.php @@ -9,6 +9,7 @@ /** * Wishlist block customer item column * + * @api * @method \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface getItem() */ class Column extends \Magento\Wishlist\Block\AbstractBlock diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Actions.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Actions.php index fef4801b20356..45550e37f4c18 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Actions.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Actions.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Actions extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php index 8f923e0470f6c..ff366df31d204 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php @@ -8,6 +8,8 @@ /** * Wishlist block customer item cart column + * + * @api */ class Cart extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Comment.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Comment.php index 386e821234e15..6ccb3923460de 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Comment.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Comment.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Comment extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Edit.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Edit.php index 9053b30147440..884eb7922cdad 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Edit.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Edit.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Edit extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Image.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Image.php index 22a56ac832c75..8df1ba362e594 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Image.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Image.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Image extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Info.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Info.php index ba1211c6fa8da..fe758ce8ee972 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Info.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Info.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Info extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Remove.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Remove.php index 39691be7db857..8c1a69f7b072f 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Remove.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Remove.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column; +/** + * @api + */ class Remove extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column { } diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php index 358a60137f71b..1b076628ea269 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php @@ -9,6 +9,7 @@ /** * Wishlist block customer items * + * @api * @method \Magento\Wishlist\Model\Item getItem() */ class Options extends \Magento\Wishlist\Block\AbstractBlock diff --git a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Items.php b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Items.php index 062f7f1a8ba67..882057d4a273d 100644 --- a/app/code/Magento/Wishlist/Block/Customer/Wishlist/Items.php +++ b/app/code/Magento/Wishlist/Block/Customer/Wishlist/Items.php @@ -8,6 +8,8 @@ /** * Wishlist block customer items + * + * @api */ class Items extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Wishlist/Block/Item/Configure.php b/app/code/Magento/Wishlist/Block/Item/Configure.php index 7d40d0718e6fd..1a47bdfc5d087 100644 --- a/app/code/Magento/Wishlist/Block/Item/Configure.php +++ b/app/code/Magento/Wishlist/Block/Item/Configure.php @@ -12,6 +12,9 @@ */ namespace Magento\Wishlist\Block\Item; +/** + * @api + */ class Configure extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Wishlist/Block/Link.php b/app/code/Magento/Wishlist/Block/Link.php index fede84804732d..1fcfc418ec536 100644 --- a/app/code/Magento/Wishlist/Block/Link.php +++ b/app/code/Magento/Wishlist/Block/Link.php @@ -14,6 +14,7 @@ /** * Class Link * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Link extends \Magento\Framework\View\Element\Html\Link implements SortLinkInterface diff --git a/app/code/Magento/Wishlist/Block/Rss/EmailLink.php b/app/code/Magento/Wishlist/Block/Rss/EmailLink.php index fe0d3ba0f8c79..bcee2a0d4e242 100644 --- a/app/code/Magento/Wishlist/Block/Rss/EmailLink.php +++ b/app/code/Magento/Wishlist/Block/Rss/EmailLink.php @@ -12,6 +12,7 @@ /** * Class EmailLink * + * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class EmailLink extends Link diff --git a/app/code/Magento/Wishlist/Block/Rss/Link.php b/app/code/Magento/Wishlist/Block/Rss/Link.php index 72a1da2cad769..4bb62d1ce8fff 100644 --- a/app/code/Magento/Wishlist/Block/Rss/Link.php +++ b/app/code/Magento/Wishlist/Block/Rss/Link.php @@ -9,6 +9,9 @@ */ namespace Magento\Wishlist\Block\Rss; +/** + * @api + */ class Link extends \Magento\Framework\View\Element\Template { /** diff --git a/app/code/Magento/Wishlist/Block/Share/Email/Items.php b/app/code/Magento/Wishlist/Block/Share/Email/Items.php index f0c5cea3c2962..4612fbe2e48c1 100644 --- a/app/code/Magento/Wishlist/Block/Share/Email/Items.php +++ b/app/code/Magento/Wishlist/Block/Share/Email/Items.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Share\Email; +/** + * @api + */ class Items extends \Magento\Wishlist\Block\AbstractBlock { /** diff --git a/app/code/Magento/Wishlist/Block/Share/Wishlist.php b/app/code/Magento/Wishlist/Block/Share/Wishlist.php index 0333d16c6f0b8..a383e832c8611 100644 --- a/app/code/Magento/Wishlist/Block/Share/Wishlist.php +++ b/app/code/Magento/Wishlist/Block/Share/Wishlist.php @@ -11,6 +11,9 @@ */ namespace Magento\Wishlist\Block\Share; +/** + * @api + */ class Wishlist extends \Magento\Wishlist\Block\AbstractBlock { /** diff --git a/app/code/Magento/Wishlist/Model/Config.php b/app/code/Magento/Wishlist/Model/Config.php index 6bfc35effe157..7efca17734082 100644 --- a/app/code/Magento/Wishlist/Model/Config.php +++ b/app/code/Magento/Wishlist/Model/Config.php @@ -5,6 +5,9 @@ */ namespace Magento\Wishlist\Model; +/** + * @api + */ class Config { const XML_PATH_SHARING_EMAIL_LIMIT = 'wishlist/email/number_limit'; diff --git a/dev/tests/static/testsuite/Magento/Test/Integrity/Di/CompilerTest.php b/dev/tests/static/testsuite/Magento/Test/Integrity/Di/CompilerTest.php index 9b59d73cad38e..7a4444a6b6a80 100644 --- a/dev/tests/static/testsuite/Magento/Test/Integrity/Di/CompilerTest.php +++ b/dev/tests/static/testsuite/Magento/Test/Integrity/Di/CompilerTest.php @@ -384,21 +384,4 @@ protected function pluginDataProvider() return $plugins; } - - /** - * Test DI compiler - * - * @depends testConfigurationOfInstanceParameters - * @depends testConstructorIntegrity - * @depends testPluginInterfaces - */ - public function testCompiler() - { - $this->markTestSkipped('MAGETWO-52570'); - try { - $this->_shell->execute($this->_command); - } catch (\Magento\Framework\Exception\LocalizedException $exception) { - $this->fail($exception->getPrevious()->getMessage()); - } - } } diff --git a/dev/tests/static/testsuite/Magento/Test/Integrity/PublicCodeTest.php b/dev/tests/static/testsuite/Magento/Test/Integrity/PublicCodeTest.php new file mode 100644 index 0000000000000..a28796ed14d59 --- /dev/null +++ b/dev/tests/static/testsuite/Magento/Test/Integrity/PublicCodeTest.php @@ -0,0 +1,268 @@ +xpath('//block | //referenceBlock') ?: []; + /** @var $node \SimpleXMLElement */ + foreach ($elements as $node) { + $class = (string) $node['class']; + if ($class && \class_exists($class)) { + $reflection = (new \ReflectionClass($class)); + if (strpos($reflection->getDocComment(), '@api') === false) { + $nonPublishedBlocks[] = $class; + } + } + } + if (count($nonPublishedBlocks)) { + $this->fail( + "Layout file '$layoutFile' uses following blocks that are not marked with @api annotation:\n" + . implode(",\n", $nonPublishedBlocks) + ); + } + } + + /** + * Find all layout update files in magento modules and themes. + * + * @return array + */ + public function layoutFilesDataProvider() + { + return Files::init()->getLayoutFiles([], true); + } + + /** + * We want to avoid situation when a type is marked public (@api annotated) but one of its methods + * returns or accepts the value of non-public type. + * This test walks through all public PHP types and makes sure that all their method arguments + * and return values are public types. + * + * + * @param string $class + * @dataProvider publicPHPTypesDataProvider + */ + public function testAllPHPClassesReferencedFromPublicClassesArePublic($class) + { + $nonPublishedClasses = []; + $reflection = new \ReflectionClass($class); + $filter = \ReflectionMethod::IS_PUBLIC; + if ($reflection->isAbstract()) { + $filter = $filter | \ReflectionMethod::IS_PROTECTED; + } + $methods = $reflection->getMethods($filter); + foreach ($methods as $method) { + if ($method->isConstructor()) { + continue; + } + $nonPublishedClasses = $this->checkParameters($class, $method, $nonPublishedClasses); + /* Taking into account docblock return types since this code + is written on early php 7 when return types are not actively used */ + $returnTypes = []; + if ($method->hasReturnType()) { + if (!$method->getReturnType()->isBuiltin()) { + $returnTypes = [trim($method->getReturnType()->__toString(), '?[]')]; + } + } else { + $returnTypes = $this->getReturnTypesFromDocComment($method->getDocComment()); + } + $nonPublishedClasses = $this->checkReturnValues($class, $returnTypes, $nonPublishedClasses); + } + + if (count($nonPublishedClasses)) { + $this->fail( + "Public type '" . $class . "' references following non-public types:\n" + . implode("\n", $nonPublishedClasses) + ); + } + } + + /** + * Retrieve list of all interfaces and classes in Magento codebase that are marked with @api annotation. + * @return array + */ + public function publicPHPTypesDataProvider() + { + $files = Files::init()->getPhpFiles(Files::INCLUDE_LIBS | Files::INCLUDE_APP_CODE); + $result = []; + foreach ($files as $file) { + $fileContents = \file_get_contents($file); + if (strpos($fileContents, '@api') !== false) { + foreach ($this->getDeclaredClassesAndInterfaces($file) as $class) { + if (class_exists($class->getName()) || interface_exists($class->getName())) { + $result[$class->getName()] = [$class->getName()]; + } + } + } + } + return $result; + } + + /** + * Retrieve list of classes and interfaces declared in the file + * + * @param string $file + * @return \Zend\Code\Scanner\ClassScanner[] + */ + private function getDeclaredClassesAndInterfaces($file) + { + $fileScanner = new \Magento\Setup\Module\Di\Code\Reader\FileScanner($file); + return $fileScanner->getClasses(); + } + + /** + * Check if a class is @api annotated + * + * @param \ReflectionClass $class + * @return bool + */ + private function isPublished(\ReflectionClass $class) + { + return strpos($class->getDocComment(), '@api') !== false; + } + + /** + * Simplified check of class relation. + * + * @param string $classNameA + * @param string $classNameB + * @return bool + */ + private function areClassesFromSameVendor($classNameA, $classNameB) + { + $classNameA = ltrim($classNameA, '\\'); + $classNameB = ltrim($classNameB, '\\'); + $aVendor = substr($classNameA, 0, strpos($classNameA, '\\')); + $bVendor = substr($classNameB, 0, strpos($classNameB, '\\')); + return $aVendor === $bVendor; + } + + /** + * Check if the class belongs to the list of classes generated by Magento on demand. + * + * We don't need to check @api annotation coverage for generated classes + * + * @param string $className + * @return bool + */ + private function isGenerated($className) + { + return substr($className, -18) === 'ExtensionInterface' || substr($className, -7) === 'Factory'; + } + + /** + * Retrieves list of method return types from method doc comment + * + * Introduced this method to abstract complexity of coping with types in "return" annotation + * + * @param string $docComment + * @return array + */ + private function getReturnTypesFromDocComment($docComment) + { + // TODO: add docblock namespace resolving using third-party library + if (preg_match('/@return (\S*)/', $docComment, $matches)) { + return array_map( + 'trim', + explode('|', $matches[1]) + ); + } else { + return []; + } + } + + /** + * Check method return values + * + * TODO: improve return type filtration + * + * @param string $class + * @param array $returnTypes + * @param array $nonPublishedClasses + * @return mixed + */ + private function checkReturnValues($class, array $returnTypes, array $nonPublishedClasses) + { + foreach ($returnTypes as $returnType) { + if (!in_array($returnType, $this->simpleReturnTypes) + && !$this->isGenerated($returnType) + && \class_exists($returnType) + ) { + $returnTypeReflection = new \ReflectionClass($returnType); + if (!$returnTypeReflection->isInternal() + && $this->areClassesFromSameVendor($returnType, $class) + && !$this->isPublished($returnTypeReflection) + ) { + $nonPublishedClasses[$returnType] = $returnType; + } + } + } + return $nonPublishedClasses; + } + + /** + * Check if all method parameters are public + * @param string $class + * @param \ReflectionMethod $method + * @param array $nonPublishedClasses + * @return array + */ + private function checkParameters($class, \ReflectionMethod $method, array $nonPublishedClasses) + { + /* Ignoring docblocks for argument types */ + foreach ($method->getParameters() as $parameter) { + if ($parameter->hasType() + && !$parameter->getType()->isBuiltin() + && !$this->isGenerated($parameter->getType()->__toString()) + ) { + $parameterClass = $parameter->getClass(); + /* + * We don't want to check integrity of @api coverage of classes + * that belong to different vendors, because it is too complicated. + * Example: + * If Magento class references non-@api annotated class from Zend, + * we don't want to fail test, because Zend is considered public by default, + * and we don't care if Zend classes are @api-annotated + */ + if ( + !$parameterClass->isInternal() + && $this->areClassesFromSameVendor($parameterClass->getName(), $class) + && !$this->isPublished($parameterClass) + ) { + $nonPublishedClasses[$parameterClass->getName()] = $parameterClass->getName(); + } + } + } + return $nonPublishedClasses; + } +} diff --git a/lib/internal/Magento/Framework/Acl.php b/lib/internal/Magento/Framework/Acl.php index dbf8408860bc1..86b28f7e2ceb4 100644 --- a/lib/internal/Magento/Framework/Acl.php +++ b/lib/internal/Magento/Framework/Acl.php @@ -1,12 +1,15 @@ + * @api */ interface AdapterInterface { diff --git a/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php b/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php index f234cd6c6287f..a05207ab5f5b2 100644 --- a/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php +++ b/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php @@ -30,6 +30,7 @@ /** * MySQL database adapter * + * @api * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) diff --git a/lib/internal/Magento/Framework/DB/Ddl/Table.php b/lib/internal/Magento/Framework/DB/Ddl/Table.php index b6abcd9bad3e3..44ce0f5d76c62 100644 --- a/lib/internal/Magento/Framework/DB/Ddl/Table.php +++ b/lib/internal/Magento/Framework/DB/Ddl/Table.php @@ -3,16 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +namespace Magento\Framework\DB\Ddl; + +use Magento\Framework\DB\Adapter\AdapterInterface; /** * Data Definition for table * - * @author Magento Core Team + * @api */ -namespace Magento\Framework\DB\Ddl; - -use Magento\Framework\DB\Adapter\AdapterInterface; - class Table { /** diff --git a/lib/internal/Magento/Framework/DB/Ddl/Trigger.php b/lib/internal/Magento/Framework/DB/Ddl/Trigger.php index 928dc7f3b836b..d44946f03f275 100644 --- a/lib/internal/Magento/Framework/DB/Ddl/Trigger.php +++ b/lib/internal/Magento/Framework/DB/Ddl/Trigger.php @@ -5,6 +5,9 @@ */ namespace Magento\Framework\DB\Ddl; +/** + * @api + */ class Trigger { /**#@+ diff --git a/lib/internal/Magento/Framework/DB/Select.php b/lib/internal/Magento/Framework/DB/Select.php index 7782b434413fc..08bdfe67d9db1 100644 --- a/lib/internal/Magento/Framework/DB/Select.php +++ b/lib/internal/Magento/Framework/DB/Select.php @@ -11,6 +11,7 @@ /** * Class for SQL SELECT generation and results. * + * @api * @method \Magento\Framework\DB\Select from($name, $cols = '*', $schema = null) * @method \Magento\Framework\DB\Select join($name, $cond, $cols = '*', $schema = null) * @method \Magento\Framework\DB\Select joinInner($name, $cond, $cols = '*', $schema = null) @@ -27,8 +28,6 @@ * @method \Magento\Framework\DB\Select distinct($flag = true) * @method \Magento\Framework\DB\Select reset($part = null) * @method \Magento\Framework\DB\Select columns($cols = '*', $correlationName = null) - * - * @author Magento Core Team */ class Select extends \Zend_Db_Select { diff --git a/lib/internal/Magento/Framework/DB/SelectFactory.php b/lib/internal/Magento/Framework/DB/SelectFactory.php index 73c78a32158c9..408b2aafef1af 100644 --- a/lib/internal/Magento/Framework/DB/SelectFactory.php +++ b/lib/internal/Magento/Framework/DB/SelectFactory.php @@ -12,6 +12,8 @@ /** * Class SelectFactory + * + * @api */ class SelectFactory { diff --git a/lib/internal/Magento/Framework/Data/Collection.php b/lib/internal/Magento/Framework/Data/Collection.php index be16258450303..92ae78f26d091 100644 --- a/lib/internal/Magento/Framework/Data/Collection.php +++ b/lib/internal/Magento/Framework/Data/Collection.php @@ -11,11 +11,9 @@ /** * Data collection * - * @author Magento Core Team - */ - -/** * TODO: Refactor use of \Magento\Framework\Option\ArrayInterface in library. + * + * @api */ class Collection implements \IteratorAggregate, \Countable, ArrayInterface, CollectionDataSourceInterface { diff --git a/lib/internal/Magento/Framework/Data/Collection/AbstractDb.php b/lib/internal/Magento/Framework/Data/Collection/AbstractDb.php index 7b21cde1d5cb1..cf3fbb1596bd2 100644 --- a/lib/internal/Magento/Framework/Data/Collection/AbstractDb.php +++ b/lib/internal/Magento/Framework/Data/Collection/AbstractDb.php @@ -15,6 +15,8 @@ /** * Base items collection class + * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ abstract class AbstractDb extends \Magento\Framework\Data\Collection diff --git a/lib/internal/Magento/Framework/Data/Collection/Filesystem.php b/lib/internal/Magento/Framework/Data/Collection/Filesystem.php index f048f99504dd9..67d2a020864dd 100644 --- a/lib/internal/Magento/Framework/Data/Collection/Filesystem.php +++ b/lib/internal/Magento/Framework/Data/Collection/Filesystem.php @@ -21,6 +21,8 @@ * Supports some fancy filters. * * At least one target directory must be set + * + * @api */ class Filesystem extends \Magento\Framework\Data\Collection { diff --git a/lib/internal/Magento/Framework/Data/Form.php b/lib/internal/Magento/Framework/Data/Form.php index 0513b8cc4292b..fbec614dc3c96 100644 --- a/lib/internal/Magento/Framework/Data/Form.php +++ b/lib/internal/Magento/Framework/Data/Form.php @@ -13,6 +13,9 @@ use Magento\Framework\Data\Form\FormKey; use Magento\Framework\Profiler; +/** + * @api + */ class Form extends \Magento\Framework\Data\Form\AbstractForm { /** diff --git a/lib/internal/Magento/Framework/Data/Form/Element/AbstractElement.php b/lib/internal/Magento/Framework/Data/Form/Element/AbstractElement.php index 59bdf35d4413e..8db84c27980ad 100644 --- a/lib/internal/Magento/Framework/Data/Form/Element/AbstractElement.php +++ b/lib/internal/Magento/Framework/Data/Form/Element/AbstractElement.php @@ -13,6 +13,7 @@ /** * Data form abstract class * + * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.NumberOfChildren) */ diff --git a/lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php b/lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php index 307e3fbdd9e48..66b1299b98696 100644 --- a/lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php +++ b/lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php @@ -11,6 +11,7 @@ /** * Form fieldset * + * @api * @author Magento Core Team */ class Fieldset extends AbstractElement diff --git a/lib/internal/Magento/Framework/Data/Form/Element/Renderer/RendererInterface.php b/lib/internal/Magento/Framework/Data/Form/Element/Renderer/RendererInterface.php index 56a45f5b0a46c..6cd22e0f50d5e 100644 --- a/lib/internal/Magento/Framework/Data/Form/Element/Renderer/RendererInterface.php +++ b/lib/internal/Magento/Framework/Data/Form/Element/Renderer/RendererInterface.php @@ -11,6 +11,9 @@ */ namespace Magento\Framework\Data\Form\Element\Renderer; +/** + * @api + */ interface RendererInterface { /** diff --git a/lib/internal/Magento/Framework/Data/Form/Element/Select.php b/lib/internal/Magento/Framework/Data/Form/Element/Select.php index 0eb5ee987d2dc..d6d95ef9da63b 100644 --- a/lib/internal/Magento/Framework/Data/Form/Element/Select.php +++ b/lib/internal/Magento/Framework/Data/Form/Element/Select.php @@ -10,6 +10,7 @@ /** * Form select element * + * @api * @author Magento Core Team */ class Select extends AbstractElement diff --git a/lib/internal/Magento/Framework/Data/Tree.php b/lib/internal/Magento/Framework/Data/Tree.php index d2c5e4aa2a142..b458338184885 100644 --- a/lib/internal/Magento/Framework/Data/Tree.php +++ b/lib/internal/Magento/Framework/Data/Tree.php @@ -11,6 +11,7 @@ /** * Data tree * + * @api * @author Magento Core Team */ class Tree diff --git a/lib/internal/Magento/Framework/Data/Tree/Node.php b/lib/internal/Magento/Framework/Data/Tree/Node.php index b24b4d7097c2f..f1901b71f21e6 100644 --- a/lib/internal/Magento/Framework/Data/Tree/Node.php +++ b/lib/internal/Magento/Framework/Data/Tree/Node.php @@ -11,6 +11,7 @@ /** * Data tree node * + * @api * @author Magento Core Team */ class Node extends \Magento\Framework\DataObject diff --git a/lib/internal/Magento/Framework/Data/Tree/Node/Collection.php b/lib/internal/Magento/Framework/Data/Tree/Node/Collection.php index 6bca38dfd4e54..832fd18b48606 100644 --- a/lib/internal/Magento/Framework/Data/Tree/Node/Collection.php +++ b/lib/internal/Magento/Framework/Data/Tree/Node/Collection.php @@ -14,6 +14,9 @@ use Magento\Framework\Data\Tree; use Magento\Framework\Data\Tree\Node; +/** + * @api + */ class Collection implements \ArrayAccess, \IteratorAggregate { /** diff --git a/lib/internal/Magento/Framework/DataObject.php b/lib/internal/Magento/Framework/DataObject.php index 1484126dea5de..547a23ed979d1 100644 --- a/lib/internal/Magento/Framework/DataObject.php +++ b/lib/internal/Magento/Framework/DataObject.php @@ -8,7 +8,7 @@ /** * Universal data container with array access implementation * - * @author Magento Core Team + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ class DataObject implements \ArrayAccess diff --git a/lib/internal/Magento/Framework/EntityManager/MetadataPool.php b/lib/internal/Magento/Framework/EntityManager/MetadataPool.php index 9366671ef01a1..047ead23cc0bb 100644 --- a/lib/internal/Magento/Framework/EntityManager/MetadataPool.php +++ b/lib/internal/Magento/Framework/EntityManager/MetadataPool.php @@ -11,6 +11,8 @@ /** * Class MetadataPool + * + * @api */ class MetadataPool { diff --git a/lib/internal/Magento/Framework/Event/Observer/Collection.php b/lib/internal/Magento/Framework/Event/Observer/Collection.php index ff63ad2bdd105..c108d422cc9ca 100644 --- a/lib/internal/Magento/Framework/Event/Observer/Collection.php +++ b/lib/internal/Magento/Framework/Event/Observer/Collection.php @@ -11,6 +11,9 @@ */ namespace Magento\Framework\Event\Observer; +/** + * @api + */ class Collection { /** diff --git a/lib/internal/Magento/Framework/File/Size.php b/lib/internal/Magento/Framework/File/Size.php index bfd3e02dd5ec5..dadc911bb5012 100644 --- a/lib/internal/Magento/Framework/File/Size.php +++ b/lib/internal/Magento/Framework/File/Size.php @@ -9,6 +9,9 @@ */ namespace Magento\Framework\File; +/** + * @api + */ class Size { /** diff --git a/lib/internal/Magento/Framework/Filesystem/Directory/Read.php b/lib/internal/Magento/Framework/Filesystem/Directory/Read.php index 289b1eb3b71bb..18c93f2f4e1c8 100644 --- a/lib/internal/Magento/Framework/Filesystem/Directory/Read.php +++ b/lib/internal/Magento/Framework/Filesystem/Directory/Read.php @@ -7,6 +7,9 @@ use Magento\Framework\Exception\FileSystemException; +/** + * @api + */ class Read implements ReadInterface { /** diff --git a/lib/internal/Magento/Framework/Filter/FilterManager.php b/lib/internal/Magento/Framework/Filter/FilterManager.php index 2897e8e68ee3c..52c9d017ad11c 100644 --- a/lib/internal/Magento/Framework/Filter/FilterManager.php +++ b/lib/internal/Magento/Framework/Filter/FilterManager.php @@ -8,6 +8,7 @@ /** * Magento Filter Manager * + * @api * @method string email(string $value) * @method string money(string $value, $params = array()) * @method string simple(string $value, $params = array()) diff --git a/lib/internal/Magento/Framework/Filter/Template.php b/lib/internal/Magento/Framework/Filter/Template.php index eda75cace3f55..698af576582d5 100644 --- a/lib/internal/Magento/Framework/Filter/Template.php +++ b/lib/internal/Magento/Framework/Filter/Template.php @@ -9,6 +9,9 @@ */ namespace Magento\Framework\Filter; +/** + * @api + */ class Template implements \Zend_Filter_Interface { /** diff --git a/lib/internal/Magento/Framework/Message/AbstractMessage.php b/lib/internal/Magento/Framework/Message/AbstractMessage.php index 388cc0e48e533..85789bca9047c 100644 --- a/lib/internal/Magento/Framework/Message/AbstractMessage.php +++ b/lib/internal/Magento/Framework/Message/AbstractMessage.php @@ -7,6 +7,8 @@ /** * Abstract message model + * + * @api */ abstract class AbstractMessage implements MessageInterface { diff --git a/lib/internal/Magento/Framework/Message/Collection.php b/lib/internal/Magento/Framework/Message/Collection.php index 66f5fc00e4204..8805d433f4ffb 100644 --- a/lib/internal/Magento/Framework/Message/Collection.php +++ b/lib/internal/Magento/Framework/Message/Collection.php @@ -7,6 +7,8 @@ /** * Messages collection + * + * @api */ class Collection { diff --git a/lib/internal/Magento/Framework/Model/AbstractModel.php b/lib/internal/Magento/Framework/Model/AbstractModel.php index ef61f9d247db2..ef353ee7a89bd 100644 --- a/lib/internal/Magento/Framework/Model/AbstractModel.php +++ b/lib/internal/Magento/Framework/Model/AbstractModel.php @@ -10,6 +10,7 @@ /** * Abstract model class * + * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.TooManyFields) diff --git a/lib/internal/Magento/Framework/Model/ActionValidator/RemoveAction.php b/lib/internal/Magento/Framework/Model/ActionValidator/RemoveAction.php index a8a82db1e892a..430bb6f65f295 100644 --- a/lib/internal/Magento/Framework/Model/ActionValidator/RemoveAction.php +++ b/lib/internal/Magento/Framework/Model/ActionValidator/RemoveAction.php @@ -10,6 +10,9 @@ use Magento\Framework\Model\AbstractModel; +/** + * @api + */ class RemoveAction { /** diff --git a/lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php b/lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php index 81fbf881d01be..df1f0b1718100 100644 --- a/lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php +++ b/lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php @@ -12,6 +12,8 @@ /** * Abstract resource model + * + * @api */ abstract class AbstractResource { diff --git a/lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php b/lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php index 4a8835b7ef495..01bfed5059553 100644 --- a/lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php +++ b/lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php @@ -18,6 +18,7 @@ * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) + * @api */ abstract class AbstractDb extends AbstractResource { diff --git a/lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php b/lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php index 2d6666015f0d0..ebbba3eefbaa9 100644 --- a/lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php +++ b/lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php @@ -11,6 +11,8 @@ /** * Abstract Resource Collection + * + * @api * @SuppressWarnings(PHPMD.NumberOfChildren) */ abstract class AbstractCollection extends \Magento\Framework\Data\Collection\AbstractDb diff --git a/lib/internal/Magento/Framework/Module/Setup/Migration.php b/lib/internal/Magento/Framework/Module/Setup/Migration.php index 01c10dc796d7d..13e8d208f70b3 100644 --- a/lib/internal/Magento/Framework/Module/Setup/Migration.php +++ b/lib/internal/Magento/Framework/Module/Setup/Migration.php @@ -11,6 +11,8 @@ /** * Resource setup model with methods needed for migration process between Magento versions + * + * @api * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ diff --git a/lib/internal/Magento/Framework/Notification/MessageInterface.php b/lib/internal/Magento/Framework/Notification/MessageInterface.php index 13905d8598492..a1694b042d9db 100644 --- a/lib/internal/Magento/Framework/Notification/MessageInterface.php +++ b/lib/internal/Magento/Framework/Notification/MessageInterface.php @@ -12,6 +12,8 @@ * Interface for system messages * * Interface MessageInterface + * + * @api */ interface MessageInterface { diff --git a/lib/internal/Magento/Framework/Phrase.php b/lib/internal/Magento/Framework/Phrase.php index 40b7bb635f51f..e61c780174f73 100644 --- a/lib/internal/Magento/Framework/Phrase.php +++ b/lib/internal/Magento/Framework/Phrase.php @@ -11,6 +11,9 @@ use Magento\Framework\Phrase\RendererInterface; use Zend\Stdlib\JsonSerializable; +/** + * @api + */ class Phrase implements JsonSerializable { /** diff --git a/lib/internal/Magento/Framework/Pricing/Render.php b/lib/internal/Magento/Framework/Pricing/Render.php index a866095ce4216..3364a0e4072c3 100644 --- a/lib/internal/Magento/Framework/Pricing/Render.php +++ b/lib/internal/Magento/Framework/Pricing/Render.php @@ -15,6 +15,7 @@ /** * Base price render * + * @api * @method string getPriceRenderHandle() * * @api diff --git a/lib/internal/Magento/Framework/Pricing/Render/RendererPool.php b/lib/internal/Magento/Framework/Pricing/Render/RendererPool.php index 4659e9d43ed3e..73efef2e477be 100644 --- a/lib/internal/Magento/Framework/Pricing/Render/RendererPool.php +++ b/lib/internal/Magento/Framework/Pricing/Render/RendererPool.php @@ -12,8 +12,6 @@ use Magento\Framework\View\Element\AbstractBlock; /** - * RenderPool - * * @api */ class RendererPool extends AbstractBlock diff --git a/lib/internal/Magento/Framework/Profiler/DriverInterface.php b/lib/internal/Magento/Framework/Profiler/DriverInterface.php index 45fe728a20817..fe6393b3a43e3 100644 --- a/lib/internal/Magento/Framework/Profiler/DriverInterface.php +++ b/lib/internal/Magento/Framework/Profiler/DriverInterface.php @@ -9,6 +9,9 @@ */ namespace Magento\Framework\Profiler; +/** + * @api + */ interface DriverInterface { /** diff --git a/lib/internal/Magento/Framework/Session/SessionManagerInterface.php b/lib/internal/Magento/Framework/Session/SessionManagerInterface.php index 336a0ea7a0e7e..93fac2947eb61 100644 --- a/lib/internal/Magento/Framework/Session/SessionManagerInterface.php +++ b/lib/internal/Magento/Framework/Session/SessionManagerInterface.php @@ -9,6 +9,8 @@ /** * Session Manager Interface + * + * @api */ interface SessionManagerInterface { diff --git a/lib/internal/Magento/Framework/Setup/ModuleContextInterface.php b/lib/internal/Magento/Framework/Setup/ModuleContextInterface.php index 262193e9e1064..45c59f08bc691 100644 --- a/lib/internal/Magento/Framework/Setup/ModuleContextInterface.php +++ b/lib/internal/Magento/Framework/Setup/ModuleContextInterface.php @@ -7,6 +7,7 @@ /** * Context of a module being installed/updated: version, user data, etc. + * @api */ interface ModuleContextInterface { diff --git a/lib/internal/Magento/Framework/Setup/SchemaSetupInterface.php b/lib/internal/Magento/Framework/Setup/SchemaSetupInterface.php index 732da4347544d..48900c5cdc029 100644 --- a/lib/internal/Magento/Framework/Setup/SchemaSetupInterface.php +++ b/lib/internal/Magento/Framework/Setup/SchemaSetupInterface.php @@ -7,6 +7,7 @@ /** * DB schema resource interface + * @api */ interface SchemaSetupInterface extends SetupInterface { diff --git a/lib/internal/Magento/Framework/Simplexml/Config.php b/lib/internal/Magento/Framework/Simplexml/Config.php index 3fe8cf16e5b22..b9edf1c3295ad 100644 --- a/lib/internal/Magento/Framework/Simplexml/Config.php +++ b/lib/internal/Magento/Framework/Simplexml/Config.php @@ -7,6 +7,8 @@ /** * Base class for simplexml based configurations + * + * @api */ class Config { diff --git a/lib/internal/Magento/Framework/Simplexml/Element.php b/lib/internal/Magento/Framework/Simplexml/Element.php index 43c6bca67e87f..eec48bc555010 100644 --- a/lib/internal/Magento/Framework/Simplexml/Element.php +++ b/lib/internal/Magento/Framework/Simplexml/Element.php @@ -8,6 +8,8 @@ /** * Extends SimpleXML to add valuable functionality to \SimpleXMLElement class + * + * @api */ class Element extends \SimpleXMLElement { diff --git a/lib/internal/Magento/Framework/Validator.php b/lib/internal/Magento/Framework/Validator.php index f1182b0a0ac17..e15a1399a96a4 100644 --- a/lib/internal/Magento/Framework/Validator.php +++ b/lib/internal/Magento/Framework/Validator.php @@ -8,6 +8,8 @@ /** * Validator class that represents chain of validators. + * + * @api */ class Validator extends \Magento\Framework\Validator\AbstractValidator { diff --git a/lib/internal/Magento/Framework/Validator/AbstractValidator.php b/lib/internal/Magento/Framework/Validator/AbstractValidator.php index e2211d46998b9..db636516aacab 100644 --- a/lib/internal/Magento/Framework/Validator/AbstractValidator.php +++ b/lib/internal/Magento/Framework/Validator/AbstractValidator.php @@ -1,12 +1,15 @@ object = new \Magento\Setup\Module\Di\Code\Reader\FileScanner( + __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . 'classes.php' + ); + } + + public function testGetClassesReturnsAllClassesAndInterfacesDeclaredInFile() + { + $classes = [ + 'My\NamespaceA\InterfaceA', + 'My\NamespaceA\ClassA', + 'My\NamespaceB\InterfaceB', + 'My\NamespaceB\ClassB', + ]; + $this->assertCount(4, $this->object->getClasses()); + foreach ($this->object->getClasses() as $key => $class) { + $this->assertEquals($classes[$key], $class->getName()); + } + } +} diff --git a/setup/src/Magento/Setup/Test/Unit/Module/Di/Code/Reader/_files/classes.php b/setup/src/Magento/Setup/Test/Unit/Module/Di/Code/Reader/_files/classes.php new file mode 100644 index 0000000000000..031fc29be5999 --- /dev/null +++ b/setup/src/Magento/Setup/Test/Unit/Module/Di/Code/Reader/_files/classes.php @@ -0,0 +1,31 @@ +