Merge branch '2.0.x' into 2.1.x
Conflicts: Tests/Transformer/ModelToElasticaAutoTransformerTest.php
This commit is contained in:
commit
4a889406e9
|
@ -206,8 +206,8 @@ class ModelToElasticaAutoTransformerTest extends \PHPUnit_Framework_TestCase
|
|||
/* ProperyAccess 2.3+ removed PropertyAccessDeniedException, so we
|
||||
* must expect NoSuchPropertyException in its absence.
|
||||
*/
|
||||
$expectedException = class_exists('Symfony\Component\Form\Exception\PropertyAccessDeniedException')
|
||||
? 'Symfony\Component\Form\Exception\PropertyAccessDeniedException'
|
||||
$expectedException = class_exists('Symfony\Component\PropertyAccess\Exception\PropertyAccessDeniedException')
|
||||
? 'Symfony\Component\PropertyAccess\Exception\PropertyAccessDeniedException'
|
||||
: 'Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException';
|
||||
|
||||
$this->setExpectedException($expectedException);
|
||||
|
|
Loading…
Reference in a new issue