really-simple-ssl
Last commit date
assets
3 months ago
core
3 months ago
languages
3 months ago
lets-encrypt
4 months ago
lib
6 months ago
mailer
7 months ago
modal
3 months ago
placeholders
9 months ago
progress
1 year ago
security
3 months ago
settings
3 months ago
testssl
5 years ago
upgrade
7 months ago
.wp-env.json
10 months ago
SECURITY.md
9 months ago
class-admin.php
3 months ago
class-cache.php
4 months ago
class-certificate.php
2 years ago
class-front-end.php
6 months ago
class-installer.php
10 months ago
class-mixed-content-fixer.php
3 years ago
class-multisite.php
4 months ago
class-server.php
4 months ago
class-site-health.php
1 year ago
class-wp-cli.php
5 months ago
compatibility.php
1 year ago
force-deactivate.txt
1 year ago
functions.php
5 months ago
index.php
2 years ago
readme.txt
3 months ago
rector.php
1 year ago
rlrsssl-really-simple-ssl.php
3 months ago
rsssl-auto-loader.php
1 year ago
sbom.json.gz
3 months ago
ssl-test-page.php
2 years ago
system-status.php
8 months ago
uninstall.php
4 months ago
upgrade.php
4 months ago
rector.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | use Rector\Config\RectorConfig; |
| 6 | use Rector\Transform\Rector\ClassMethod\ReturnTypeWillChangeRector; |
| 7 | |
| 8 | return RectorConfig::configure() |
| 9 | ->withPaths([ |
| 10 | // __DIR__ . '/assets', |
| 11 | // __DIR__ . '/automation', |
| 12 | // __DIR__ . '/languages', |
| 13 | // __DIR__ . '/lets-encrypt', |
| 14 | // __DIR__ . '/lib', |
| 15 | // __DIR__ . '/mailer', |
| 16 | // __DIR__ . '/modal', |
| 17 | // __DIR__ . '/onboarding', |
| 18 | // __DIR__ . '/placeholders', |
| 19 | __DIR__ . '/pro/security/wordpress/two-fa', |
| 20 | // __DIR__ . '/progress', |
| 21 | __DIR__ . '/security/wordpress/two-fa', |
| 22 | // __DIR__ . '/settings', |
| 23 | // __DIR__ . '/tests', |
| 24 | // __DIR__ . '/upgrade', |
| 25 | ]) |
| 26 | // uncomment to reach your current PHP version |
| 27 | // ->withPhpSets() |
| 28 | ->withTypeCoverageLevel(0) |
| 29 | ->withImportNames(true) |
| 30 | // ->withPhp74Sets() |
| 31 | ->withDeadCodeLevel(1) |
| 32 | ->withCodeQualityLevel(1) |
| 33 | ->withRules([ |
| 34 | ReturnTypeWillChangeRector::class, |
| 35 | \Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector::class, |
| 36 | |
| 37 | ]) |
| 38 | ; |
| 39 |