File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ cs-install:
2121
2222.PHONY : cs
2323cs :
24- php build-cs/vendor/bin/phpcs --standard=build-cs/phpcs.xml src tests
24+ php build-cs/vendor/bin/phpcs src tests
2525
2626.PHONY : cs-fix
2727cs-fix :
28- php build-cs/vendor/bin/phpcbf --standard=build-cs/phpcs.xml src tests
28+ php build-cs/vendor/bin/phpcbf src tests
2929
3030.PHONY : phpstan
3131phpstan :
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" PHPStan Extensions Coding Standard" >
3+ <config name =" php_version" value =" 70200" />
4+ <arg name =" colors" />
5+ <arg name =" extensions" value =" php" />
6+ <arg name =" encoding" value =" utf-8" />
7+ <arg name =" tab-width" value =" 4" />
8+ <arg name =" cache" value =" tmp/phpcs" />
9+ <arg value =" sp" />
10+
11+ <rule ref =" build-cs/phpcs.xml" >
12+ <exclude name =" Squiz.Strings.DoubleQuoteUsage.ContainsVar" />
13+ </rule >
14+ <rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName" >
15+ <properties >
16+ <property name =" rootNamespaces" type =" array" >
17+ <element key =" src" value =" PHPStan\PhpDocParser" />
18+ <element key =" tests/PHPStan" value =" PHPStan\PhpDocParser" />
19+ </property >
20+ </properties >
21+ </rule >
22+ </ruleset >
Original file line number Diff line number Diff line change 88 * Copyright (c) 2011, Nikita Popov
99 * All rights reserved.
1010 */
11- abstract class AbstractNodeVisitor implements NodeVisitor
11+ abstract class AbstractNodeVisitor implements NodeVisitor // phpcs:ignore SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix
1212{
1313
1414 public function beforeTraverse (array $ nodes ): ?array
You can’t perform that action at this time.
0 commit comments