Skip to content

Commit d466dc7

Browse files
committed
Static tests issues fixed
1 parent 50c14e1 commit d466dc7

File tree

6 files changed

+3
-16
lines changed

6 files changed

+3
-16
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
interface FilterInterface
1717
{
1818
/**
19-
* Retrieve column related to filte
19+
* Retrieve column related to filter
2020
*
2121
* @return Column
2222
*/
2323
public function getColumn();
2424

2525
/**
26-
* Set column related to filterr
26+
* Set column related to filter
2727
*
2828
* @param Column $column
2929
* @return AbstractFilter

app/code/Magento/Payment/Model/Cart.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,11 @@ class Cart
5353
protected $_salesModelItems = [];
5454

5555
/**
56-
* @phpcs:ignore
57-
* Flags that indicates whether discount, shopping and taxes should be transferred as cart item
58-
*
5956
* @var array
6057
*/
6158
protected $_transferFlags = [];
6259

6360
/**
64-
* @phpcs:ignore
65-
* Flags which indicates whether items data is outdated and has to be recollected
66-
*
6761
* @var bool
6862
*/
6963
protected $_itemsCollectingRequired = true;

app/code/Magento/Payment/Model/Method/AbstractMethod.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ abstract class AbstractMethod extends \Magento\Framework\Model\AbstractExtensibl
142142
protected $_canCancelInvoice = false;
143143

144144
/**
145-
* @phpcs:ignore
146-
* Fields that should be replaced in debug with '***'
147-
*
148145
* @var array
149146
*/
150147
protected $_debugReplacePrivateDataKeys = [];

app/code/Magento/Shipping/Model/Carrier/AbstractCarrier.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ private function hasFreeMethodWeight($request): bool
414414
* @return void
415415
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
416416
* @SuppressWarnings(PHPMD.NPathComplexity)
417-
* phpstan:ignore
418417
*/
419418
protected function _updateFreeMethodQuote($request)
420419
{

app/code/Magento/UrlRewrite/Model/UrlRewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
* @method UrlRewrite setDescription($value)
3939
* @api
4040
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
41-
* @SuppressWarnings(PHPMD.LongParameterList)
4241
*/
4342
class UrlRewrite extends AbstractModel
4443
{
@@ -80,6 +79,7 @@ class UrlRewrite extends AbstractModel
8079
* @param EventManager|null $eventManager
8180
* @param UrlFinderInterface|null $urlFinder
8281
* @param array $entityToCacheTagMap
82+
* @SuppressWarnings(PHPMD.LongParameterList)
8383
*/
8484
public function __construct(
8585
Context $context,

lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ abstract class AbstractDb extends AbstractResource
3232
protected $_resources;
3333

3434
/**
35-
* @phpcs:ignore
36-
* Prefix for resources that will be used in this resource model
37-
*
3835
* @var string
3936
*/
4037
protected $connectionName = \Magento\Framework\App\ResourceConnection::DEFAULT_CONNECTION;

0 commit comments

Comments
 (0)