Skip to content

Commit 0b5871c

Browse files
authored
Remove comparison with unused-public (#298)
1 parent d6ba2c4 commit 0b5871c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -393,18 +393,6 @@ Enum cases and properties are disabled by default as those are often used in API
393393
But libraries should be able to enable those easily.
394394

395395

396-
## Comparison with tomasvotruba/unused-public
397-
- You can see [detailed comparison PR](https://github.com/shipmonk-rnd/dead-code-detector/pull/53)
398-
- Basically, their analysis is less precise and less flexible. Mainly:
399-
- It cannot detect dead constructors
400-
- It does not properly detect calls within inheritance hierarchy
401-
- It does not offer any custom adjustments of used methods
402-
- It has almost no built-in library extensions
403-
- It ignores trait methods
404-
- Is lacks many minor features like class-string calls, dynamic method calls, array callbacks, nullsafe call chains etc
405-
- It cannot detect dead cycles nor transitively dead methods
406-
- It has no built-in dead code removal
407-
408396
## Limitations:
409397
- Methods of anonymous classes are never reported as dead ([PHPStan limitation](https://github.com/phpstan/phpstan/issues/8410))
410398
- Abstract trait methods are never reported as dead

0 commit comments

Comments
 (0)