Skip to content

New Installer added, PRs merged

Compare
Choose a tag to compare
@DavertMik DavertMik released this 25 Nov 04:19
· 59 commits to 2.0 since this release
  • codeception/c3 is now a Composer plugin and installs c3.php by automatically. Please remove old post-install and post-update hooks from composer.json.
  • Installer will ask to replace c3.php file on update for not to overwrite local changes (with help of @jasny)
  • Fixed loading of codeception functions (by @raistlin)
  • Changed priority of autoloader (by @raistlin):

I think this new order has lot more sense:
1st. If codecept.phar file exists, load classes from there.
2nd. If autoloader exists, load it.
2nd-b. In case autoloader of codeception exists in vendor path, also it should be loaded, if not, some methods like 'codeception_relative_path' will not be loaded and Codeception/c3 will fail to load.
3rd. Try to load codeception autoloader (outside of vendor's path)
4th, Fail, no autoloader found.

  • Allow c3 to use codeception.dist.yml by @gammamatrix
  • Solution for Undefined variable C3_CODECOVERAGE_MEDIATE_STORAGE in __c3_error by @rhertogh #14