jenkins-bot has submitted this change and it was merged.
Change subject: Deprecate badly designed methods that inherently use global
state
......................................................................
Deprecate badly designed methods that inherently use global state
Change-Id: I2e609d81785fbae042c73aa8865e6ea3b3bcf345
---
M DataModel/Snak/SnakObject.php
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Aude: Looks good to me, approved
jenkins-bot: Verified
diff --git a/DataModel/Snak/SnakObject.php b/DataModel/Snak/SnakObject.php
index 43aa1f7..ac681db 100644
--- a/DataModel/Snak/SnakObject.php
+++ b/DataModel/Snak/SnakObject.php
@@ -144,6 +144,7 @@
* will be represented using an UnDeserializableValue object.
*
* @since 0.3
+ * @deprecated since 0.4
*
* @param array $data
*
@@ -166,6 +167,7 @@
* Constructs a new snak of specified type and returns it.
*
* @since 0.3
+ * @deprecated since 0.4
*
* @param string $snakType
* @param array $constructorArguments
--
To view, visit https://gerrit.wikimedia.org/r/80867
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2e609d81785fbae042c73aa8865e6ea3b3bcf345
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseDataModel
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits