From 9ff6821fbd1ac5adee87f3a67a30467c70b7670e Mon Sep 17 00:00:00 2001 From: Christian Heel <66922325+heelc29@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:04:51 +0100 Subject: [PATCH] [3.x][PHP8.5] setAccessible() methods of various Reflection objects have been deprecated (#27) https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible --- Tests/CryptTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Tests/CryptTest.php b/Tests/CryptTest.php index cabfbcf9..ce45c46c 100644 --- a/Tests/CryptTest.php +++ b/Tests/CryptTest.php @@ -107,7 +107,6 @@ public function testSetKey() $this->object->setKey($key); $property = (new \ReflectionClass($this->object))->getProperty('key'); - $property->setAccessible(true); $this->assertSame($key, $property->getValue($this->object)); }