build command seems to require phpunit installed #963

cebe opened this Issue Jul 13, 2012 · 2 comments


None yet

3 participants

cebe commented Jul 13, 2012

not a good thing for translators, right?

samdark commented Jul 13, 2012

Yeah. Should not be mandatory.

cebe commented Jul 15, 2012

There are also problems with api command an phpunit autoloader.
created a pull request in phpunit on that and will create a pull request with workaround for yii soon. sebastianbergmann/phpunit#605

@cebe cebe added a commit to cebe/yii that referenced this issue Jul 15, 2012
@cebe cebe fixed PHPUnit autoloading
- removed requirement for PHPUnit from build command #963
- fixed PHPUnit autoloading in CTestCase
  register phpunit autoloader before Yii autoloader to handle phpunit
  autoloads correctly.
  Also require PHPUnit/Util/Filesystem.php to avoid Yii autoloader to
  crash initializing of PHPUnit autoloader, see also:
- imported CTestCase in CWebTestCase to ensure PHPUnit autoloader is
  initialized correctly
@mdomba mdomba closed this Jul 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment