We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1241f5a commit 8175e94Copy full SHA for 8175e94
1 file changed
tests/phpunit/tests/cache.php
@@ -539,7 +539,6 @@ public function test_stats_with_non_serializable_simplexml_data() {
539
// any object-clone logic in set(), simulating a real-world scenario where
540
// a non-serializable object ends up in the cache.
541
$cache_property = new ReflectionProperty( $this->cache, 'cache' );
542
- $cache_property->setAccessible( true );
543
$cache_data = $cache_property->getValue( $this->cache );
544
$cache_data['xml-group']['item1'] = $xml_object;
545
$cache_property->setValue( $this->cache, $cache_data );
0 commit comments