Skip to content

Commit d754a18

Browse files
Update avro-php version (#75)
Adds PHP 8.2 support
1 parent b49d7c6 commit d754a18

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

.github/workflows/checks.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ jobs:
2828
matrix:
2929
php:
3030
-
31-
version: 7.4
32-
xdebug: 3.1.5
31+
version: '7.4'
32+
xdebug: '3.1.5'
3333
-
34-
version: 8.0
35-
xdebug: 3.1.5
34+
version: '8.0'
35+
xdebug: '3.1.5'
3636
-
37-
version: 8.1
38-
xdebug: 3.1.5
37+
version: '8.1'
38+
xdebug: '3.1.5'
39+
-
40+
version: '8.2'
41+
xdebug: '3.2.1'
3942
runs-on: ubuntu-20.04
4043
steps:
4144
-
@@ -79,22 +82,28 @@ jobs:
7982
matrix:
8083
php:
8184
-
82-
version: 7.4
85+
version: '7.4'
86+
composer: --prefer-lowest
87+
-
88+
version: '8.0'
8389
composer: --prefer-lowest
8490
-
85-
version: 8.0
91+
version: '8.1'
8692
composer: --prefer-lowest
8793
-
88-
version: 8.1
94+
version: '8.2'
8995
composer: --prefer-lowest
9096
-
91-
version: 7.4
97+
version: '7.4'
98+
composer: --prefer-stable
99+
-
100+
version: '8.0'
92101
composer: --prefer-stable
93102
-
94-
version: 8.0
103+
version: '8.1'
95104
composer: --prefer-stable
96105
-
97-
version: 8.1
106+
version: '8.2'
98107
composer: --prefer-stable
99108
steps:
100109
-

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
1212
&& docker-php-source extract \
1313
&& docker-php-ext-configure zip \
1414
&& docker-php-ext-install zip \
15+
&& apk add --update linux-headers \
1516
&& mkdir -p /usr/src/php/ext/xdebug \
1617
&& curl -fsSL https://github.com/xdebug/xdebug/archive/$XDEBUG_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/xdebug --strip 1 \
1718
&& docker-php-ext-install xdebug \

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^7.3|^8.0|^8.1",
26+
"php": "^7.3|^8.0",
2727
"beberlei/assert": "^2.9.9|~3.0",
28-
"flix-tech/confluent-schema-registry-api": "^7.6.0",
28+
"flix-tech/confluent-schema-registry-api": "^8.0",
2929
"guzzlehttp/promises": "^1.4.0",
30-
"flix-tech/avro-php": "^4.3.0",
30+
"flix-tech/avro-php": "^5.0",
3131
"widmogrod/php-functional": "^6.0"
3232
},
3333
"require-dev": {

0 commit comments

Comments
 (0)