propelorm/Propel2 — Issue #9: Fix unit tests due to PropelQuickBuilder errors
Author: willdurand
Created: 2011-10-17 21:57:06+00:00
State: open

The `PropelQuickBuilder` doesn't work at the moment, we get the following error:

> phpunit -c phpunit.xml.dist tests/Propel/Tests/Generator/Builder/Om/GeneratedObjectArrayColumnTypeTest.php
>
>PHPUnit 3.5.14 by Sebastian Bergmann.
>
>Fatal error: Cannot use Propel\Runtime\Propel as Propel because the name is already in use in /Users/william/projects/Propel/Propel2/src/Propel/Generator/Util/PropelQuickBuilder.php(141) : eval()'d code on line 816

Due to `use` statements, we cannot call `eval()`.

William

/ping @fzaninotto