File tree 8 files changed +44
-7
lines changed
8 files changed +44
-7
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ CHANGELOG.md export-ignore
16
16
example / export-ignore
17
17
LICENSE.md export-ignore
18
18
lpv-logo.png export-ignore
19
+ peck.json export-ignore
19
20
phpstan.neon.dist export-ignore
20
21
phpunit.xml.dist export-ignore
21
22
README.md export-ignore
Original file line number Diff line number Diff line change 19
19
fail-fast : true
20
20
matrix :
21
21
php :
22
- - " 8.2 "
22
+ - " 8.3 "
23
23
24
24
steps :
25
25
- name : Checkout
Original file line number Diff line number Diff line change 11
11
fail-fast : true
12
12
matrix :
13
13
php :
14
- - " 8.1 "
14
+ - " 8.3 "
15
15
16
16
steps :
17
17
- name : Checkout
30
30
31
31
- name : Check leanness of package
32
32
run : composer run-script lpv:validate-gitattributes
33
+
34
+ - name : Check for spelling mistakes of package
35
+ run : sudo apt-get install aspell aspell-en && composer run-script lpv:spell-check
Original file line number Diff line number Diff line change 11
11
fail-fast : true
12
12
matrix :
13
13
php :
14
- - " 8.1 "
14
+ - " 8.3 "
15
15
16
16
steps :
17
17
- name : Checkout
Original file line number Diff line number Diff line change 10
10
strategy :
11
11
matrix :
12
12
php :
13
- - " 8.1 "
13
+ - " 8.3 "
14
14
15
15
steps :
16
16
- name : Checkout
Original file line number Diff line number Diff line change 10
10
strategy :
11
11
matrix :
12
12
php :
13
- - " 8.1"
14
- - " 8.2"
15
13
- " 8.3"
16
14
- " 8.4"
17
15
Original file line number Diff line number Diff line change 49
49
"lpv:application-phar-version-guard" : " php bin/application-version --verify-tag-match=phar" ,
50
50
"lpv:static-analyse" : " phpstan analyse --configuration phpstan.neon.dist" ,
51
51
"lpv:validate-gitattributes" : " bin/lean-package-validator validate" ,
52
+ "lpv:spell-check" : " ./vendor/bin/peck" ,
52
53
"lpv:pre-commit-check" : [
53
54
" @lpv:test" ,
54
55
" @lpv:cs-lint" ,
55
56
" @lpv:static-analyse" ,
56
- " @lpv:application-version-guard"
57
+ " @lpv:application-version-guard" ,
58
+ " @lpv:spell-check"
57
59
]
58
60
},
59
61
"config" : {
64
66
"require-dev" : {
65
67
"friendsofphp/php-cs-fixer" : " ^3.0" ,
66
68
"mockery/mockery" : " ^1.0" ,
69
+ "peckphp/peck" : " ^0.1.2" ,
67
70
"phlak/semver" : " ^4.1 || ^6.0" ,
68
71
"php-mock/php-mock-phpunit" : " ^2.7||^1.1" ,
69
72
"phpstan/phpstan" : " ^2.0" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "preset" : " base" ,
3
+ "ignore" : {
4
+ "words" : [
5
+ " php" ,
6
+ " gitattributes" ,
7
+ " analyser" ,
8
+ " analyse" ,
9
+ " windowsish" ,
10
+ " lpv" ,
11
+ " readme" ,
12
+ " pathnames" ,
13
+ " gitignore" ,
14
+ " eol" ,
15
+ " nosort" ,
16
+ " nocheck" ,
17
+ " onlydir" ,
18
+ " noescape" ,
19
+ " errline" ,
20
+ " errfile" ,
21
+ " errno" ,
22
+ " initialise" ,
23
+ " errstr" ,
24
+ " delegator" ,
25
+ " gitignored" ,
26
+ " str" ,
27
+ " postfix" ,
28
+ " autoconfiguration"
29
+ ],
30
+ "paths" : []
31
+ }
32
+ }
You can’t perform that action at this time.
0 commit comments