
外掛標籤
開發者團隊
② 後台搜尋「Upgravo – PHP Compatibility Check」→ 直接安裝(推薦)
原文外掛簡介
Your hosting company says PHP 7.4 (or 8.0, 8.1…) is going away and you have to upgrade. Which of your plugins will break?
Upgravo reads the code of every plugin and your theme, on your own server, and gives you a straight answer:
Ready for PHP 8.4: nothing breaks — or Not yet: something active breaks, with the exact plugin, file and line.
Breaks vs deprecation notices: a removed function stops the site; a deprecation only writes a line in the error log. Upgravo keeps the two apart so you know what is urgent.
What to do first: if the plugin that breaks has an update available, it says so. If it is inactive, it says it does not matter until you activate it.
No noise: code that is already guarded by function_exists() or a PHP version check is not reported, and findings that only apply to the PHP version you already run are hidden by default (you can still see them, with the reason).
Designed for any hosting
Runs on shared hosting. The scan runs in short batches with a progress bar, so it never hits the 30-60 second request limit of shared hosts. Close the tab and come back: it resumes where it stopped.
No exec(), no shell, no external server. Your code never leaves your site. Nothing to sign up for, no license key to see results.
Covers the whole site: must-use plugins, drop-ins (advanced-cache.php, object-cache.php, db.php…), the parent theme, and every class of WordPress core itself, so a plugin that extends WP_Widget or WC_Payment_Gateway is checked properly instead of ignored.
Any upgrade path from PHP 7.4 to 8.1, 8.2, 8.3 or 8.4: removed functions and extensions (mysql_*, mcrypt, each(), create_function()…), PHP 8.0 fatal errors, PHP 8.1/8.2/8.3/8.4 deprecations including dynamic properties and 'self::method' callables. Everything that already applies to the PHP version you run today is shown as hidden, with the reason.
Site Health integration: the verdict shows up in Tools → Site Health.
WP-CLI: wp upgravo scan --target=8.4 --format=json returns exit code 1 if anything active breaks, so agencies can check 50 sites from a script.
CSV export of every finding, including the hidden ones and why they were hidden.
Built on PHPCompatibility
The analysis engine is PHPCompatibility (176 rules maintained by the PHP community since 2012) running on PHP_CodeSniffer, bundled inside the plugin, plus Upgravo’s own detectors for PHP 8.2 dynamic properties and relative callables. It reads code; it does not run it. A static scan cannot see problems that only appear at runtime, so treat “nothing breaks” as “nothing we can see breaks”, and keep a backup before any upgrade.
Third-party libraries included
PHP_CodeSniffer — BSD-3-Clause
PHPCompatibility — LGPL-3.0-or-later
PHPCSUtils — LGPL-3.0-or-later
