File tree Expand file tree Collapse file tree 8 files changed +45
-93
lines changed Expand file tree Collapse file tree 8 files changed +45
-93
lines changed Original file line number Diff line number Diff line change 1
- /e2e export-ignore
1
+ * .php text eol =lf
2
+
3
+ .github export-ignore
4
+ e2e export-ignore
5
+ tmp export-ignore
6
+ .gitattributes export-ignore
7
+ .gitignore export-ignore
8
+ Makefile export-ignore
9
+ phpcs.xml export-ignore
10
+ phpstan.neon export-ignore
11
+ phpunit.xml export-ignore
Original file line number Diff line number Diff line change 1
1
/src /GeneratedConfig.php
2
2
/vendor
3
3
composer.lock
4
+ .phpunit.result.cache
Original file line number Diff line number Diff line change
1
+ .PHONY : check
2
+ check : lint cs phpstan
3
+
4
+ .PHONY : lint
5
+ lint :
6
+ php vendor/bin/parallel-lint --colors \
7
+ src
8
+
9
+ .PHONY : cs
10
+ cs :
11
+ composer install --working-dir build-cs && php build-cs/vendor/bin/phpcs
12
+
13
+ .PHONY : cs-fix
14
+ cs-fix :
15
+ php build-cs/vendor/bin/phpcbf
16
+
17
+ .PHONY : phpstan
18
+ phpstan :
19
+ php vendor/bin/phpstan analyse -l 7 -c phpstan.neon src
Original file line number Diff line number Diff line change 1
1
{
2
2
"require-dev" : {
3
- "consistence/coding-standard" : " ^3.10" ,
3
+ "consistence-community /coding-standard" : " ^3.10" ,
4
4
"dealerdirect/phpcodesniffer-composer-installer" : " ^0.7.0" ,
5
5
"slevomat/coding-standard" : " ^6.4"
6
6
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" PHPStan extension installer" >
3
- <rule ref =" build-cs/vendor/consistence/coding-standard/Consistence/ruleset.xml" >
3
+ <arg name =" colors" />
4
+ <arg name =" extensions" value =" php" />
5
+ <arg name =" encoding" value =" utf-8" />
6
+ <arg name =" tab-width" value =" 4" />
7
+ <arg name =" cache" value =" tmp/cache/phpcs" />
8
+ <arg value =" sp" />
9
+ <file >src</file >
10
+ <rule ref =" build-cs/vendor/consistence-community/coding-standard/Consistence/ruleset.xml" >
4
11
<exclude name =" Squiz.Functions.GlobalFunction.Found" />
5
12
<exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword" />
6
13
<exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation" />
Original file line number Diff line number Diff line change
1
+ *
2
+ ! cache
3
+ ! . *
Original file line number Diff line number Diff line change
1
+ *
2
+ ! . *
You can’t perform that action at this time.
0 commit comments