GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — EngineScript/rector.php at master · EngineScript/EngineScript Expand file tree/ Copy pathrector.phpMore file actions 39 lines (35 loc) · 1.41 KB / Copy pathrector.phpFile metadata and controls39 lines (35 loc) · 1.41 KB 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 39 <?php /** * Rector configuration. * * Rector keeps the admin control panel's PHP on current idioms. `composer * rector` runs it as a dry run, which fails when any rule would change the * code. The plugin repositories' skip list is not copied: each of its rules * is skipped there for a WordPress reason that does not apply here. A rule is * skipped here only for a reason this code gives, stated beside it. */ declare(strict_types=1); use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths([ __DIR__ . '/config/var/www/admin', ]) ->withPhpSets(php83: true) ->withPreparedSets( deadCode: true, codeQuality: true, typeDeclarations: true, earlyReturn: true, ) ->withSkip([ // sanitize() is a pure helper with no instance state; calling it on // $this would only change the invocation style. \Rector\CodeQuality\Rector\ClassMethod\LocallyCalledStaticMethodToNonStaticRector::class => [ __DIR__ . '/config/var/www/admin/control-panel/classes/SecurityLogger.php', ], // The property is ?UptimeRobotAPI; "=== null" states the lazy // initialization more directly than a negated instanceof. \Rector\CodeQuality\Rector\If_\ExplicitNullableObjectInstanceRector::class => [ __DIR__ . '/config/var/www/admin/control-panel/controllers/UptimeController.php', ], ]); |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |