[WordPress] 外掛分享: DSSarl Upgrade Scanner for PHP Compatibility

首頁 › 外掛目錄 › DSSarl Upgrade Scanner for PHP Compatibility
WordPress 外掛 DSSarl Upgrade Scanner for PHP Compatibility 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.2+ v1.2.0 上架:2026-11-23

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DSSarl Upgrade Scanner for PHP Compatibility」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Your host wants you on a newer PHP version. Will your plugins and themes keep working?
DSSarl Upgrade Scanner for PHP Compatibility helps you prepare. It reads the PHP code of your plugins and themes and flags code that is likely to break, or is deprecated, on the PHP version you choose. You get a static analysis report organised by plugin or theme, then by file and line, so you (or your developer) know where to look before you switch.
Everything runs on your own server. There is no outside service, no account, no API key, and your code is never sent anywhere. Because the scan is local, it also covers premium and custom plugins and themes that are not on WordPress.org.
How it works

Go to Tools → DSSarl Upgrade Scanner (administrators only).
Pick the PHP version you plan to move to. Released PHP versions are offered (PHP 7.0 to 8.6), and you check against one exact version, so you are not flooded with alerts about PHP versions that do not exist yet.
Pick the plugins and themes to scan. Your active plugins and theme are selected by default.
Click Scan. A progress bar shows the scan running in short batches. Cancel scan stops it at any time.
Read the results: errors first, then warnings, grouped by plugin or theme, then by rule and by file and line.

Built for shared hosting

The scan runs in short, resumable batches, so it fits within typical shared-hosting time limits.
Large files get their own batch.
A file too large for your server’s memory is reported as “Skipped: too large for this server’s memory limit” instead of stopping the scan.
Close the tab and the scan continues in the background (more slowly, using WordPress cron, which runs when your site has visits). Come back later to see the results.
Cancel at any time.

Clear, usable results

Errors – code that is likely to stop working on the chosen PHP version.
Warnings – code that is deprecated or may break in a later PHP version.
Each finding shows the file, the line and the rule that flagged it.
An “update available” hint appears next to plugins and themes that already have an update waiting. Updating first often removes many findings.
Ignore a rule or a whole file you have already reviewed.
Third-party and development code (for example vendor and tests folders) is labelled and can be hidden, so you can focus on code that actually runs.
Common false positives in template files are filtered out.
Every report shows the version of the ruleset used, so you know what the scan was based on.
Download CSV saves the findings of the latest scan as a spreadsheet file for your developer or your records. Ignored findings are left out, and files that could not be scanned are listed with the reason. The file is created on your server and downloaded by your browser; nothing is sent anywhere.

What it does not do

It does not change any file.
It does not change your PHP version.
It does not fix code. It shows you where to look.
It is a static analysis tool: it reads code, it does not run it. Some problems only show up at run time and cannot be detected this way. Use the report together with a test on a staging site.

Features

Scan plugins and themes against one released PHP version (PHP 7.0 to 8.6)
Local scan: no external service, no account, no API key, no data sent
Works with premium and custom plugins and themes
Resumable background batches with progress bar, designed for shared hosting limits
Memory guard: oversized files are skipped and reported, not crashed on
Errors vs warnings, by plugin/theme, file, line and rule
“Update available” hint
Ignore list for rules and files
Vendor and test code labelled and hideable
Template false positives filtered
Ruleset version shown in every report
CSV download of the results (UTF-8, for spreadsheet apps)
Read-only: never edits your files

Powered by open-source tools
The scan engine uses the open-source PHP_CodeSniffer and PHPCompatibility projects. DSSarl Upgrade Scanner is an independent plugin by Digital Services SARL and is not affiliated with those projects. See “Credits / Third-party libraries” below.
About coverage
DSSarl Upgrade Scanner uses PHPCompatibility 10.0.0-alpha3, a pre-release. It flags many known changes in recent PHP versions, but coverage of the newest PHP versions is not yet complete. A clean report means no known issue was flagged by the current rules; it is not a guarantee. We update the ruleset when new upstream releases are available.
Trademarks
PHP is a project of The PHP Group. DSSarl Upgrade Scanner for PHP Compatibility is an independent product of DIGITAL SERVICES – SARL and is not affiliated with, endorsed by or sponsored by The PHP Group or the PHP project.
DSSarl Upgrade Scanner Pro (paid add-on)
The free plugin is complete on its own. If you look after several sites, the separate Pro add-on adds weekly or monthly scheduled scans with an email when new problems appear, and a branded client report (print / PDF and CSV) in English, French and Arabic. Pro needs this plugin, version 1.2.0 or newer. Details and prices: https://dssarl.com/upgrade-scanner/pro/
Disclaimer
DSSarl Upgrade Scanner uses static analysis: it reads the PHP files of your installed plugins and themes without running them, and compares them with the PHPCompatibility rulesets for PHP_CodeSniffer. The PHP 8 rules come from pre-release versions of those rulesets (PHPCompatibility 10.0.0-alpha3); the exact rules version is shown in every report.
Results are guidance only, not a guarantee:

Static analysis can report issues that are not real problems (false positives).
It can miss issues that appear only when code runs, such as dynamically built code, code loaded from outside the scanned folders, encoded or obfuscated files, server configuration or missing PHP extensions (false negatives).
Files that are too large for your server’s memory limit are skipped, and the report says so.
A report with no errors does not guarantee that your site will work on a given PHP version.

Always make a full backup and test on a staging site before you change your PHP version or update plugins or themes.
DSSarl Upgrade Scanner never changes your PHP version and never edits your files.
DSSarl Upgrade Scanner is free software, provided “as is”, without warranty of any kind, as stated in the GNU General Public License. To the extent permitted by applicable law, DIGITAL SERVICES – SARL is not liable for downtime, data loss or any other damage arising from the use of the plugin or from decisions made on the basis of its results.
DSSarl Upgrade Scanner is developed by DIGITAL SERVICES – SARL. It is not affiliated with or endorsed by the PHP_CodeSniffer or PHPCompatibility projects, The PHP Group or WordPress.org. Credits and licences for the bundled open-source components are in THIRD-PARTY-NOTICES.txt.
Credits / Third-party libraries
DSSarl Upgrade Scanner bundles the following open-source projects. Full licence texts and copyright notices are in the THIRD-PARTY-NOTICES.txt file included with the plugin.

PHP_CodeSniffer – https://github.com/PHPCSStandards/PHP_CodeSniffer
PHPCSUtils – https://github.com/PHPCSStandards/PHPCSUtils
PHPCompatibility – https://github.com/PHPCompatibility/PHPCompatibility
PHPCompatibilityWP – https://github.com/PHPCompatibility/PHPCompatibilityWP
PHPCompatibilityParagonie – https://github.com/PHPCompatibility/PHPCompatibilityParagonie

DSSarl Upgrade Scanner is developed by Digital Services SARL – https://dssarl.com/

延伸相關外掛

文章
Filter
Mastodon