Skip to content

Commit d974210

Browse files
committed
AC-669: Create phpcs static check for InstallUpgradeTest
1 parent 97b843c commit d974210

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Magento2/Sniffs/Legacy/InstallUpgradeSniff.php

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class InstallUpgradeSniff implements Sniff
1515
{
1616
private const ERROR_CODE = 'obsoleteScript';
1717

18+
/**
19+
* @var string[]
20+
*/
1821
private $wrongPrefixes = [
1922
'install-' => 'Install scripts are obsolete. '
2023
. 'Please use declarative schema approach in module\'s etc/db_schema.xml file',

0 commit comments

Comments
 (0)