Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove forbidden @author tag from Magento_Downloadable #37001

Open
wants to merge 7 commits into
base: 2.4-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/**
* Adminhtml catalog product downloadable items tab and form
*
* @author Magento Core Team <core@magentocommerce.com>
* @deprecated 100.3.1
* @see \Magento\Downloadable\Ui\DataProvider\Product\Form\Modifier\Composite
*/
Expand Down Expand Up @@ -45,8 +44,6 @@ class Downloadable extends Widget implements TabInterface
protected $blockId = 'downloadableInfo';

/**
* Core registry
*
* @var Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/**
* Adminhtml catalog product downloadable items tab links section
*
* @author Magento Core Team <core@magentocommerce.com>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
* @deprecated 100.3.1 in favor of new class which adds grid links
Expand Down Expand Up @@ -36,8 +35,6 @@ class Links extends \Magento\Backend\Block\Template
protected $_template = 'Magento_Downloadable::product/edit/downloadable/links.phtml';

/**
* Downloadable file
*
* @var \Magento\Downloadable\Helper\File
*/
protected $_downloadableFile = null;
Expand All @@ -50,8 +47,6 @@ class Links extends \Magento\Backend\Block\Template
protected $_coreFileStorageDb = null;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
/**
* Adminhtml catalog product downloadable items tab links section
*
* @author Magento Core Team <core@magentocommerce.com>
*
* @deprecated 100.3.1 because of new class which adds grids samples
* @see \Magento\Downloadable\Ui\DataProvider\Product\Form\Modifier\Samples
*/
Expand All @@ -28,8 +26,6 @@ class Samples extends \Magento\Backend\Block\Widget
protected $_template = 'Magento_Downloadable::product/edit/downloadable/samples.phtml';

/**
* Downloadable file
*
* @var \Magento\Downloadable\Helper\File
*/
protected $_downloadableFile = null;
Expand All @@ -42,8 +38,6 @@ class Samples extends \Magento\Backend\Block\Widget
protected $_coreFileStorageDb = null;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Catalog downloadable product part block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Downloadable\Block\Catalog\Product\View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Shopping cart downloadable item render block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Downloadable\Block\Checkout\Cart\Item;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Downloadable/Block/Checkout/Success.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Downloadable checkout success page
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Downloadable\Block\Checkout;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Downloadable File upload controller
*
* @author Magento Core Team <core@magentocommerce.com>
*/
abstract class File extends \Magento\Backend\App\Action
{
Expand All @@ -17,5 +15,5 @@ abstract class File extends \Magento\Backend\App\Action
*
* @see _isAllowed()
*/
const ADMIN_RESOURCE = 'Magento_Catalog::products';
public const ADMIN_RESOURCE = 'Magento_Catalog::products';
}
2 changes: 0 additions & 2 deletions app/code/Magento/Downloadable/Controller/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* Download controller
*
* @author Magento Core Team <core@magentocommerce.com>
*/
abstract class Download extends \Magento\Framework\App\Action\Action
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

/**
* Helper for fetching properties by product configurational item
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Configuration extends \Magento\Framework\App\Helper\AbstractHelper implements
\Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Downloadable/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

/**
* Downloadable helper
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Data extends \Magento\Framework\App\Helper\AbstractHelper
{
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Downloadable/Model/Product/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Downloadable products price model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Downloadable\Model\Product;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* Downloadable links resource collection
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Downloadable Product link purchased resource model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Purchased extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Downloadable Product link purchased items resource model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

/**
* Downloadable Content Disposition Source
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Contentdisposition implements \Magento\Framework\Option\ArrayInterface
{
/**
* Return option array
*
* @return array
*/
public function toOptionArray()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

/**
* Downloadable Order Item Status Source
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Orderitemstatus implements \Magento\Framework\Option\ArrayInterface
{
/**
* Return option array
*
* @return array
*/
public function toOptionArray()
Expand Down