Skip to content
New issue

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

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

Already on GitHub? # to your account

Use only one autoloader if possible #864

Merged
merged 1 commit into from
Mar 31, 2016
Merged

Conversation

boekkooi
Copy link
Contributor

Hi there,

So I finally had some time in my project to go on the hunt for some strange behaviour with 3.1.0RC2.
Because the project that I'm working on has a less then normal structure and behat is installed as a symlink, bin/behat managed to load 2 different and conflicting autoloaders.

Since #830 requires both autoloaders I added a simple check to see if the first/current working directory autoloader adds behat, if so when there is no need to load any extra autoloaders.

Let me know what you think.

Cheers,
Warnar

@everzet everzet merged commit 637f237 into Behat:master Mar 31, 2016
@everzet
Copy link
Member

everzet commented Mar 31, 2016

Thank you very much for contribution!

@boekkooi
Copy link
Contributor Author

No problem thanks for the merge and your great work!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants