From 52c55fd45a81f67c70078d982af46a97bb9cf0f6 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Sun, 21 Jan 2024 18:51:52 -0500 Subject: [PATCH] Bump to 8.0 --- .github/workflows/ci.yml | 2 +- composer.json | 2 +- src/Plugin/SharedLoggerTrait.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f54a1d4..85f53ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: operating-system: [ubuntu-latest] - php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout diff --git a/composer.json b/composer.json index c8a0a37..a8635b2 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "source": "https://github.com/Vectorface/auth" }, "require": { - "php": ">=7.3", + "php": ">=8.0", "psr/log": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { diff --git a/src/Plugin/SharedLoggerTrait.php b/src/Plugin/SharedLoggerTrait.php index f6d4060..930b778 100644 --- a/src/Plugin/SharedLoggerTrait.php +++ b/src/Plugin/SharedLoggerTrait.php @@ -33,7 +33,7 @@ trait SharedLoggerTrait * @param Stringable|string $message The message to log. * @param array $context Further information about the context of the log message. */ - protected function log($level, Stringable|string $message, array $context = []) + protected function log($level, Stringable|string $message, array $context = []): void { $logger = null; if (isset($this->logger)) {