really-simple-ssl
Last commit date
assets
1 month ago
core
1 month ago
languages
1 month ago
lets-encrypt
1 month ago
lib
1 month ago
mailer
1 month ago
modal
1 month ago
placeholders
1 month ago
progress
1 month ago
security
1 month ago
settings
1 month ago
testssl
1 month ago
upgrade
1 month ago
.wp-env.json
1 month ago
SECURITY.md
1 month ago
class-admin.php
1 month ago
class-cache.php
1 month ago
class-certificate.php
1 month ago
class-front-end.php
1 month ago
class-installer.php
1 month ago
class-mixed-content-fixer.php
1 month ago
class-multisite.php
1 month ago
class-server.php
1 month ago
class-site-health.php
1 month ago
class-wp-cli.php
1 month ago
compatibility.php
1 month ago
force-deactivate.txt
1 month ago
functions.php
1 month ago
index.php
1 month ago
readme.txt
1 month ago
rector.php
1 month ago
rlrsssl-really-simple-ssl.php
1 month ago
rsssl-auto-loader.php
1 month ago
sbom.json.gz
1 month ago
ssl-test-page.php
1 month ago
system-status.php
1 month ago
uninstall.php
1 month ago
upgrade.php
1 month 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 |