forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
php74.yaml
20 lines (19 loc) · 1.08 KB
/
php74.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
services:
Rector\Php\Rector\Property\TypedPropertyRector: ~
Rector\Rector\Function_\RenameFunctionRector:
# https://wiki.php.net/rfc/deprecations_php_7_4#the_real_type
is_float: 'is_real'
# https://wiki.php.net/rfc/deprecations_php_7_4#apache_request_headers_function
apache_request_headers: 'getallheaders'
hebrevc: ['nl2br', 'hebrev']
Rector\Php\Rector\FuncCall\ArrayKeyExistsOnPropertyRector: ~
Rector\Php\Rector\FuncCall\FilterVarToAddSlashesRector: ~
Rector\Php\Rector\StaticCall\ExportToReflectionFunctionRector: ~
Rector\Php\Rector\MagicConstClass\ClassConstantToSelfClassRector: ~
Rector\Php\Rector\FuncCall\GetCalledClassToStaticClassRector: ~
Rector\Php\Rector\FuncCall\MbStrrposEncodingArgumentPositionRector: ~
Rector\Php\Rector\Double\RealToFloatTypeCastRector: ~
Rector\Php\Rector\Assign\NullCoalescingOperatorRector: ~
Rector\Php\Rector\Function_\ReservedFnFunctionRector: ~
Rector\Php\Rector\Closure\ClosureToArrowFunctionRector: ~
Rector\Php\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector: ~