Compatibility with PHP 8.1 - \iterator update
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
Research direction
The report points to ThriftSQL/Utils/Iterator.php inside the packaged phar at line 52; first locate the corresponding source file and inspect Iterator::next() against PHP 8.1's Iterator contract. Done means the reported deprecation no longer appears when the library is packaged and used with PHP 8.1.
Written by the indexing model from the issue text.
Description
Deprecated: Return type of ThriftSQL\Utils\Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:.../ThriftSQL.phar/ThriftSQL/Utils/Iterator.php on line 52
### Tasks
- Dominant language
- PHP
- Stars
- 112
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from Automattic/php-thrift-sql
-
能否只是kerberos认证的hiveOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
Automattic/php-thrift-sql#49 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Automattic/php-thrift-sql#47 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Automattic/php-thrift-sql#46 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
Automattic/php-thrift-sql#28 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Automattic/php-thrift-sql#13 · 5 comments ·
All issues in Automattic/php-thrift-sql
Similar issues
-
RFC
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Performance: faster AopComposerLoader::findFile() for classes outside the cache (~1.6 µs per class)OpenEnhancement Performance
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MagnaCapax/PMSS#1009 ·
Maintainers usually reply within 5 days
-
product / databases product / functions product / self-hosted product / storage sdk / cli
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day