PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/ramsey/uuid/src/DeprecatedUuidInterface.php +37 -57 1.2.5 → 1.4.2 View file →
@@ -9,121 +9,101 @@
9 9 * @copyright Copyright (c) Ben Ramsey <[email protected]>
10 10 * @license http://opensource.org/licenses/MIT MIT
11 11 */
12 12 declare (strict_types=1);
13 -namespace Dudlewebs\WPMCS\Ramsey\Uuid;
13 +namespace Dudlewebs\WPMCS\GCP\Ramsey\Uuid;
14 14
15 15 use DateTimeInterface;
16 -use Dudlewebs\WPMCS\Ramsey\Uuid\Converter\NumberConverterInterface;
16 +use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Converter\NumberConverterInterface;
17 17 /**
18 - * This interface encapsulates deprecated methods for ramsey/uuid; this
19 - * interface and its methods will be removed in ramsey/uuid 5.0.0.
18 + * This interface encapsulates deprecated methods for ramsey/uuid
20 19 *
21 - * @psalm-immutable
20 + * @immutable
22 21 */
23 22 interface DeprecatedUuidInterface
24 23 {
25 24 /**
26 - * @deprecated This method will be removed in 5.0.0. There is no alternative
27 - * recommendation, so plan accordingly.
25 + * @deprecated This method will be removed in 5.0.0. There is no alternative recommendation, so plan accordingly.
28 26 */
29 - public function getNumberConverter(): NumberConverterInterface;
27 + public function getNumberConverter() : NumberConverterInterface;
30 28 /**
31 - * @deprecated Use {@see UuidInterface::getFields()} to get a
32 - * {@see FieldsInterface} instance.
29 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance.
33 30 *
34 31 * @return string[]
35 32 */
36 - public function getFieldsHex(): array;
33 + public function getFieldsHex() : array;
37 34 /**
38 - * @deprecated Use {@see UuidInterface::getFields()} to get a
39 - * {@see FieldsInterface} instance. If it is a
35 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
40 36 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
41 37 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}.
42 38 */
43 - public function getClockSeqHiAndReservedHex(): string;
39 + public function getClockSeqHiAndReservedHex() : string;
44 40 /**
45 - * @deprecated Use {@see UuidInterface::getFields()} to get a
46 - * {@see FieldsInterface} instance. If it is a
41 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
47 42 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
48 43 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}.
49 44 */
50 - public function getClockSeqLowHex(): string;
45 + public function getClockSeqLowHex() : string;
51 46 /**
52 - * @deprecated Use {@see UuidInterface::getFields()} to get a
53 - * {@see FieldsInterface} instance. If it is a
47 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
54 48 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
55 49 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}.
56 50 */
57 - public function getClockSequenceHex(): string;
51 + public function getClockSequenceHex() : string;
58 52 /**
59 - * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the
60 - * interface. It is available at {@see UuidV1::getDateTime()}.
53 + * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the interface. It is available at
54 + * {@see UuidV1::getDateTime()}.
61 55 */
62 - public function getDateTime(): DateTimeInterface;
56 + public function getDateTime() : DateTimeInterface;
63 57 /**
64 - * @deprecated This method will be removed in 5.0.0. There is no direct
65 - * alternative, but the same information may be obtained by splitting
66 - * in half the value returned by {@see UuidInterface::getHex()}.
58 + * @deprecated This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
59 + * obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
67 60 */
68 - public function getLeastSignificantBitsHex(): string;
61 + public function getLeastSignificantBitsHex() : string;
69 62 /**
70 - * @deprecated This method will be removed in 5.0.0. There is no direct
71 - * alternative, but the same information may be obtained by splitting
72 - * in half the value returned by {@see UuidInterface::getHex()}.
63 + * @deprecated This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
64 + * obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
73 65 */
74 - public function getMostSignificantBitsHex(): string;
66 + public function getMostSignificantBitsHex() : string;
75 67 /**
76 - * @deprecated Use {@see UuidInterface::getFields()} to get a
77 - * {@see FieldsInterface} instance. If it is a
68 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
78 69 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
79 70 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}.
80 71 */
81 - public function getNodeHex(): string;
72 + public function getNodeHex() : string;
82 73 /**
83 - * @deprecated Use {@see UuidInterface::getFields()} to get a
84 - * {@see FieldsInterface} instance. If it is a
74 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
85 75 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
86 76 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}.
87 77 */
88 - public function getTimeHiAndVersionHex(): string;
78 + public function getTimeHiAndVersionHex() : string;
89 79 /**
90 - * @deprecated Use {@see UuidInterface::getFields()} to get a
91 - * {@see FieldsInterface} instance. If it is a
80 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
92 81 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
93 82 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}.
94 83 */
95 - public function getTimeLowHex(): string;
84 + public function getTimeLowHex() : string;
96 85 /**
97 - * @deprecated Use {@see UuidInterface::getFields()} to get a
98 - * {@see FieldsInterface} instance. If it is a
86 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
99 87 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
100 88 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}.
101 89 */
102 - public function getTimeMidHex(): string;
90 + public function getTimeMidHex() : string;
103 91 /**
104 - * @deprecated Use {@see UuidInterface::getFields()} to get a
105 - * {@see FieldsInterface} instance. If it is a
92 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
106 93 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
107 94 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}.
108 95 */
109 - public function getTimestampHex(): string;
96 + public function getTimestampHex() : string;
110 97 /**
111 - * @deprecated In ramsey/uuid version 5.0.0, this will be removed from this
112 - * interface. It has moved to {@see \Ramsey\Uuid\Rfc4122\UuidInterface::getUrn()}.
113 - */
114 - public function getUrn(): string;
115 - /**
116 - * @deprecated Use {@see UuidInterface::getFields()} to get a
117 - * {@see FieldsInterface} instance. If it is a
98 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
118 99 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
119 100 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}.
120 101 */
121 - public function getVariant(): ?int;
102 + public function getVariant() : ?int;
122 103 /**
123 - * @deprecated Use {@see UuidInterface::getFields()} to get a
124 - * {@see FieldsInterface} instance. If it is a
104 + * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
125 105 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
126 106 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}.
127 107 */
128 - public function getVersion(): ?int;
108 + public function getVersion() : ?int;
129 109 }