Skip to content

Commit

Permalink
Update avro-php version (#75)
Browse files Browse the repository at this point in the history
Adds PHP 8.2 support
  • Loading branch information
MaurizioMoreo authored May 19, 2023
1 parent b49d7c6 commit d754a18
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
matrix:
php:
-
version: 7.4
xdebug: 3.1.5
version: '7.4'
xdebug: '3.1.5'
-
version: 8.0
xdebug: 3.1.5
version: '8.0'
xdebug: '3.1.5'
-
version: 8.1
xdebug: 3.1.5
version: '8.1'
xdebug: '3.1.5'
-
version: '8.2'
xdebug: '3.2.1'
runs-on: ubuntu-20.04
steps:
-
Expand Down Expand Up @@ -79,22 +82,28 @@ jobs:
matrix:
php:
-
version: 7.4
version: '7.4'
composer: --prefer-lowest
-
version: '8.0'
composer: --prefer-lowest
-
version: 8.0
version: '8.1'
composer: --prefer-lowest
-
version: 8.1
version: '8.2'
composer: --prefer-lowest
-
version: 7.4
version: '7.4'
composer: --prefer-stable
-
version: '8.0'
composer: --prefer-stable
-
version: 8.0
version: '8.1'
composer: --prefer-stable
-
version: 8.1
version: '8.2'
composer: --prefer-stable
steps:
-
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& docker-php-source extract \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& apk add --update linux-headers \
&& mkdir -p /usr/src/php/ext/xdebug \
&& curl -fsSL https://github.com/xdebug/xdebug/archive/$XDEBUG_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/xdebug --strip 1 \
&& docker-php-ext-install xdebug \
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
}
],
"require": {
"php": "^7.3|^8.0|^8.1",
"php": "^7.3|^8.0",
"beberlei/assert": "^2.9.9|~3.0",
"flix-tech/confluent-schema-registry-api": "^7.6.0",
"flix-tech/confluent-schema-registry-api": "^8.0",
"guzzlehttp/promises": "^1.4.0",
"flix-tech/avro-php": "^4.3.0",
"flix-tech/avro-php": "^5.0",
"widmogrod/php-functional": "^6.0"
},
"require-dev": {
Expand Down

0 comments on commit d754a18

Please sign in to comment.