Skip to content

Commit

Permalink
Announce removal of deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jun 19, 2021
1 parent d4311e3 commit 37cc5ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Psalm/DocComment.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DocComment
* @psalm-return array{description:string, specials:array<string, array<int, string>>}
* @psalm-suppress PossiblyUnusedMethod
*
* @deprecated use parsePreservingLength instead
* @deprecated use parsePreservingLength instead, going to be removed in Psalm 5
*
* @psalm-pure
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Psalm/Internal/Analyzer/TypeAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TypeAnalyzer
/**
* Does the input param type match the given param type
*
* @deprecated in favour of UnionTypeComparator
* @deprecated in favour of UnionTypeComparator, going to be removed in Psalm 5
* @psalm-suppress PossiblyUnusedMethod
*/
public static function isContainedBy(
Expand All @@ -45,7 +45,7 @@ public static function isContainedBy(
/**
* Does the input param atomic type match the given param atomic type
*
* @deprecated in favour of AtomicTypeComparator
* @deprecated in favour of AtomicTypeComparator, going to be removed in Psalm 5
* @psalm-suppress PossiblyUnusedMethod
*/
public static function isAtomicContainedBy(
Expand Down
6 changes: 3 additions & 3 deletions src/Psalm/Issue/CodeIssue.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(
}

/**
* @deprecated
* @deprecated going to be removed in Psalm 5
* @psalm-suppress PossiblyUnusedMethod
*/
public function getLocation(): CodeLocation
Expand Down Expand Up @@ -70,7 +70,7 @@ public function getFilePath(): string
}

/**
* @deprecated
* @deprecated going to be removed in Psalm 5
* @psalm-suppress PossiblyUnusedMethod for convenience
*/
public function getFileName(): string
Expand All @@ -79,7 +79,7 @@ public function getFileName(): string
}

/**
* @deprecated
* @deprecated going to be removed in Psalm 5
* @psalm-suppress PossiblyUnusedMethod
*/
public function getMessage(): string
Expand Down

0 comments on commit 37cc5ab

Please sign in to comment.