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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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