Skip to content

Commit

Permalink
added some infos on how the plugin works/how to use it
Browse files Browse the repository at this point in the history
documents the insights from #26 into the README
  • Loading branch information
staabm authored and ondrejmirtes committed Sep 4, 2020
1 parent bfabc6a commit 399481e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@

* [PHPStan](https://phpstan.org/)

This extension emits deprecation warnings on code, which uses properties/functions/methods/classes which are annotated as `@deprecated`.

In case you don't own the code which you want to be considered deprecated, use [PHPStan Stub Files](https://phpstan.org/user-guide/stub-files) to declare deprecations for vendor files like
```
/** @deprecated */
class ThirdPartyClass {}
```


## Installation

Expand Down

0 comments on commit 399481e

Please sign in to comment.