Skip to content

Commit

Permalink
Merge pull request #9298 from weirdan/fix-7955
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Feb 15, 2023
2 parents eca65bf + 07dfb5f commit 886acd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/running_psalm/issues/UnusedProperty.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Emitted when `--find-dead-code` is turned on and Psalm cannot find any uses of a
private property.

Properties used in constructor only are considered unused. Use normal variables instead.

If this property is used and part of the public API, annotate the containing
class with `@psalm-api`.

Expand Down

0 comments on commit 886acd1

Please sign in to comment.