mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-30 16:00:52 +00:00
add rule #300
This commit is contained in:
parent
224bc33174
commit
b16ebe6be2
|
@ -1,4 +1,4 @@
|
|||
# All 299 Rectors Overview
|
||||
# All 300 Rectors Overview
|
||||
|
||||
- [Projects](#projects)
|
||||
- [General](#general)
|
||||
|
@ -769,6 +769,28 @@ Joins concat of 2 strings
|
|||
|
||||
<br>
|
||||
|
||||
### `CompleteDynamicPropertiesRector`
|
||||
|
||||
- class: `Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector`
|
||||
|
||||
Add missing dynamic properties
|
||||
|
||||
```diff
|
||||
class SomeClass
|
||||
{
|
||||
+ /**
|
||||
+ * @var int
|
||||
+ */
|
||||
+ public $value;
|
||||
public function set()
|
||||
{
|
||||
$this->value = 5;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
## CodingStyle
|
||||
|
||||
### `SplitDoubleAssignRector`
|
||||
|
|
Loading…
Reference in New Issue
Block a user