umpirsky / centipede

:sparkler: The Simplest automated testing tool on Earth.
MIT License
141 stars 15 forks source link

Fix auto-loading with Composer "bin-dir" option #11

Closed gnutix closed 9 years ago

gnutix commented 9 years ago

When using Composer "bin-dir" to another folder than vendor/bin, the autoloading of centipede breaks. The code used in this PR has been taken from SensioLabs' security-checker binaries, to ensure maximum correctness.

umpirsky commented 9 years ago

@gnutix Other then this issue, it's perfect, thanks! :+1:

gnutix commented 9 years ago

@umpirsky here you go !

umpirsky commented 9 years ago

Awesome, thanks @gnutix!