File tree 2 files changed +45
-9
lines changed
2 files changed +45
-9
lines changed Original file line number Diff line number Diff line change 71
71
run : " composer test"
72
72
73
73
- name : " Run PHP CS Check"
74
- run : " PHP_CS_FIXER_IGNORE_ENV=1 composer cs-check"
74
+ run : " composer cs-check"
75
75
76
76
- name : " Run Psalm"
77
77
run : " composer psalm"
@@ -107,12 +107,48 @@ jobs:
107
107
run : " composer test"
108
108
109
109
- name : " Run PHP CS Check"
110
- run : " PHP_CS_FIXER_IGNORE_ENV=1 composer cs-check"
110
+ run : " composer cs-check"
111
111
112
112
- name : " Run Psalm"
113
113
run : " composer psalm"
114
114
115
115
- name : " Run infection"
116
116
env :
117
117
INFECTION_BADGE_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
118
- run : " composer infection-ci"
118
+ run : " composer infection-ci"
119
+
120
+ php84 :
121
+ name : PHP 8.4
122
+ runs-on : ubuntu-latest
123
+ steps :
124
+ - name : " Checkout"
125
+ uses : " actions/checkout@v4"
126
+ with :
127
+ fetch-depth : 2
128
+
129
+ - name : " Install PHP 8.4"
130
+ uses : " shivammathur/setup-php@v2"
131
+ with :
132
+ php-version : " 8.4"
133
+
134
+ - name : " Cache composer packages"
135
+ uses : " actions/cache@v4"
136
+ with :
137
+ path : " ~/.composer/cache"
138
+ key : " php-composer-locked-${{ hashFiles('composer.lock') }}"
139
+ restore-keys : " php-composer-locked-"
140
+
141
+ - name : " Install dependencies with composer"
142
+ run : " composer install --no-interaction"
143
+
144
+ - name : " Run PHPUnit Tests"
145
+ run : " composer test"
146
+
147
+ - name : " Run PHP CS Check"
148
+ run : " PHP_CS_FIXER_IGNORE_ENV=1 composer cs-check"
149
+
150
+ - name : " Run Psalm"
151
+ run : " composer psalm"
152
+
153
+ - name : " Run infection"
154
+ run : " composer infection-ci"
Original file line number Diff line number Diff line change 16
16
"ext-bcmath" : " *"
17
17
},
18
18
"require-dev" : {
19
- "friendsofphp/php-cs-fixer" : " ^3.51 " ,
20
- "infection/infection" : " ^ 0.27.10" ,
19
+ "friendsofphp/php-cs-fixer" : " ^3.68 " ,
20
+ "infection/infection" : " 0.27.10|^0.29 .10" ,
21
21
"phpstan/extension-installer" : " *" ,
22
- "phpunit/phpunit" : " ^10.5 | ^11.0 " ,
23
- "psalm/plugin-phpunit" : " ^0.18 " ,
24
- "squizlabs/php_codesniffer" : " ^3.9 " ,
25
- "vimeo/psalm" : " ^5.4 "
22
+ "phpunit/phpunit" : " ^10.5 | ^11.5 " ,
23
+ "psalm/plugin-phpunit" : " ^0.19 " ,
24
+ "squizlabs/php_codesniffer" : " ^3.11 " ,
25
+ "vimeo/psalm" : " ^5.0|^6.0 "
26
26
},
27
27
"autoload" : {
28
28
"psr-4" : {
You can’t perform that action at this time.
0 commit comments