h4cc / h4cc/AliceFixturesBundle

On errors give the fixture yaml filename

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
74
Forks
24
PR merge metrics
No merged PRs in 30d

Description

First of all Thank you for this very nice/usefull Bundle.

When we get errors using it, we often don't have the yaml filename on our error stack.
For exemple the following error:
"[Symfony\Component\Debug\Exception\ContextErrorException]
Catchable Fatal Error: Argument 1 passed to
FOS\UserBundle\Model\User::setRoles() must be of the type array, string given, called in ...\vendor\nelmio\alice\src\Nelmio\Alice\Loader\Base.php on line 506 and defined"

To fix our bug, we must comment yaml files to be able to find where the current error is located
and then fix it.

With the concerned fixture yaml filename given, we could save precious time debugging :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.