In our current test setup we're using both PHPSpec2 Expect and Kahlan. Unfortunately both are using autoloading of expect() functions in composer. Kahlan has ability to disable its expect using environment variable. To properly run kahlans we needed ability to disable PHPSpec2 expect. That way we can run Kahlan or PHPSpec flawlessy.
In our current test setup we're using both PHPSpec2 Expect and Kahlan. Unfortunately both are using autoloading of expect() functions in composer. Kahlan has ability to disable its expect using environment variable. To properly run kahlans we needed ability to disable PHPSpec2 expect. That way we can run Kahlan or PHPSpec flawlessy.