Skip to content

Commit

Permalink
Merge pull request #301 from roderik/doctrine-2.5-bc-break
Browse files Browse the repository at this point in the history
[FormBundle] Fix Doctrine 2.5 BC break for the 3.0 branch
  • Loading branch information
Roderik van der Veer committed Apr 10, 2015
2 parents 390b03b + 3179696 commit 7feb023
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ protected function setUp()
->method('getQuoteStrategy')
->will($this->returnValue($strat));

$conf->expects($this->any())
->method('getDefaultQueryHints')
->willReturn(array());

$conf->expects($this->any())
->method('isSecondLevelCacheEnabled')
->willReturn(false);

$this->em->expects($this->any())
->method('getConfiguration')
->will($this->returnValue($conf));
Expand Down
2 changes: 1 addition & 1 deletion src/Kunstmaan/FormBundle/Entity/FormSubmissionField.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* "email" = "Kunstmaan\FormBundle\Entity\FormSubmissionFieldTypes\EmailFormSubmissionField"
* })
*/
class FormSubmissionField
abstract class FormSubmissionField
{
/**
* This id of this FormSubmissionField
Expand Down

0 comments on commit 7feb023

Please sign in to comment.