Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit f391041

Browse files
committed
Added PHP 7 support
1 parent 6f2e8ef commit f391041

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Tests/Resources/TestBundle/Document/Article.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ class Article
1515
public $id;
1616

1717
/**
18-
* @PHPCR\String()
18+
* @PHPCR\Field(type="string")
1919
*/
2020
public $title;
2121

2222
/**
23-
* @PHPCR\String()
23+
* @PHPCR\Field(type="string")
2424
*/
2525
public $body;
2626
}

composer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@
1010
}
1111
],
1212
"minimum-stability": "dev",
13+
"prefer-stable": true,
1314
"require": {
1415
"php": ">=5.3.9",
1516
"symfony-cmf/resource-bundle": "~1.0",
1617
"jms/serializer-bundle": "~0.13"
1718
},
1819
"require-dev": {
19-
"symfony-cmf/testing": "~1.1",
20-
"phpspec/prophecy-phpunit": "~1.0.0",
21-
"behat/behat": "~3.0.0",
22-
"behat/web-api-extension" : "~1.0",
23-
"behat/symfony2-extension": "~2.0@dev",
24-
"matthiasnoback/symfony-dependency-injection-test": "0.*",
25-
"matthiasnoback/symfony-config-test": "0.*",
26-
"sonata-project/doctrine-phpcr-admin-bundle": "~1.2"
20+
"symfony-cmf/testing": "^1.3",
21+
"phpspec/prophecy-phpunit": "^1.0",
22+
"doctrine/phpcr-odm": "^1.3",
23+
"behat/behat": "^3.0",
24+
"behat/web-api-extension" : "^1.0",
25+
"behat/symfony2-extension": "^2.0@dev",
26+
"matthiasnoback/symfony-dependency-injection-test": "^0.1",
27+
"matthiasnoback/symfony-config-test": "^0.1",
28+
"sonata-project/doctrine-phpcr-admin-bundle": "^1.2"
2729
},
2830
"suggest": {
2931
"doctrine/phpcr-odm": "To enable support for the PHPCR ODM documents",

0 commit comments

Comments
 (0)