Skip to content

Commit

Permalink
Readme: improve removal diff to show transitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Dec 13, 2024
1 parent eedf31b commit 9105c5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,11 @@ vendor/bin/phpstan analyse --error-format removeDeadCode
```diff
class UserFacade
{
- public const TRANSITIVELY_DEAD = 1;
-
- public function deadMethod(): void
- {
- echo self::TRANSITIVELY_DEAD;
- }
}
```
Expand Down

0 comments on commit 9105c5f

Please sign in to comment.