Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dependent fixtures to reference other types of fixture without triggering an error. #131

Open
wants to merge 11 commits into
base: 1.5.x
Choose a base branch
from

Conversation

r00ps
Copy link

@r00ps r00ps commented Jan 24, 2014

When mixing ordered and dependent fixtures, if a dependent fixture references an ordered fixture in getDependencies it triggers an error during loading. This is because the ordered fixtures are not included in the list of classes that need to be sequenced, triggering a Notice error when using the class name as an array index.

This fix checks to see if the class name exists in the array before checking if it has been sequenced already.

Dirk Luijk and others added 11 commits August 13, 2013 17:20
PhpStorm shows an error. I think it's because ObjectManager was already imported.
addReference() actually throws exception
Explicit modifier scope for function load
Add explicit visibility for function load
Syntax highlighting on README.md
…pes of fixture without triggering Notice errors while sequencing
@lavoiesl
Copy link
Member

Can you rebase and provide a test for this? I am not sure it is still needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants