update docs [skip ci]

This commit is contained in:
TomasVotruba 2020-01-05 00:18:57 +01:00
parent 3b82be51c0
commit 8b533f7dd3

View File

@ -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`