File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Inpsyde/Sniffs/CodeQuality Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 ); # -*- coding: utf-8 -*-
2
+ /*
3
+ * This file is part of the php-coding-standards package.
4
+ *
5
+ * (c) Inpsyde GmbH
6
+ *
7
+ * For the full copyright and license information, please view the LICENSE
8
+ * file that was distributed with this source code.
9
+ */
10
+
11
+ namespace Inpsyde \InpsydeCodingStandard \Sniffs \CodeQuality ;
12
+
13
+ use PHP_CodeSniffer \Standards \Generic \Sniffs \PHP \DisallowShortOpenTagSniff as GenericShortOpenTagSniff ;
14
+
15
+ /**
16
+ * @package php-coding-standards
17
+ * @license http://opensource.org/licenses/MIT MIT
18
+ */
19
+ final class DisallowShortOpenTagSniff extends GenericShortOpenTagSniff
20
+ {
21
+ /**
22
+ * @return int[]
23
+ */
24
+ public function register ()
25
+ {
26
+ return [
27
+ T_OPEN_TAG ,
28
+ T_INLINE_HTML ,
29
+ ];
30
+ }
31
+ }
You can’t perform that action at this time.
0 commit comments