Skip to content

Commit 0a57c86

Browse files
authored
Announce removal of deprecated methods (#5956)
Refs #4700
1 parent df42172 commit 0a57c86

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Psalm/DocComment.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DocComment
5252
* @psalm-return array{description:string, specials:array<string, array<int, string>>}
5353
* @psalm-suppress PossiblyUnusedMethod
5454
*
55-
* @deprecated use parsePreservingLength instead
55+
* @deprecated use parsePreservingLength instead, going to be removed in Psalm 5
5656
*
5757
* @psalm-pure
5858
*/

src/Psalm/Internal/Analyzer/TypeAnalyzer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TypeAnalyzer
1919
/**
2020
* Does the input param type match the given param type
2121
*
22-
* @deprecated in favour of UnionTypeComparator
22+
* @deprecated in favour of UnionTypeComparator, going to be removed in Psalm 5
2323
* @psalm-suppress PossiblyUnusedMethod
2424
*/
2525
public static function isContainedBy(
@@ -45,7 +45,7 @@ public static function isContainedBy(
4545
/**
4646
* Does the input param atomic type match the given param atomic type
4747
*
48-
* @deprecated in favour of AtomicTypeComparator
48+
* @deprecated in favour of AtomicTypeComparator, going to be removed in Psalm 5
4949
* @psalm-suppress PossiblyUnusedMethod
5050
*/
5151
public static function isAtomicContainedBy(

src/Psalm/Issue/CodeIssue.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(
3939
}
4040

4141
/**
42-
* @deprecated
42+
* @deprecated going to be removed in Psalm 5
4343
* @psalm-suppress PossiblyUnusedMethod
4444
*/
4545
public function getLocation(): CodeLocation
@@ -70,7 +70,7 @@ public function getFilePath(): string
7070
}
7171

7272
/**
73-
* @deprecated
73+
* @deprecated going to be removed in Psalm 5
7474
* @psalm-suppress PossiblyUnusedMethod for convenience
7575
*/
7676
public function getFileName(): string
@@ -79,7 +79,7 @@ public function getFileName(): string
7979
}
8080

8181
/**
82-
* @deprecated
82+
* @deprecated going to be removed in Psalm 5
8383
* @psalm-suppress PossiblyUnusedMethod
8484
*/
8585
public function getMessage(): string

0 commit comments

Comments
 (0)