We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df47dc commit 95f699cCopy full SHA for 95f699c
Magento2/Sniffs/Legacy/CopyrightAnotherExtensionsFilesSniff.php
@@ -7,6 +7,7 @@
7
8
namespace Magento2\Sniffs\Legacy;
9
10
+use Magento2\Sniffs\Less\TokenizerSymbolsInterface;
11
use PHP_CodeSniffer\Files\File;
12
use PHP_CodeSniffer\Sniffs\Sniff;
13
@@ -16,14 +17,17 @@ class CopyrightAnotherExtensionsFilesSniff implements Sniff
16
17
18
private const COPYRIGHT_MAGENTO_TEXT = 'Copyright © Magento, Inc. All rights reserved.';
19
private const COPYRIGHT_ADOBE = '/Copyright \d+ Adobe/';
20
+
21
+ public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS, 'PHP'];
22
23
/**
24
* @inheritDoc
25
*/
26
public function register(): array
27
{
28
return [
- T_INLINE_HTML
29
+ T_INLINE_HTML,
30
+ T_OPEN_TAG
31
];
32
}
33
0 commit comments