I get the following notice:
Deprecation Notice: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect in phar://C:/composer.phar/src/Composer/Repository/FilesystemRepository.php:180
Per documentation, setAccessible has no effect:
Note: As of PHP 8.1.0, calling this method has no effect; all properties are accessible by default.
Reference: https://www.php.net/manual/en/reflectionproperty.setaccessible.php
All the setAccessible(true) calls need to be removed.