mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-28 15:00:50 +00:00
update docs [skip ci]
This commit is contained in:
parent
3b82be51c0
commit
8b533f7dd3
|
@ -1,4 +1,4 @@
|
|||
# All 418 Rectors Overview
|
||||
# All 419 Rectors Overview
|
||||
|
||||
- [Projects](#projects)
|
||||
- [General](#general)
|
||||
|
@ -2277,6 +2277,32 @@ Remove unreachable statements
|
|||
|
||||
<br>
|
||||
|
||||
### `RemoveUnusedClassesRector`
|
||||
|
||||
- class: `Rector\DeadCode\Rector\Class_\RemoveUnusedClassesRector`
|
||||
|
||||
Remove unused classes without interface
|
||||
|
||||
```diff
|
||||
interface SomeInterface
|
||||
{
|
||||
}
|
||||
|
||||
class SomeClass implements SomeInterface
|
||||
{
|
||||
public function run($items)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
-}
|
||||
-
|
||||
-class NowhereUsedClass
|
||||
-{
|
||||
}
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
### `RemoveUnusedDoctrineEntityMethodAndPropertyRector`
|
||||
|
||||
- class: `Rector\DeadCode\Rector\Class_\RemoveUnusedDoctrineEntityMethodAndPropertyRector`
|
||||
|
|
Loading…
Reference in New Issue
Block a user