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