Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5979970
rector.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
585 B
Referenced Files
None
Subscribers
None
rector.php
View Options
<?php
declare
(
strict_types
=
1
);
use
Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector
;
use
Rector\Config\RectorConfig
;
use
Rector\Set\ValueObject\LevelSetList
;
return
static
function
(
RectorConfig
$rectorConfig
):
void
{
$rectorConfig
->
paths
([
__DIR__
.
'/src'
]);
// register a single rule
$rectorConfig
->
rule
(
InlineConstructorDefaultToPropertyRector
::
class
);
$rectorConfig
->
import
(
LevelSetList
::
UP_TO_PHP_74
);
// define sets of rules
// $rectorConfig->sets([
// LevelSetList::UP_TO_PHP_74
// ]);
};
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 21:10 (5 d, 16 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2a/26/0dfec9546da5b4e42459efc0c430
Default Alt Text
rector.php (585 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment