summaryrefslogtreecommitdiff
path: root/composer.json
diff options
context:
space:
mode:
authorJoel Marcey <[email protected]>2013-08-28 07:39:28 -0700
committerJoel Marcey <[email protected]>2013-08-28 07:39:28 -0700
commit39825daf7003600c221bacf73210178fd1189080 (patch)
tree978629e8ff7bc48adb6a665b5639fb8c748a1abc /composer.json
parent01112f5ac14b24aed8038cc0ae99801007ef26b8 (diff)
Update bootstrap.php so the tests can run on both HHVM and Zend
PDOStatement does not have a direct constructor (i.e., __construct). Newing up a PDOStatement or subclass (e.g., MockPDOStatement) does technically work in Zend, but HHVM throws. A correct way to have the code currently structured in bootstrap.php work correctly on both Zend and HHVM is provide a default constructor and execute method in MockPDOStatement. It would probably best long term to avoid newing up a PDOStatement and create the queries another way. But this works for now.
Diffstat (limited to 'composer.json')
0 files changed, 0 insertions, 0 deletions