File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 26
26
"matthiasnoback/symfony-dependency-injection-test" : " ^4.1.0" ,
27
27
"matthiasnoback/symfony-config-test" : " ^4.1.0" ,
28
28
"doctrine/orm" : " ^2.5" ,
29
- "symfony-cmf/testing" : " ^3.2 " ,
29
+ "symfony-cmf/testing" : " ^4.0 " ,
30
30
"doctrine/data-fixtures" : " ^1.0.0" ,
31
31
"symfony/form" : " ^4.4 || ^5.0" ,
32
32
"symfony/translation" : " ^4.4 || ^5.0" ,
35
35
"doctrine/doctrine-bundle" : " ^2.0" ,
36
36
"symfony/twig-bundle" : " ^4.4 || ^5.0" ,
37
37
"symfony/monolog-bundle" : " ^3.5" ,
38
- "doctrine/phpcr-bundle" : " ^2.1 " ,
38
+ "doctrine/phpcr-bundle" : " ^2.3 " ,
39
39
"symfony/serializer" : " ^4.4 || ^5.0" ,
40
40
"twig/twig" : " ^2.4.4 || ^3.0"
41
41
},
Original file line number Diff line number Diff line change 31
31
</filter >
32
32
33
33
<php >
34
- <env name =" KERNEL_CLASS" value =" \Symfony\Cmf\Bundle\RoutingBundle\Tests\Fixtures\App\Kernel" />
34
+ <env name =" KERNEL_CLASS" value =" \Symfony\Cmf\Bundle\RoutingBundle\Tests\Fixtures\App\Kernel" />
35
35
</php >
36
36
</phpunit >
Original file line number Diff line number Diff line change 1
1
framework :
2
- serializer : ~
2
+ serializer :
3
+ enable_annotations : false
4
+ property_access : ~
5
+ annotations : ~
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \Functional ;
13
13
14
- use Doctrine \ODM \PHPCR \DocumentManager ;
14
+ use Doctrine \ODM \PHPCR \DocumentManagerInterface ;
15
15
use PHPCR \Util \PathHelper ;
16
16
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
17
17
use Symfony \Cmf \Bundle \RoutingBundle \Tests \Fixtures \App \Document \Content ;
20
20
class BaseTestCase extends ComponentBaseTestCase
21
21
{
22
22
/**
23
- * @return DocumentManager
23
+ * @return DocumentManagerInterface
24
24
*/
25
25
protected function getDm ()
26
26
{
27
- $ dm = $ this ->db ('PHPCR ' )->getOm ();
28
-
29
- return $ dm ;
27
+ return $ this ->db ('PHPCR ' )->getOm ();
30
28
}
31
29
32
30
/**
Original file line number Diff line number Diff line change 16
16
17
17
class OrmTestCase extends ComponentBaseTestCase
18
18
{
19
- protected function getKernelConfiguration (): array
19
+ protected static function getKernelConfiguration (): array
20
20
{
21
21
return [
22
22
'environment ' => 'orm ' ,
You can’t perform that action at this time.
0 commit comments