ParamValidator: Flag as unstable for 1.34
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Nov 2019 17:48:59 +0000 (13:48 -0400)
committerJforrester <jforrester@wikimedia.org>
Fri, 1 Nov 2019 20:18:05 +0000 (20:18 +0000)
Iea6d4a1d0 isn't likely to make it, and I don't want to have to
support the architectural mistakes it's fixing in 1.35.

Change-Id: Icd161779d4e2eb60c507a5a4400f9432741c72eb
(cherry picked from commit ff70806ef1e142c67841b049b7b943170558ed78)

16 files changed:
includes/libs/ParamValidator/Callbacks.php
includes/libs/ParamValidator/ParamValidator.php
includes/libs/ParamValidator/SimpleCallbacks.php
includes/libs/ParamValidator/TypeDef.php
includes/libs/ParamValidator/TypeDef/BooleanDef.php
includes/libs/ParamValidator/TypeDef/EnumDef.php
includes/libs/ParamValidator/TypeDef/FloatDef.php
includes/libs/ParamValidator/TypeDef/IntegerDef.php
includes/libs/ParamValidator/TypeDef/LimitDef.php
includes/libs/ParamValidator/TypeDef/PasswordDef.php
includes/libs/ParamValidator/TypeDef/PresenceBooleanDef.php
includes/libs/ParamValidator/TypeDef/StringDef.php
includes/libs/ParamValidator/TypeDef/TimestampDef.php
includes/libs/ParamValidator/TypeDef/UploadDef.php
includes/libs/ParamValidator/Util/UploadedFile.php
includes/libs/ParamValidator/ValidationException.php

index d94a81f..ecaa86e 100644 (file)
@@ -15,6 +15,7 @@ use Psr\Http\Message\UploadedFileInterface;
  * and is intended for communication of non-global state.
  *
  * @since 1.34
+ * @unstable
  */
 interface Callbacks {
 
index 02746ec..99f0e54 100644 (file)
@@ -33,6 +33,7 @@ use Wikimedia\ObjectFactory;
  *      the user unnecessarily.
  *
  * @since 1.34
+ * @unstable
  */
 class ParamValidator {
 
index 77dab92..315ff96 100644 (file)
@@ -11,6 +11,7 @@ use Wikimedia\ParamValidator\Util\UploadedFile;
  *  - 'useHighLimits': (bool) Return value from useHighLimits()
  *
  * @since 1.34
+ * @unstable
  */
 class SimpleCallbacks implements Callbacks {
 
index 0d54add..27fddde 100644 (file)
@@ -10,6 +10,7 @@ namespace Wikimedia\ParamValidator;
  * and is intended for communication of non-global state.
  *
  * @since 1.34
+ * @unstable
  */
 abstract class TypeDef {
 
index f77c930..15f082e 100644 (file)
@@ -17,6 +17,7 @@ use Wikimedia\ParamValidator\ValidationException;
  *     - 'falsevals': List of recognized values for "false".
  *
  * @since 1.34
+ * @unstable
  */
 class BooleanDef extends TypeDef {
 
index 0f4f690..ab703b0 100644 (file)
@@ -23,6 +23,7 @@ use Wikimedia\ParamValidator\ValidationException;
  * the constants' documentation for details.
  *
  * @since 1.34
+ * @unstable
  */
 class EnumDef extends TypeDef {
 
index 0a204b3..5d1c759 100644 (file)
@@ -24,6 +24,7 @@ use Wikimedia\ParamValidator\ValidationException;
  *    infinity or NAN.
  *
  * @since 1.34
+ * @unstable
  */
 class FloatDef extends TypeDef {
 
index 556301b..49c403d 100644 (file)
@@ -21,6 +21,7 @@ use Wikimedia\ParamValidator\ValidationException;
  * the constants' documentation for details.
  *
  * @since 1.34
+ * @unstable
  */
 class IntegerDef extends TypeDef {
 
index 99780c4..2e31433 100644 (file)
@@ -10,6 +10,7 @@ namespace Wikimedia\ParamValidator\TypeDef;
  *
  * @see IntegerDef
  * @since 1.34
+ * @unstable
  */
 class LimitDef extends IntegerDef {
 
index 289db54..55800c0 100644 (file)
@@ -11,6 +11,7 @@ use Wikimedia\ParamValidator\ParamValidator;
  *
  * @see StringDef
  * @since 1.34
+ * @unstable
  */
 class PasswordDef extends StringDef {
 
index 2e1c8f5..2d8734e 100644 (file)
@@ -14,6 +14,7 @@ use Wikimedia\ParamValidator\TypeDef;
  * The result from validate() is a PHP boolean.
  *
  * @since 1.34
+ * @unstable
  */
 class PresenceBooleanDef extends TypeDef {
 
index 0ed310b..243a0e2 100644 (file)
@@ -19,6 +19,7 @@ use Wikimedia\ParamValidator\ValidationException;
  * the constants' documentation for details.
  *
  * @since 1.34
+ * @unstable
  */
 class StringDef extends TypeDef {
 
index 5d0bf4e..c05b10f 100644 (file)
@@ -24,6 +24,7 @@ use Wikimedia\Timestamp\TimestampException;
  *    Use 'now' instead if you really want the current timestamp. No data.
  *
  * @since 1.34
+ * @unstable
  */
 class TimestampDef extends TypeDef {
 
index b436a6d..c1296ad 100644 (file)
@@ -28,6 +28,7 @@ use Wikimedia\ParamValidator\ValidationException;
  *     - 'code': The code.
  *
  * @since 1.34
+ * @unstable
  */
 class UploadDef extends TypeDef {
 
index 2be9119..96de155 100644 (file)
@@ -15,6 +15,7 @@ use Wikimedia\AtEase\AtEase;
  * Callbacks::getUploadedFile() when another PSR-7 library is not already in use.
  *
  * @since 1.34
+ * @unstable
  */
 class UploadedFile implements UploadedFileInterface {
 
index c8d995e..71be25c 100644 (file)
@@ -10,6 +10,7 @@ use UnexpectedValueException;
  * Error reporting for ParamValidator
  *
  * @since 1.34
+ * @unstable
  */
 class ValidationException extends UnexpectedValueException {