From b9818ea27b5f0702cd47eccac138e76bb709f9b2 Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Fri, 26 Dec 2025 23:18:02 -0700 Subject: [PATCH] ok, so only for php 7.4 and 8... --- tests/commands/AiGenerateInstructionsCommandTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/commands/AiGenerateInstructionsCommandTest.php b/tests/commands/AiGenerateInstructionsCommandTest.php index b905f9d..8e53444 100644 --- a/tests/commands/AiGenerateInstructionsCommandTest.php +++ b/tests/commands/AiGenerateInstructionsCommandTest.php @@ -71,6 +71,10 @@ class AiGenerateInstructionsCommandTest extends TestCase { } } if ($property) { + // only setAccessible if php 8 or php 7.4 + if (PHP_VERSION_ID < 80100) { + $property->setAccessible(true); + } $property->setValue($command, $path); } }