Suggestion: `loadFixtures()`: Change the default for `append` to false
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by locating the implementation and tests for $I->loadFixtures() in the module. Compare its current append default with the documented purge behavior, then determine how changing the default affects existing usage and what tests should define the new behavior.
Written by the indexing model from the issue text.
Description
The default mode when loading fixtures is to purge: https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html#loading-fixtures
By default the
loadcommand purges the database
But with $I->loadFixtures(), the default is to append. I think this is confusing and should be changed. However, I don't see any easy upgrade path... ;-)
- Dominant language
- PHP
- Stars
- 4
- Forks
- 2
- 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 Codeception/module-doctrine
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Codeception/module-doctrine#2 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
Codeception/module-doctrine#6 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in Codeception/module-doctrine
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day