Skip to content

Commit ba2840a

Browse files
Apply patches
Co-authored-by: neznaika0 <ozornick.ks@gmail.com>
1 parent d1873a6 commit ba2840a

File tree

11 files changed

+26
-26
lines changed

11 files changed

+26
-26
lines changed

system/HTTP/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getBody()
6565
*
6666
* @return array<string, Header> An array of the request headers
6767
*
68-
* @deprecated Use Message::headers() to make room for PSR-7
68+
* @deprecated 4.0.5 Use Message::headers() to make room for PSR-7
6969
*
7070
* @TODO Incompatible return value with PSR-7
7171
*
@@ -82,7 +82,7 @@ public function getHeaders(): array
8282
*
8383
* @return array|Header|null
8484
*
85-
* @deprecated Use Message::header() to make room for PSR-7
85+
* @deprecated 4.0.5 Use Message::header() to make room for PSR-7
8686
*
8787
* @TODO Incompatible return value with PSR-7
8888
*

system/HTTP/OutgoingRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getMethod(): string
8282
*
8383
* @return $this
8484
*
85-
* @deprecated Use withMethod() instead for immutability
85+
* @deprecated 4.3.0 Use withMethod() instead for immutability
8686
*/
8787
public function setMethod(string $method)
8888
{

system/HTTP/RequestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ trait RequestTrait
3939
*
4040
* @var string
4141
*
42-
* @deprecated Will become private in a future release
42+
* @deprecated 4.0.5 Will become private in a future release
4343
*/
4444
protected $ipAddress = '';
4545

system/HTTP/SiteURI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class SiteURI extends URI
7070
*
7171
* @var array<int, string>
7272
*
73-
* @deprecated This property will be private.
73+
* @deprecated 4.4.0 This property will be private.
7474
*/
7575
protected $segments;
7676

@@ -220,15 +220,15 @@ private function setBasePath(): void
220220
}
221221

222222
/**
223-
* @deprecated
223+
* @deprecated 4.4.0
224224
*/
225225
public function setBaseURL(string $baseURL): void
226226
{
227227
throw new BadMethodCallException('Cannot use this method.');
228228
}
229229

230230
/**
231-
* @deprecated
231+
* @deprecated 4.4.0
232232
*/
233233
public function setURI(?string $uri = null)
234234
{
@@ -312,7 +312,7 @@ private function convertToSegments(string $path): array
312312
*
313313
* @return $this
314314
*
315-
* @deprecated This method will be private.
315+
* @deprecated 4.4.0 This method will be private.
316316
*/
317317
public function refreshPath()
318318
{

system/HTTP/URI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ public function __toString(): string
657657
*
658658
* @return array{string, string}
659659
*
660-
* @deprecated This method will be deleted.
660+
* @deprecated 4.2.0 This method will be deleted.
661661
*/
662662
private function changeSchemeAndPath(string $scheme, string $path): array
663663
{
@@ -840,7 +840,7 @@ public function setPath(string $path)
840840
*
841841
* @interal
842842
*
843-
* @deprecated Use SiteURI instead.
843+
* @deprecated 4.4.0 Use SiteURI instead.
844844
*/
845845
public function setBaseURL(string $baseURL): void
846846
{
@@ -852,7 +852,7 @@ public function setBaseURL(string $baseURL): void
852852
*
853853
* @interal
854854
*
855-
* @deprecated Use SiteURI instead.
855+
* @deprecated 4.4.0 Use SiteURI instead.
856856
*/
857857
public function getBaseURL(): string
858858
{
@@ -868,7 +868,7 @@ public function getBaseURL(): string
868868
*
869869
* @return $this
870870
*
871-
* @deprecated This method will be private.
871+
* @deprecated 4.4.0 This method will be private.
872872
*/
873873
public function refreshPath()
874874
{

system/I18n/TimeLegacy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*
4343
* @phpstan-consistent-constructor
4444
*
45-
* @deprecated Use Time instead.
45+
* @deprecated 4.3.0 Use Time instead.
4646
* @see \CodeIgniter\I18n\TimeLegacyTest
4747
*/
4848
class TimeLegacy extends DateTime

system/I18n/TimeTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public static function createFromInstance(DateTimeInterface $dateTime, ?string $
292292
*
293293
* @throws Exception
294294
*
295-
* @deprecated Use createFromInstance() instead
295+
* @deprecated 4.3.0 Use createFromInstance() instead
296296
*
297297
* @codeCoverageIgnore
298298
*/

system/Language/en/HTTP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
'localeNotSupported' => 'Locale is not supported: {0}',
5959

6060
// CSRF
61-
// @deprecated use 'Security.disallowedAction'
61+
// @deprecated 4.0.5 use 'Security.disallowedAction'
6262
'disallowedAction' => 'The action you requested is not allowed.',
6363

6464
// Uploaded file moving

system/Router/AutoRouter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function getRoute(string $uri, string $httpVerb): array
166166
* Tells the system whether we should translate URI dashes or not
167167
* in the URI from a dash to an underscore.
168168
*
169-
* @deprecated This method should be removed.
169+
* @deprecated 4.2.0 This method should be removed.
170170
*/
171171
public function setTranslateURIDashes(bool $val = false): self
172172
{
@@ -238,7 +238,7 @@ private function isValidSegment(string $segment): bool
238238
*
239239
* @param bool $validate if true, checks to make sure $dir consists of only PSR4 compliant segments
240240
*
241-
* @deprecated This method should be removed.
241+
* @deprecated 4.2.0 This method should be removed.
242242
*
243243
* @return void
244244
*/
@@ -271,7 +271,7 @@ public function setDirectory(?string $dir = null, bool $append = false, bool $va
271271
* Returns the name of the sub-directory the controller is in,
272272
* if any. Relative to APPPATH.'Controllers'.
273273
*
274-
* @deprecated This method should be removed.
274+
* @deprecated 4.2.0 This method should be removed.
275275
*/
276276
public function directory(): string
277277
{

system/Router/RouteCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ public function reverseRoute(string $search, ...$params)
12551255
/**
12561256
* Replaces the {locale} tag with the current application locale
12571257
*
1258-
* @deprecated Unused.
1258+
* @deprecated 4.3.0 Unused.
12591259
*/
12601260
protected function localizeRoute(string $route): string
12611261
{
@@ -1309,7 +1309,7 @@ public function getFiltersForRoute(string $search, ?string $verb = null): array
13091309
*
13101310
* @throws RouterException
13111311
*
1312-
* @deprecated Unused. Now uses buildReverseRoute().
1312+
* @deprecated 4.3.0 Unused. Now uses buildReverseRoute().
13131313
*/
13141314
protected function fillRouteParams(string $from, ?array $params = null): string
13151315
{

0 commit comments

Comments
 (0)