TencentCloud / TencentCloud/tencentcloud-sdk-php

升级php8.5后报错:Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1

Open
#137 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
366
Forks
180
PR merge metrics
No merged PRs in 30d

Description

调用接口:DescribeDomainPriceList

8.5以下版本没问题,升级php8.5后报错:Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the DescribeDomainPriceList API call as the entry point and reproduce the report on PHP 8.5. Trace where ReflectionProperty::setAccessible() is invoked, then verify that the deprecation is gone and the API call still behaves as before.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.