diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f811e0..e939824 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,9 @@ name: CI on: [push, pull_request_target] +env: + PHP_VERSION: 8.4 + jobs: tests: name: Run tests @@ -13,8 +16,7 @@ jobs: - name: 🐘 Setup PHP uses: shivammathur/setup-php@master with: - php-version: "8.3" - tools: composer + php-version: ${{ env.PHP_VERSION }} env: update: true @@ -40,8 +42,7 @@ jobs: - name: 🐘 Setup PHP uses: shivammathur/setup-php@master with: - php-version: "8.3" - tools: composer + php-version: ${{ env.PHP_VERSION }} env: update: true @@ -61,8 +62,7 @@ jobs: - name: 🐘 Setup PHP uses: shivammathur/setup-php@master with: - php-version: "8.3" - tools: composer + php-version: ${{ env.PHP_VERSION }} env: update: true diff --git a/app/VirtualPackages/VirtualPackageFactory.php b/app/VirtualPackages/VirtualPackageFactory.php index 4ee9e23..1658733 100644 --- a/app/VirtualPackages/VirtualPackageFactory.php +++ b/app/VirtualPackages/VirtualPackageFactory.php @@ -24,6 +24,7 @@ public static function php(): VirtualPackage new VirtualPackageVersion('8.1', 'https://www.php.net/ChangeLog-8.php#PHP_8_1'), new VirtualPackageVersion('8.2', 'https://www.php.net/ChangeLog-8.php#PHP_8_2'), new VirtualPackageVersion('8.3', 'https://www.php.net/ChangeLog-8.php#PHP_8_3'), + new VirtualPackageVersion('8.4', 'https://www.php.net/ChangeLog-8.php#PHP_8_4'), ] ); } diff --git a/composer.json b/composer.json index 11e5169..d7ac029 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "license": "MIT", "require": { - "php": "^8.3", + "php": "^8.4", "composer/composer": "^2.7", "guzzlehttp/guzzle": "^7.3", "knplabs/packagist-api": "dev-master", diff --git a/composer.lock b/composer.lock index 90a5208..16d657d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "82c8983ce8a810c4310c18bc3b5c00fc", + "content-hash": "8f5be814fbb1b97e48b5bbbcdb604036", "packages": [ { "name": "brick/math", @@ -9689,8 +9689,8 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.3" + "php": "^8.4" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" }