rector/config/level/php/php74.yml

17 lines
853 B
YAML

services:
Rector\Php\Rector\Property\TypedPropertyRector: ~
Rector\Php\Rector\Assign\NullCoalescingOperatorRector: ~
Rector\Rector\Function_\FunctionReplaceRector:
# 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\ConstFetch\ClassConstantToSelfClassRector: ~
Rector\Php\Rector\FuncCall\GetCalledClassToStaticClassRector: ~
Rector\Php\Rector\FuncCall\MbStrrposEncodingArgumentPositionRector: ~