Skip to content

Commit a369d39

Browse files
committed
AC-665: Create phpcs static check for ConfigTest
1 parent 061a97d commit a369d39

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Magento2/Sniffs/Legacy/_files/obsolete_config_nodes.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<?php
2+
23
/**
3-
* Obsolete configuration nodes
4-
*
5-
* Format: <class_name> => <replacement>
6-
*
74
* Copyright © Magento, Inc. All rights reserved.
85
* See COPYING.txt for license details.
96
*/
107

118
// @codingStandardsIgnoreStart
129

10+
/**
11+
* Obsolete configuration nodes
12+
*
13+
* Format: <class_name> => <replacement>
14+
*/
1315
return [
1416
'/config/global/fieldsets' => '',
1517
'/config/global/cache/betatypes' => '',

Magento2/Sniffs/Legacy/_files/obsolete_config_nodes_ee.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<?php
2+
23
/**
3-
* Obsolete configuration nodes, specific for EE
4-
*
5-
* Format: <class_name> => <replacement>
6-
*
74
* Copyright © Magento, Inc. All rights reserved.
85
* See COPYING.txt for license details.
96
*/
107

8+
/**
9+
* Obsolete configuration nodes
10+
*
11+
* Format: <class_name> => <replacement>
12+
*/
1113
return [
1214
'/config/global/full_page_cache' => '/config/global/cache_advanced/full_page',
1315
'/config/adminhtml/enterprise/admingws' => 'This configuration moved to admingws.xml file',

0 commit comments

Comments
 (0)