Skip to content

Commit b7df043

Browse files
authored
Extend lifespan of CMSObject and fix deprecations tags (#44880)
Thank you @laoneo
1 parent 3f23711 commit b7df043

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

libraries/src/Object/CMSObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @since 1.7.0
2323
*
24-
* @deprecated 4.3 will be removed in 6.0
24+
* @deprecated 4.0 will be removed in 7.0
2525
* Use \stdClass or \Joomla\Registry\Registry instead.
2626
* Example: new \Joomla\Registry\Registry();
2727
*/
@@ -52,7 +52,7 @@ public function __construct($properties = null)
5252
*
5353
* @since 1.7.0
5454
*
55-
* @deprecated 4.3 will be removed in 6.0
55+
* @deprecated 3.1.4 will be removed in 7.0
5656
* Classes should provide their own __toString() implementation.
5757
*/
5858
public function __toString()

libraries/src/Object/LegacyErrorHandlingTrait.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @since 4.3.0
2121
*
22-
* @deprecated 4.3 will be removed in 6.0
22+
* @deprecated 4.3 will be removed in 7.0
2323
* Will be removed without replacement
2424
* Throw an Exception instead of setError
2525
*/
@@ -46,7 +46,7 @@ trait LegacyErrorHandlingTrait
4646
*
4747
* @since 1.7.0
4848
*
49-
* @deprecated 3.1.4 will be removed in 6.0
49+
* @deprecated 3.1.4 will be removed in 7.0
5050
* Will be removed without replacement
5151
* Catch thrown Exceptions instead of getError
5252
*/
@@ -78,7 +78,7 @@ public function getError($i = null, $toString = true)
7878
*
7979
* @since 1.7.0
8080
*
81-
* @deprecated 3.1.4 will be removed in 6.0
81+
* @deprecated 3.1.4 will be removed in 7.0
8282
* Will be removed without replacement
8383
* Catch thrown Exceptions instead of getErrors
8484
*/
@@ -96,7 +96,7 @@ public function getErrors()
9696
*
9797
* @since 1.7.0
9898
*
99-
* @deprecated 3.1.4 will be removed in 6.0
99+
* @deprecated 3.1.4 will be removed in 7.0
100100
* Will be removed without replacement
101101
* Throw an Exception instead of using setError
102102
*/

libraries/src/Object/LegacyPropertyManagementTrait.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @since 4.3.0
2121
*
22-
* @deprecated 4.3.0 will be removed in 6.0
22+
* @deprecated 4.3.0 will be removed in 7.0
2323
* Will be removed without replacement
2424
* Create proper setter functions for the individual properties or use a \Joomla\Registry\Registry
2525
*/
@@ -35,7 +35,7 @@ trait LegacyPropertyManagementTrait
3535
*
3636
* @since 1.7.0
3737
*
38-
* @deprecated 4.3.0 will be removed in 6.0
38+
* @deprecated 4.3.0 will be removed in 7.0
3939
* Defining dynamic properties should not be used anymore
4040
*/
4141
public function def($property, $default = null)
@@ -57,7 +57,7 @@ public function def($property, $default = null)
5757
*
5858
* @see CMSObject::getProperties()
5959
*
60-
* @deprecated 4.3.0 will be removed in 6.0
60+
* @deprecated 4.3.0 will be removed in 7.0
6161
* Create a proper getter function for the property
6262
*/
6363
public function get($property, $default = null)
@@ -80,7 +80,7 @@ public function get($property, $default = null)
8080
*
8181
* @see CMSObject::get()
8282
*
83-
* @deprecated 4.3.0 will be removed in 6.0
83+
* @deprecated 4.3.0 will be removed in 7.0
8484
* Create a proper getter function for the property
8585
*/
8686
public function getProperties($public = true)
@@ -126,7 +126,7 @@ public function getProperties($public = true)
126126
*
127127
* @since 1.7.0
128128
*
129-
* @deprecated 4.3.0 will be removed in 6.0
129+
* @deprecated 4.3.0 will be removed in 7.0
130130
* Create a proper setter function for the property
131131
*/
132132
public function set($property, $value = null)
@@ -148,7 +148,7 @@ public function set($property, $value = null)
148148
*
149149
* @see CMSObject::set()
150150
*
151-
* @deprecated 4.3.0 will be removed in 6.0
151+
* @deprecated 4.3.0 will be removed in 7.0
152152
* Create a proper setter function for the property
153153
*/
154154
public function setProperties($properties)

0 commit comments

Comments
 (0)