This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +47
-4
lines changed Expand file tree Collapse file tree 4 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.5
5
4
- 5.6
6
5
- 7.0
7
6
- hhvm
@@ -21,7 +20,7 @@ matrix:
21
20
include :
22
21
- php : 7.1
23
22
env : DEPS=dev SYMFONY_VERSION=3.3.*
24
- - php : 5.5
23
+ - php : 5.6
25
24
env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
26
25
- php : 7.1
27
26
env : SYMFONY_VERSION=3.1.*
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"require" : {
15
- "php" : " ^5.5.9 |^7.0" ,
15
+ "php" : " ^5.6 |^7.0" ,
16
16
"symfony/framework-bundle" : " ^2.8|^3.0" ,
17
17
"symfony-cmf/core-bundle" : " ^2.0@dev" ,
18
18
"doctrine/phpcr-bundle" : " ^1.1" ,
19
- "doctrine/phpcr-odm" : " ^2.0" ,
19
+ "doctrine/phpcr-odm" : " ^1.4|^ 2.0" ,
20
20
"knplabs/knp-menu-bundle" : " ^2.0.0" ,
21
21
"knplabs/knp-menu" : " ^2.0.0"
22
22
},
Original file line number Diff line number Diff line change @@ -39,6 +39,28 @@ public function getParentDocument()
39
39
return $ this ->getParentObject ();
40
40
}
41
41
42
+ /**
43
+ * @deprecated For BC with the PHPCR-ODM 1.4 HierarchyInterface
44
+ * @see setParentDocument
45
+ */
46
+ public function setParent ($ parent )
47
+ {
48
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
49
+
50
+ return $ this ->setParentDocument ($ parent );
51
+ }
52
+
53
+ /**
54
+ * @deprecated For BC with the PHPCR-ODM 1.4 HierarchyInterface
55
+ * @see getParentDocument
56
+ */
57
+ public function getParent ()
58
+ {
59
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
60
+
61
+ return $ this ->getParentDocument ();
62
+ }
63
+
42
64
/**
43
65
* Convenience method to set parent and name at the same time.
44
66
*
Original file line number Diff line number Diff line change @@ -39,6 +39,28 @@ public function getParentDocument()
39
39
return $ this ->getParentObject ();
40
40
}
41
41
42
+ /**
43
+ * @deprecated For BC with the PHPCR-ODM 1.4 HierarchyInterface
44
+ * @see setParentDocument
45
+ */
46
+ public function setParent ($ parent )
47
+ {
48
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
49
+
50
+ return $ this ->setParentDocument ($ parent );
51
+ }
52
+
53
+ /**
54
+ * @deprecated For BC with the PHPCR-ODM 1.4 HierarchyInterface
55
+ * @see getParentDocument
56
+ */
57
+ public function getParent ()
58
+ {
59
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
60
+
61
+ return $ this ->getParentDocument ();
62
+ }
63
+
42
64
/**
43
65
* Convenience method to set parent and name at the same time.
44
66
*
You can’t perform that action at this time.
0 commit comments