writeMetadataPdo surplus configuration
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
Research direction
Start at MetaLoader.php:675 and inspect the construction of Metadata\MetaDataStorageHandlerPdo, then compare it with that class's constructor and its use of Database::getInstance(). Determine whether the surplus configuration should be removed or handled consistently, and verify that the constructor warning no longer appears.
Written by the indexing model from the issue text.
Description
There's a Too many arguments to function __construct(). 2 provided, but 1 accepted. warning being picked up in MetaLoader.php:675
The constructor on Metadata\MetaDataStorageHandlerPdo accepts one config parameter but then doesn't do anything with it anyway, calling Database::getInstance(); instead.
My inclination was to drop passing the config in the metarefresh module entirely but not sure if that's the right approach.
- Dominant language
- PHP
- Stars
- 9
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
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.
More from simplesamlphp/simplesamlphp-module-metarefresh
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
simplesamlphp/simplesamlphp-module-metarefresh#51 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
simplesamlphp/simplesamlphp-module-metarefresh#1 · 3 comments ·
All issues in simplesamlphp/simplesamlphp-module-metarefresh
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·