From 5bc06a7a125cdfa147f5a409a6e0790a4cd276c1 Mon Sep 17 00:00:00 2001 From: James Read Date: Sun, 19 May 2024 19:24:23 +0800 Subject: [PATCH] chore: supporting PHP 8.2 Supporting all supported versions of PHP 8.2 and 8.3 --- .github/workflows/tests.yml | 2 +- composer.json | 2 +- public/index.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4cc5b096..2d0533e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.3] + php: [8.2, 8.3] experimental: [false] include: - php: 8.3 diff --git a/composer.json b/composer.json index d3d54326..a6d3badd 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } ], "require": { - "php": "^8.3", + "php": "^8.2", "ext-json": "*", "monolog/monolog": "^2.9", "php-di/php-di": "^6.4", diff --git a/public/index.php b/public/index.php index bc583c82..75a37322 100644 --- a/public/index.php +++ b/public/index.php @@ -16,7 +16,7 @@ $containerBuilder = new ContainerBuilder(); if (false) { // Should be set to true in production - $containerBuilder->enableCompilation(__DIR__ . '/../var/cache'); + $containerBuilder->enableCompilation(__DIR__ . '/../var/cache'); } // Set up settings