File tree Expand file tree Collapse file tree 10 files changed +49
-98
lines changed Expand file tree Collapse file tree 10 files changed +49
-98
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 39
39
run : " composer install --no-interaction --no-progress --no-suggest"
40
40
41
41
- name : " Lint"
42
- run : " vendor/bin/phing lint"
42
+ run : " make lint"
43
43
44
44
coding-standards :
45
45
name : " Coding Standard"
@@ -63,10 +63,10 @@ jobs:
63
63
run : " composer install --no-interaction --no-progress --no-suggest"
64
64
65
65
- name : " Lint"
66
- run : " vendor/bin/phing lint"
66
+ run : " make lint"
67
67
68
68
- name : " Coding Standard"
69
- run : " vendor/bin/phing cs"
69
+ run : " make cs"
70
70
71
71
static-analysis :
72
72
name : " PHPStan"
@@ -110,4 +110,4 @@ jobs:
110
110
run : " composer require --dev phpstan/phpstan:'^0.12.60' --update-with-dependencies"
111
111
112
112
- name : " PHPStan"
113
- run : " vendor/bin/phing phpstan"
113
+ run : " make phpstan"
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 12
12
},
13
13
"require-dev" : {
14
14
"composer/composer" : " ^2.0" ,
15
- "phing/phing" : " ^2.16.3" ,
16
15
"php-parallel-lint/php-parallel-lint" : " ^1.2.0" ,
17
16
"phpstan/phpstan-strict-rules" : " ^0.11 || ^0.12"
18
17
},
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