Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
2790ee79
Commit
2790ee79
authored
Jan 08, 2014
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #495 from deeky666/fix-hhvm-data-access-test
Fix DataAccess test on HHVM
parents
073f5b62
b4d2d957
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DataAccessTest.php
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
+2
-2
No files found.
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
View file @
2790ee79
...
...
@@ -585,7 +585,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase
$sql
=
"SELECT * FROM fetch_table"
;
$stmt
=
$this
->
_conn
->
query
(
$sql
);
$stmt
->
setFetchMode
(
\PDO
::
FETCH_CLASS
,
__NAMESPACE__
.
'\\MyFetchClass'
,
array
()
);
$stmt
->
setFetchMode
(
\PDO
::
FETCH_CLASS
,
__NAMESPACE__
.
'\\MyFetchClass'
);
$results
=
$stmt
->
fetchAll
();
...
...
@@ -607,7 +607,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase
$sql
=
"SELECT * FROM fetch_table"
;
$stmt
=
$this
->
_conn
->
query
(
$sql
);
$stmt
->
setFetchMode
(
\PDO
::
FETCH_CLASS
,
__NAMESPACE__
.
'\\MyFetchClass'
,
array
()
);
$stmt
->
setFetchMode
(
\PDO
::
FETCH_CLASS
,
__NAMESPACE__
.
'\\MyFetchClass'
);
$results
=
array
();
while
(
$row
=
$stmt
->
fetch
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment