Skip to content

Remove forbidden @author tag #37007

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 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
7 changes: 2 additions & 5 deletions app/code/Magento/Persistent/Block/Form/Remember.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Persistent\Block\Form;

/**
* Remember Me block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Remember extends \Magento\Framework\View\Element\Template
{
/**
* Persistent data
*
* @var \Magento\Persistent\Helper\Data
*/
protected $_persistentData = null;
Expand Down
8 changes: 2 additions & 6 deletions app/code/Magento/Persistent/Block/Header/Additional.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Persistent\Block\Header;

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

/**
* Remember Me block
*
* @author Magento Core Team <[email protected]>
*/
class Additional extends \Magento\Framework\View\Element\Html\Link
{
Expand All @@ -27,8 +25,6 @@ class Additional extends \Magento\Framework\View\Element\Html\Link
protected $_persistentSessionHelper;

/**
* Customer repository
*
* @var \Magento\Customer\Api\CustomerRepositoryInterface
*/
protected $customerRepository;
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/ProductAlert/Block/Email/Price.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Block\Email;

/**
* ProductAlert email price changed grid
*
* @author Magento Core Team <[email protected]>
*/
class Price extends \Magento\ProductAlert\Block\Email\AbstractEmail
{
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/ProductAlert/Block/Email/Stock.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Block\Email;

/**
* ProductAlert email back in stock grid
*
* @author Magento Core Team <[email protected]>
*/
class Stock extends \Magento\ProductAlert\Block\Email\AbstractEmail
{
Expand Down
12 changes: 6 additions & 6 deletions app/code/Magento/ProductAlert/Helper/Data.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Helper;

Expand All @@ -10,8 +10,6 @@
/**
* ProductAlert data helper
*
* @author Magento Core Team <[email protected]>
*
* @api
* @since 100.0.2
*/
Expand All @@ -25,8 +23,6 @@ class Data extends \Magento\Framework\Url\Helper\Data
protected $_product = null;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down Expand Up @@ -85,6 +81,8 @@ public function setProduct($product)
}

/**
* Get store
*
* @return Store
*/
public function getStore()
Expand All @@ -93,6 +91,8 @@ public function getStore()
}

/**
* Get Save Url
*
* @param string $type
* @return string
*/
Expand Down
19 changes: 5 additions & 14 deletions app/code/Magento/ProductAlert/Model/Email.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
declare(strict_types=1);

Expand Down Expand Up @@ -35,7 +35,6 @@
/**
* ProductAlert Email processor
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
* @api
Expand All @@ -45,15 +44,13 @@
*/
class Email extends AbstractModel
{
const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template';
public const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template';

const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template';
public const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template';

const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity';
public const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity';

/**
* Type
*
* @var string
*/
protected $_type = 'price';
Expand Down Expand Up @@ -87,22 +84,16 @@ class Email extends AbstractModel
protected $_stockProducts = [];

/**
* Price block
*
* @var Price
*/
protected $_priceBlock;

/**
* Stock block
*
* @var Stock
*/
protected $_stockBlock;

/**
* Product alert data
*
* @var Data
*/
protected $_productAlertData = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Model\ResourceModel;

use Magento\Framework\Model\AbstractModel;

/**
* Product alert for back in abstract resource model
*
* @author Magento Core Team <[email protected]>
*/
abstract class AbstractResource extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Model\ResourceModel\Price;

/**
* Product alert for changed price collection
*
* @author Magento Core Team <[email protected]>
* @api
* @since 100.0.2
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Model\ResourceModel\Price\Customer;

/**
* ProductAlert Price Customer collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends \Magento\Customer\Model\ResourceModel\Customer\Collection
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Model\ResourceModel\Stock;

/**
* Product alert for back in stock collection
*
* @author Magento Core Team <[email protected]>
*
* @api
* @since 100.0.2
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\ProductAlert\Model\ResourceModel\Stock\Customer;

/**
* ProductAlert Stock Customer collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends \Magento\Customer\Model\ResourceModel\Customer\Collection
{
/**
* join productalert stock data to customer collection
* Join productalert stock data to customer collection
*
* @param int $productId
* @param int $websiteId
Expand Down
7 changes: 3 additions & 4 deletions app/code/Magento/ProductVideo/Block/Product/View/Gallery.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2015 Adobe
* All Rights Reserved.
*/

/**
* Simple product data view
*
* @author Magento Core Team <[email protected]>
*/

namespace Magento\ProductVideo\Block\Product\View;
Expand Down Expand Up @@ -87,6 +85,7 @@ public function getVideoSettingsJson()

/**
* Return media gallery for product options
*
* @return string
* @since 100.1.0
*/
Expand Down
5 changes: 2 additions & 3 deletions app/code/Magento/Quote/Model/Quote/Address/Item.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Quote\Model\Quote\Address;

Expand Down Expand Up @@ -87,7 +87,6 @@
* @method float getBaseDiscountTaxCompensationAmount()
* @method \Magento\Quote\Model\Quote\Address\Item setBaseDiscountTaxCompensationAmount(float $value)
*
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Item extends \Magento\Quote\Model\Quote\Item\AbstractItem
Expand Down
5 changes: 2 additions & 3 deletions app/code/Magento/Quote/Model/Quote/Address/Rate.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/
namespace Magento\Quote\Model\Quote\Address;

Expand Down Expand Up @@ -32,7 +32,6 @@
* @method string getMethodTitle()
* @method \Magento\Quote\Model\Quote\Address\Rate setMethodTitle(string $value)
*
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Rate extends AbstractModel
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/Quote/Model/ResourceModel/Quote/Address.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Quote\Model\ResourceModel\Quote;

use Magento\Framework\Model\ResourceModel\Db\VersionControl\AbstractDb;

/**
* Quote address resource model
*
* @author Magento Core Team <[email protected]>
*/
class Address extends AbstractDb
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Quote\Model\ResourceModel\Quote\Address\Attribute;

/**
* Quote address attribute backend resource model
*
* @author Magento Core Team <[email protected]>
*/
class Backend extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Quote\Model\ResourceModel\Quote\Address\Attribute\Backend;

/**
* Quote address attribute backend child resource model
*
* @author Magento Core Team <[email protected]>
*/
class Child extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
{
Expand Down
Loading