From 10fed012c3da7ee06e7996f9d8bde84235cc09e6 Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 12 Oct 2023 22:38:58 +0100 Subject: [PATCH] Fix weird psalm issue and ignore platform reqs on 8.3 Signed-off-by: George Steel --- .laminas-ci.json | 6 ++++++ test/InMemoryContainer.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .laminas-ci.json diff --git a/.laminas-ci.json b/.laminas-ci.json new file mode 100644 index 0000000..18f2b49 --- /dev/null +++ b/.laminas-ci.json @@ -0,0 +1,6 @@ +{ + "extensions": [], + "ignore_php_platform_requirements": { + "8.3": true + } +} diff --git a/test/InMemoryContainer.php b/test/InMemoryContainer.php index 11a9311..e7271d5 100644 --- a/test/InMemoryContainer.php +++ b/test/InMemoryContainer.php @@ -26,7 +26,7 @@ public function __construct(public array $services = []) * @template T * @psalm-suppress MixedReturnStatement */ - public function get(string $id): mixed + public function get($id): mixed { if (! $this->has($id)) { throw new class (