File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 60
60
strategy :
61
61
matrix :
62
62
include :
63
- - description : Validate composer.json
64
- script : composer validate
63
+ - description : Composer checks
64
+ script : vendor/bin/composer-dependency-analyser && composer validate
65
65
- description : Code style
66
66
script : vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run
67
67
- description : Rector
Original file line number Diff line number Diff line change 1
- pre-commit-check : cs-fix psalm phpstan tests
1
+ pre-commit-check : cs-fix psalm phpstan tests composer-check composer-validate
2
2
3
3
cs-fix :
4
4
vendor/bin/php-cs-fixer fix --verbose --ansi
@@ -15,4 +15,10 @@ phpstan:
15
15
tests :
16
16
vendor/bin/phpunit
17
17
18
+ composer-check :
19
+ vendor/bin/composer-dependency-analyser
20
+
21
+ composer-validate :
22
+ composer validate --strict
23
+
18
24
.PHONY : tests
Original file line number Diff line number Diff line change 31
31
},
32
32
"require" : {
33
33
"php" : " ^8.2" ,
34
- "symfony/console" : " ^6.4 | ^7.0"
34
+ "ext-pcntl" : " *" ,
35
+ "symfony/console" : " ^6.4 || ^7.0"
35
36
},
36
37
"require-dev" : {
37
38
"facile-it/facile-coding-standard" : " ^1.2" ,
38
39
"jangregor/phpstan-prophecy" : " 2.2.0" ,
40
+ "phpspec/prophecy" : " ^1.18" ,
39
41
"phpspec/prophecy-phpunit" : " ^2.0" ,
40
42
"phpstan/extension-installer" : " ^1.4" ,
41
43
"phpstan/phpstan" : " 2.1.17" ,
42
44
"phpstan/phpstan-phpunit" : " 2.0.6" ,
43
45
"phpunit/phpunit" : " ^10 || ^11 || ^12" ,
44
46
"rector/rector" : " 2.0.17" ,
47
+ "shipmonk/composer-dependency-analyser" : " ^1.8" ,
45
48
"symfony/phpunit-bridge" : " ^6.4 || ^7.0" ,
49
+ "symfony/process" : " ^6.4 || ^7.0" ,
46
50
"vimeo/psalm" : " ^6"
47
51
}
48
52
}
You can’t perform that action at this time.
0 commit comments