Skip to content

Commit

Permalink
Drop PHP 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Feb 10, 2023
1 parent 0e110ca commit 8790104
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- 6379/tcp
strategy:
matrix:
php: ['8.0', '8.1', '8.2']
php: ['8.1', '8.2']
dependencies: ['', '--prefer-lowest --prefer-stable']
steps:
- name: Checkout
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v3
- uses: shivammathur/setup-php@2.24.0
with:
php-version: '8.0'
php-version: '8.1'
extensions: mbstring, redis, apcu
ini-values: apc.enable_cli=1, zend.assertions=1
coverage: pcov
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php: ['8.0', '8.1', '8.2']
php: ['8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
uses: actions/checkout@v3
- uses: shivammathur/setup-php@2.24.0
with:
php-version: '8.0'
php-version: '8.1'
extensions: mbstring, redis, apcu
coverage: none
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Prometheus instrumentation library",
"license": "Apache-2.0",
"require": {
"php": "~8.0.0|~8.1.0|~8.2.0",
"php": "~8.1.0|~8.2.0",
"ext-json": "*",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
build:
context: php-fpm/
args:
PHP_VERSION: ${PHP_VERSION:-8.0}
PHP_VERSION: ${PHP_VERSION:-8.1}
volumes:
- .:/var/www/html
environment:
Expand All @@ -26,7 +26,7 @@ services:
build:
context: php-fpm/
args:
PHP_VERSION: ${PHP_VERSION:-8.0}
PHP_VERSION: ${PHP_VERSION:-8.1}
volumes:
- .:/var/www/html
environment:
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}) {} }:

let
php = pkgs.php80.withExtensions ({ enabled, all }: with all; enabled ++ [ redis apcu ]);
php = pkgs.php81.withExtensions ({ enabled, all }: with all; enabled ++ [ redis apcu ]);
in
pkgs.mkShell {
nativeBuildInputs = [
Expand Down

0 comments on commit 8790104

Please sign in to comment.