Skip to content

Commit 4242325

Browse files
committed
Merge pull request #304 from symfony-cmf/phpcr_odm_1_3
fix issues with PHP7 due to use of String annotation class
2 parents 6873b6c + 49a41c0 commit 4242325

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

Tests/Resources/Document/Content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Content
3434
private $name;
3535

3636
/**
37-
* @PHPCRODM\String
37+
* @PHPCRODM\Field(type="string")
3838
*/
3939
private $title;
4040

Tests/WebTest/RedirectRouteAdminTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717

1818
class RedirectRouteAdminTest extends BaseTestCase
1919
{
20-
/**
21-
* @var \Symfony\Bundle\FrameworkBundle\Client
22-
*/
23-
private $client;
24-
2520
public function setUp()
2621
{
2722
$this->db('PHPCR')->loadFixtures(array(

Tests/WebTest/RouteAdminTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717

1818
class RouteAdminTest extends BaseTestCase
1919
{
20-
/**
21-
* @var \Symfony\Bundle\FrameworkBundle\Client
22-
*/
23-
private $client;
24-
2520
public function setUp()
2621
{
2722
$this->db('PHPCR')->loadFixtures(array(

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
},
2121
"require-dev": {
2222
"symfony-cmf/core-bundle": "~1.1",
23-
"symfony-cmf/testing": "~1.2,>=1.2.6",
23+
"symfony-cmf/testing": "~1.2,>=1.2.7",
24+
"doctrine/phpcr-odm": "~1.3",
2425
"matthiasnoback/symfony-dependency-injection-test": "~0.6",
2526
"matthiasnoback/symfony-config-test": "0.*",
2627
"phpunit/php-code-coverage": "@stable",

0 commit comments

Comments
 (0)