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 #36993

Open
wants to merge 9 commits into
base: 2.4-develop
Choose a base branch
from
6 changes: 3 additions & 3 deletions app/code/Magento/Config/Block/System/Config/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Config edit page
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Block\System\Config;

Expand All @@ -21,7 +19,7 @@
*/
class Edit extends \Magento\Backend\Block\Widget
{
const DEFAULT_SECTION_BLOCK = \Magento\Config\Block\System\Config\Form::class;
public const DEFAULT_SECTION_BLOCK = \Magento\Config\Block\System\Config\Form::class;

/**
* Form block class name
Expand Down Expand Up @@ -120,6 +118,8 @@ public function getSaveUrl()
}

/**
* Return search parameters in JSON format
*
* @return string
* @since 101.1.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
/**
* Backend system config array field renderer
*
* @author Magento Core Team <[email protected]>
* phpcs:disable Magento2.CodeAnalysis.EmptyBlock.DetectedFunction
* phpcs:ignore Magento2.Classes.AbstractApi.AbstractApi
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -281,6 +282,8 @@ public function getColumns()
}

/**
* Retrieve the label for the 'add' button
*
* @return string
* @since 101.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* File config field renderer
*
* @author Magento Core Team <[email protected]>
*/
declare(strict_types=1);

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

/**
* Renderer for sub-heading in fieldset
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Block\System\Config\Form\Field;

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

/**
* System configuration shipping methods allow all countries select
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Block\System\Config\Form\Field\Select;

Expand Down
4 changes: 0 additions & 4 deletions app/code/Magento/Config/Block/System/Config/Tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
* System configuration tabs block
*
* @method setTitle(string $title)
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Block\System\Config;

Expand All @@ -21,8 +19,6 @@
class Tabs extends \Magento\Backend\Block\Widget
{
/**
* Tabs
*
* @var \Magento\Config\Model\Config\Structure\Element\Iterator
*/
protected $_tabs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
/**
* System Configuration Save Controller
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Save extends AbstractConfig implements HttpPostActionInterface
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Config/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*
* Used to save configuration
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @api
* @since 100.0.2
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Config backend model for "Custom Admin URL" option
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Admin;

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

/**
* Config backend model for "Custom Admin Path" option
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Admin;

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

/**
* Admin Reset Password Link Expiration period backend model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Admin\Password\Link;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
* \Directory currency abstract backend model
*
* Allows dispatching before and after events for each controller action
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Currency;

/**
* Base currency class
*
* phpcs:ignore Magento2.Classes.AbstractApi.AbstractApi
* @api
* @since 100.0.2
*/
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Config/Model/Config/Backend/Datashare.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Config category field backend
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend;

Expand All @@ -18,6 +16,8 @@
class Datashare extends \Magento\Framework\App\Config\Value
{
/**
* Do nothing after save
*
* @return $this
*/
public function afterSave()
Expand Down
8 changes: 5 additions & 3 deletions app/code/Magento/Config/Model/Config/Backend/Email/Logo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Backend model for uploading transactional emails custom logo image
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Email;

Expand All @@ -19,7 +17,7 @@ class Logo extends \Magento\Config\Model\Config\Backend\Image
/**
* The tail part of directory path for uploading
*/
const UPLOAD_DIR = 'email/logo';
public const UPLOAD_DIR = 'email/logo';

/**
* Upload max file size in kilobytes
Expand Down Expand Up @@ -49,12 +47,16 @@ protected function _addWhetherScopeInfo()
}

/**
* Return temporary name of file
*
* @return string|null
*/
protected function getTmpFileName()
{
$tmpName = null;
// @phpcs:ignore Magento2.Security.Superglobal.SuperglobalUsageError
if (isset($_FILES['groups'])) {
// @phpcs:ignore Magento2.Security.Superglobal.SuperglobalUsageError
$tmpName = $_FILES['groups']['tmp_name'][$this->getGroupId()]['fields'][$this->getField()]['value'];
} else {
$tmpName = is_array($this->getValue()) ? $this->getValue()['tmp_name'] : null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* System config image field backend model for Zend PDF generator
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Backend\Image;

Expand Down
9 changes: 4 additions & 5 deletions app/code/Magento/Config/Model/Config/Source/Email/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@
* See COPYING.txt for license details.
*/

/**
* Source for email send method
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Source\Email;

/**
* Source for email send method
*
* @api
* @since 100.0.2
*/
class Method implements \Magento\Framework\Option\ArrayInterface
{
/**
* Return option array
*
* @return array
*/
public function toOptionArray()
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Config/Model/Config/Source/Reports/Scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Config source reports event store filter
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Config\Model\Config\Source\Reports;

Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Config/Model/ResourceModel/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
/**
* Core Resource Resource Model
*
* @author Magento Core Team <[email protected]>
* @api
* @since 100.0.2
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/**
* Core config data resource model
*
* @author Magento Core Team <[email protected]>
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -44,6 +43,7 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object)

/**
* Validate unique configuration data before save
*
* Set id to object if exists configuration instead of throw exception
*
* @param \Magento\Framework\Model\AbstractModel $object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/**
* Config data collection
*
* @author Magento Core Team <[email protected]>
* @api
* @since 100.0.2
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Product attribute add form variations main tab
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Attribute\Edit\Tab\Variations;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
<?php
/**
* CatalogInventory Configurable Products Stock Status Indexer Resource Model
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ConfigurableProduct\Model\ResourceModel\Indexer\Stock;

/**
* CatalogInventory Configurable Products Stock Status Indexer Resource Model
*
* @author Magento Core Team <[email protected]>
*/
use Magento\Catalog\Model\Product\Attribute\Source\Status as ProductStatus;
use Magento\CatalogInventory\Model\Indexer\Stock\Action\Full;
Expand All @@ -34,7 +30,7 @@ class Configurable extends \Magento\CatalogInventory\Model\ResourceModel\Indexer
* @param \Magento\Framework\Indexer\Table\StrategyInterface $tableStrategy
* @param \Magento\Eav\Model\Config $eavConfig
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
* @param null $connectionName
* @param string $connectionName
* @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher|null $activeTableSwitcher
*/
public function __construct(
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/Cron/Model/Config/Backend/Product/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Backend Model for product alerts
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Cron\Model\Config\Backend\Product;

Expand All @@ -21,12 +19,12 @@ class Alert extends \Magento\Framework\App\Config\Value
/**
* Cron string path for product alerts
*/
const CRON_STRING_PATH = 'crontab/default/jobs/catalog_product_alert/schedule/cron_expr';
public const CRON_STRING_PATH = 'crontab/default/jobs/catalog_product_alert/schedule/cron_expr';

/**
* Cron model path for product alerts
*/
const CRON_MODEL_PATH = 'crontab/default/jobs/catalog_product_alert/run/model';
public const CRON_MODEL_PATH = 'crontab/default/jobs/catalog_product_alert/run/model';

/**
* @var \Magento\Framework\App\Config\ValueFactory
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Cron/Model/Config/Backend/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Backend Model for Currency import options
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Cron\Model\Config\Backend;

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

/**
* Manage currency block
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\CurrencySymbol\Block\Adminhtml\System;

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

/**
* Manage currency block
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\CurrencySymbol\Block\Adminhtml\System\Currency\Rate;

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

/**
* Manage currency import services block
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\CurrencySymbol\Block\Adminhtml\System\Currency\Rate;

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

/**
* Manage currency symbols block
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\CurrencySymbol\Block\Adminhtml\System;

Expand All @@ -22,11 +20,6 @@ class Currencysymbol extends \Magento\Backend\Block\Widget\Form
*/
protected $_symbolSystemFactory;

/**
* @var string
*/
private $_controller;

/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\CurrencySymbol\Model\System\CurrencysymbolFactory $symbolSystemFactory
Expand Down
Loading