-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove forbidden @author
tag from import/export modules
#36304
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
Merged
magento-devops-reposync-svc
merged 3 commits into
magento:2.4-develop
from
fredden:no-author/import-export
Oct 28, 2022
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,13 @@ | |
/** | ||
* Export Advanced Pricing | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
* @SuppressWarnings(PHPMD.TooManyFields) | ||
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity) | ||
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) | ||
*/ | ||
class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product | ||
{ | ||
const ENTITY_ADVANCED_PRICING = 'advanced_pricing'; | ||
public const ENTITY_ADVANCED_PRICING = 'advanced_pricing'; | ||
|
||
/** | ||
* @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver | ||
|
@@ -568,10 +567,10 @@ protected function getTierPrices(array $listSku, $table) | |
if (isset($price[0]) && !empty($price[0]) || isset($price[1]) && !empty($price[1])) { | ||
$select->orWhere('ap.percentage_value IS NOT NULL'); | ||
} | ||
if (isset($updatedAtFrom) && !empty($updatedAtFrom)) { | ||
if (isset($updatedAtFrom)) { | ||
$select->where('cpe.updated_at >= ?', $updatedAtFrom); | ||
} | ||
if (isset($updatedAtTo) && !empty($updatedAtTo)) { | ||
if (isset($updatedAtTo)) { | ||
$select->where('cpe.updated_at <= ?', $updatedAtTo); | ||
} | ||
$exportData = $this->_connection->fetchAll($select); | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Import proxy product model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\CatalogImportExport\Model\Import\Proxy; | ||
|
||
|
@@ -17,6 +15,7 @@ class Product extends \Magento\Catalog\Model\Product | |
* DO NOT Initialize resources. | ||
* | ||
* @return void | ||
* @phpcs:disable Magento2.CodeAnalysis.EmptyBlock.DetectedFunction | ||
*/ | ||
protected function _construct() | ||
{ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Import proxy product resource | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\CatalogImportExport\Model\Import\Proxy\Product; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Export edit block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\ImportExport\Block\Adminhtml\Export; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Export edit form block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\ImportExport\Block\Adminhtml\Export\Edit; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
* Adminhtml import history page content block | ||
* | ||
* @api | ||
* @author Magento Core Team <[email protected]> | ||
* @since 100.0.2 | ||
*/ | ||
class History extends \Magento\Backend\Block\Widget\Grid\Container | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Import edit block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\ImportExport\Block\Adminhtml\Import; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Block before edit form | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\ImportExport\Block\Adminhtml\Import\Edit; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
|
||
/** | ||
* Import edit form block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Form extends \Magento\Backend\Block\Widget\Form\Generic | ||
{ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ | |
|
||
/** | ||
* Operation abstract class | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
abstract class AbstractModel extends \Magento\Framework\DataObject | ||
{ | ||
|
@@ -62,9 +60,11 @@ public function __construct( | |
|
||
/** | ||
* Log debug data to file. | ||
* | ||
* Log file dir: var/log/import_export/%Y/%m/%d/%time%_%operation_type%_%entity_type%.log | ||
* | ||
* @param mixed $debugData | ||
* | ||
* @return $this | ||
*/ | ||
public function addLogComment($debugData) | ||
|
@@ -91,9 +91,11 @@ public function getFormatedLogTrace() | |
{ | ||
$trace = ''; | ||
$lineNumber = 1; | ||
|
||
foreach ($this->_logTrace as &$info) { | ||
$trace .= $lineNumber++ . ': ' . $info . "\n"; | ||
$trace .= ($lineNumber++) . ': ' . $info . "\n"; | ||
} | ||
|
||
return $trace; | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
* Import adapter model | ||
* @Deprecated | ||
* @see \Magento\ImportExport\Model\Import\Source\Factory | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Adapter | ||
{ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Adminhtml tax rates grid item renderer country | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\TaxImportExport\Block\Adminhtml\Rate\Grid\Renderer; | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.