Skip to content

Commit c727856

Browse files
committed
ACPT-1052: Some Luma Storefront Scenarios Are Broken
- fix failed tests
1 parent d4cf016 commit c727856

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
use Magento\Store\Api\Data\StoreInterface;
1818
use Magento\Store\Model\Store;
1919

20+
// phpcs:disable Magento2.Classes.AbstractApi
2021
/**
2122
* Class AbstractAction
2223
*
2324
* @api
2425
*
2526
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2627
* @since 100.0.2
27-
* phpcs:disable Magento2.Classes.AbstractApi
28+
* phpcs:disable Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage
2829
*/
2930
abstract class AbstractAction implements ResetAfterRequestInterface
3031
{

app/code/Magento/Catalog/Model/ProductRepository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
4242
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
4343
* @SuppressWarnings(PHPMD.TooManyFields)
44-
* phpcs:disable Magento2.Annotation.ClassPropertyPHPDocFormatting
44+
* phpcs:disable Magento2.Commenting.ClassPropertyPHPDocFormatting
45+
* phpcs:disable Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage
4546
*/
4647
class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterface, ResetAfterRequestInterface
4748
{

app/code/Magento/Customer/Helper/Address.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
* @api
2121
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2222
* @since 100.0.2
23-
* phpcs:disable Generic.CodeAnalysis.EmptyStatement.DetectedFunction
23+
* phpcs:disable Magento2.CodeAnalysis.EmptyBlock
24+
* phpcs:disable Magento2.Commenting.ClassPropertyPHPDocFormatting
2425
*/
2526
class Address extends \Magento\Framework\App\Helper\AbstractHelper implements ResetAfterRequestInterface
2627
{

lib/internal/Magento/Framework/Url.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Magento\Framework\Serialize\Serializer\Json;
1212
use Magento\Framework\Url\HostChecker;
1313

14+
// phpcs:disable Magento2.Annotation
1415
/**
1516
* URL
1617
*
@@ -64,7 +65,6 @@
6465
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
6566
* @SuppressWarnings(PHPMD.TooManyFields)
6667
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
67-
* phpcs:disable Magento2.Annotation.MethodAnnotationStructure
6868
*/
6969
class Url extends \Magento\Framework\DataObject implements \Magento\Framework\UrlInterface, ResetAfterRequestInterface
7070
{
@@ -1010,6 +1010,7 @@ public function getRebuiltUrl($url)
10101010
* @param string $value
10111011
* @return string
10121012
* @deprecated 101.0.0
1013+
* @see \Magento\Framework\Escaper::escapeUrl
10131014
*/
10141015
public function escape($value)
10151016
{
@@ -1161,6 +1162,7 @@ protected function getRouteParamsResolver()
11611162
*
11621163
* @return \Magento\Framework\Url\ModifierInterface
11631164
* @deprecated 101.0.0
1165+
* @see \Magento\Framework\Url\ModifierInterface
11641166
*/
11651167
private function getUrlModifier()
11661168
{
@@ -1178,6 +1180,7 @@ private function getUrlModifier()
11781180
*
11791181
* @return Escaper
11801182
* @deprecated 101.0.0
1183+
* @see \Magento\Framework\Escaper
11811184
*/
11821185
private function getEscaper()
11831186
{

lib/internal/Magento/Framework/View/Asset/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @api
2121
* @since 100.0.2
22-
* phpcs:disable Magento2.Annotation.MethodAnnotationStructure
22+
* phpcs:disable Magento2.Commenting.ClassPropertyPHPDocFormatting
2323
*/
2424
class Repository implements ResetAfterRequestInterface
2525
{

0 commit comments

Comments
 (0)