Linux 软件免费装

BrightLeaf Digital PHP Compatibility Scanner

开发者 eitanatbrightleaf
更新时间 2025年11月12日 00:05
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

php themes plugins compatibility scan

下载

1.0.0

详情介绍:

PHP Compatibility Scanner helps you assess whether your site’s code (plugins and themes) is likely to run on newer versions of PHP. It performs static analysis using PHP_CodeSniffer and the PHPCompatibilityWP ruleset to flag code patterns that are incompatible with the selected target PHP version. What the plugin does (at a glance):

安装:

  1. Install the plugin via Plugins → Add New → Upload Plugin, or place the bld-php-compatibility-checker folder into wp-content/plugins/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Tools → PHP Compatibility Checker.
  4. Choose a Target PHP version higher than your current runtime.
  5. Select what to scan (plugins and/or themes) and click “Run scan”.

常见问题:

What PHP versions can I target?

You can select one of: 8.0, 8.1, 8.2, 8.3, or 8.4.

What is the minimum PHP version required to run this plugin?

The plugin requires PHP 7.4+ to run.

Does this modify my code?

No. It only analyzes code and reports findings.

Why are there false positives or missing issues?

Static analysis examines code without executing it. Dynamic patterns, conditional code paths, and environment-specific behavior can cause both false positives and false negatives. Use the results as guidance and verify on a staging site.

Does it scan MU-plugins?

No. MU-plugins are intentionally skipped.

Do I need WP-Cron for scans?

No. Scans advance via AJAX polling while the Tools page is open.

更新日志:

1.0.0