opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
config
/
set
➕ New
📤 Upload
✎ Editing:
php52.php
← Back
<?php declare (strict_types=1); namespace RectorPrefix202411; use Rector\Config\RectorConfig; use Rector\Php52\Rector\Property\VarToPublicPropertyRector; use Rector\Php52\Rector\Switch_\ContinueToBreakInSwitchRector; use Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector; use Rector\Removing\ValueObject\RemoveFuncCallArg; return static function (RectorConfig $rectorConfig) : void { $rectorConfig->rules([VarToPublicPropertyRector::class, ContinueToBreakInSwitchRector::class]); $rectorConfig->ruleWithConfiguration(RemoveFuncCallArgRector::class, [ // see https://www.php.net/manual/en/function.ldap-first-attribute.php new RemoveFuncCallArg('ldap_first_attribute', 2), ]); };
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel