File tree Expand file tree Collapse file tree 7 files changed +440
-796
lines changed
Expand file tree Collapse file tree 7 files changed +440
-796
lines changed Original file line number Diff line number Diff line change 2222 os :
2323 - ubuntu-latest
2424 php-version :
25- - ' 7.4'
26- - ' 8.0'
27- - ' 8.1'
28- - ' 8.2'
29- - ' 8.3'
3025 - ' 8.4'
3126
3227 steps :
Original file line number Diff line number Diff line change 1- ARG PHPVERSION="7 .4"
1+ ARG PHPVERSION="8 .4"
22FROM php:$PHPVERSION-cli-alpine
33
44RUN apk --update --no-cache add \
@@ -8,6 +8,13 @@ RUN apk --update --no-cache add \
88RUN docker-php-ext-install \
99 pdo_mysql
1010
11+ RUN apk add --no-cache \
12+ $PHPIZE_DEPS \
13+ linux-headers \
14+ && pecl install xdebug-3.4.2 \
15+ && docker-php-ext-enable xdebug \
16+ && rm -rf /tmp/* /var/cache/apk/*
17+
1118RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
1219
1320WORKDIR /app
Original file line number Diff line number Diff line change 2121 }
2222 },
2323 "require" : {
24- "php" : " >=7 .4.0" ,
24+ "php" : " >=8 .4.0" ,
2525 "ext-openssl" : " *" ,
2626 "ext-session" : " *" ,
2727 "ext-mbstring" : " *"
2828 },
2929 "require-dev" : {
30- "friendsofphp/php-cs-fixer" : " ^2.16 || ^3.0" ,
31- "phpunit/phpunit" : " ^9.1 || ^10.0 || ^11.0" ,
32- "predis/predis" : " ^1.1 || ^2.0" ,
33- "rancoud/database" : " ^6.0" ,
34- "squizlabs/php_codesniffer" : " ^3.5"
30+ "friendsofphp/php-cs-fixer" : " ^3.0" ,
31+ "phpunit/phpunit" : " ^12.0" ,
32+ "predis/predis" : " ^2.0" ,
33+ "rancoud/database" : " ^6.0"
3534 },
3635 "scripts" : {
3736 "ci" : [
3837 " @lint" ,
3938 " @test"
4039 ],
4140 "lint" : [
42- " phpcbf" ,
4341 " php-cs-fixer fix"
4442 ],
4543 "test" : [
46- " phpdbg -qrr vendor/bin/ phpunit --colors --coverage-html ./coverage --coverage-text --coverage-clover ./coverage/clover.xml -dmemory_limit=256M "
44+ " phpunit --colors --coverage-html ./coverage"
4745 ]
4846 }
4947}
You can’t perform that action at this time.
0 commit comments