Skip to content

Commit 629f2dc

Browse files
committed
ACP2E-3864: Update copyrights for PB and fix static failures
1 parent cf0a019 commit 629f2dc

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

app/code/Magento/PageBuilderAdminAnalytics/view/adminhtml/web/js/page-builder/event-builder.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ define(['underscore'], function (_) {
2727
switch (name) {
2828
case 'contentType:duplicateAfter':
2929
action = 'duplicate';
30-
break;
30+
break;
3131

3232
case 'contentType:removeAfter':
3333
action = 'remove';
34-
break;
34+
break;
3535

3636
case 'contentType:createAfter':
3737
action = 'create';
38-
break;
38+
break;
3939

4040
case 'contentType:editBefore':
4141
action = 'edit';
42-
break;
42+
break;
4343

4444
case 'contentType:visibilityAfter':
4545
action = args.visibility ? 'show' : 'hide';
46-
break;
46+
break;
4747

4848
default:
49-
break;
49+
break;
5050
}
5151

5252
if (!_.isUndefined(args.contentType)) {

dev/tests/api-functional/testsuite/Magento/PageBuilder/Api/ProductAttributeRepositoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
class ProductAttributeRepositoryTest extends \Magento\TestFramework\TestCase\WebapiAbstract
1212
{
13-
const SERVICE_NAME = 'catalogProductAttributeRepositoryV1';
14-
const SERVICE_VERSION = 'V1';
15-
const RESOURCE_PATH = '/V1/products/attributes';
13+
public const SERVICE_NAME = 'catalogProductAttributeRepositoryV1';
14+
public const SERVICE_VERSION = 'V1';
15+
public const RESOURCE_PATH = '/V1/products/attributes';
1616

1717
public function testCreatePageBuilderAttribute()
1818
{

dev/tests/integration/_files/Magento/TestModulePageBuilderExtensionPoints/Model/Config/ContentType/AdditionalData/Provider/TestData.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
use Magento\PageBuilder\Model\Config\ContentType\AdditionalData\ProviderInterface;
1212

13-
/**
14-
* Class TestData
15-
*/
1613
class TestData implements ProviderInterface
1714
{
1815
public function getData(string $itemName) : array

dev/tests/integration/_files/Magento/TestModulePageBuilderExtensionPoints/Model/Stage/Renderer/Test.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
namespace Magento\TestModulePageBuilderExtensionPoints\Model\Stage\Renderer;
1010

11-
/**
12-
* Class Test
13-
*/
1411
class Test implements \Magento\PageBuilder\Model\Stage\RendererInterface
1512
{
1613
/**

dev/tests/js/jasmine/tests/app/code/Magento/PageBuilder/adminhtml/web/js/form/element/wysiwyg.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ define([
7575
try {
7676
injector.clean();
7777
injector.remove();
78-
} catch (e) {}
78+
} catch {}
7979
});
8080

8181
describe('Magento_PageBuilder/js/form/element/wysiwyg', function () {

0 commit comments

Comments
 (0)