FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
really-simple-ssl/rector.php at master · Really-Simple-Plugins/really-simple-ssl · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Really-Simple-Plugins
/
really-simple-ssl
Public
Notifications
You must be signed in to change notification settings
Fork
51
Star
162
Code
Issues
1
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
really-simple-ssl
/
rector.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (34 loc) · 1.07 KB
Breadcrumbs
really-simple-ssl
/
rector.php
Copy path
File metadata and controls
38 lines (34 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
declare
(strict_types=
1
);
use
Rector
\
Config
\
RectorConfig
;
use
Rector
\
Transform
\
Rector
\
ClassMethod
\
ReturnTypeWillChangeRector
;
return
RectorConfig::
configure
()
->
withPaths
([
// __DIR__ . '/assets',
// __DIR__ . '/automation',
// __DIR__ . '/languages',
// __DIR__ . '/lets-encrypt',
// __DIR__ . '/lib',
// __DIR__ . '/mailer',
// __DIR__ . '/modal',
// __DIR__ . '/onboarding',
// __DIR__ . '/placeholders',
__DIR__
.
'
/pro/security/wordpress/two-fa
'
,
// __DIR__ . '/progress',
__DIR__
.
'
/security/wordpress/two-fa
'
,
// __DIR__ . '/settings',
// __DIR__ . '/tests',
// __DIR__ . '/upgrade',
])
// uncomment to reach your current PHP version
// ->withPhpSets()
->
withTypeCoverageLevel
(
0
)
->
withImportNames
(
true
)
// ->withPhp74Sets()
->
withDeadCodeLevel
(
1
)
->
withCodeQualityLevel
(
1
)
->
withRules
([
ReturnTypeWillChangeRector::class,
\
Rector
\
DeadCode
\
Rector
\
ClassMethod
\RemoveUselessParamTagRector::class,
])
;
Back
|
FazBrowse Home
|
New Git URL