mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 16:30:51 +00:00
rebuild docs
This commit is contained in:
parent
60f1dadd6f
commit
0c69df8c24
|
@ -1,4 +1,4 @@
|
|||
# 508 Rules Overview
|
||||
# 507 Rules Overview
|
||||
|
||||
<br>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
- [CodeQuality](#codequality) (70)
|
||||
|
||||
- [CodingStyle](#codingstyle) (35)
|
||||
- [CodingStyle](#codingstyle) (34)
|
||||
|
||||
- [Compatibility](#compatibility) (1)
|
||||
|
||||
|
@ -1901,25 +1901,6 @@ Convert enscaped {$string} to more readable sprintf
|
|||
|
||||
<br>
|
||||
|
||||
### FollowRequireByDirRector
|
||||
|
||||
include/require should be followed by absolute path
|
||||
|
||||
- class: [`Rector\CodingStyle\Rector\Include_\FollowRequireByDirRector`](../rules/CodingStyle/Rector/Include_/FollowRequireByDirRector.php)
|
||||
|
||||
```diff
|
||||
class SomeClass
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
- require 'autoload.php';
|
||||
+ require __DIR__ . '/autoload.php';
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
### FuncGetArgsToVariadicParamRector
|
||||
|
||||
Refactor `func_get_args()` in to a variadic param
|
||||
|
|
Loading…
Reference in New Issue
Block a user