=== PHP Compatibility Checker by Volade ===
Contributors: volade
Tags: php, compatibility, php compatibility, upgrade, developer
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan plugins and themes for PHP compatibility before you upgrade. Local analysis — no Tide API. Works without a Volade account.

== Description ==

**PHP Compatibility Checker by Volade** helps you upgrade PHP safely. It scans your installed plugins and themes for code that may break on a target PHP version — with file and line numbers for each issue.

Unlike the abandoned WP Engine checker, scans run **locally on your server** (no external Tide dependency).

**Key features:**

* Local static analysis (PHPCompatibilityWP when bundled, smart fallback otherwise)
* Target PHP 7.4 through 8.5
* Errors vs warnings with component breakdown
* One-click presets (next PHP version, 8.3, 8.4, 8.5)
* AJAX batch scanning with progress bar
* JSON export of results (no account required)
* Plugin list column badges after last scan
* Mark false positives (Volade account)
* Scan history and CSV export (V+)
* WP-CLI: `wp pcc scan`, `wp pcc status` (V+)

= No account (free) =

* Scan **active plugins** and **active theme**
* Target the **next PHP minor version** from your server
* Full report with errors, warnings, file and line
* Presets and **JSON export**
* Menu: **Tools → PHP Compatibility**

= Free Volade account (optional) =

* Scan **all** installed plugins and themes
* Any target PHP version (8.0–8.5)
* Select specific plugins/themes
* Include parent theme when using a child theme
* Mark findings as false positives
* Volade ecosystem: XP, discover, referrals

= V+ Premium (optional paid subscription) =

* Scan history (last 20 scans)
* CSV export
* WP-CLI scan with exit codes for CI/staging
* Billed through [volade.com](https://volade.com) via Stripe (only if you choose to subscribe)

= Volade ecosystem =

The bundled **Volade SDK** is optional: **the scanner works without any Volade account.** Sign in only for extended scope, false-positive management, or V+ Premium.

= Translations =

English (default). Also available: French, Spanish, German, Brazilian Portuguese, and Italian.

== Installation ==

1. Upload the `php-compatibility-checker-by-volade` folder (with `volade-sdk/` included) to `/wp-content/plugins/`
2. Activate the plugin
3. Open **Tools → PHP Compatibility**, choose a target PHP version, and click **Run scan**

== Frequently Asked Questions ==

= Does this send my code to external servers? =

No. Analysis runs on your server. Optional Volade account features use the Volade API only when you sign in.

= Does it work on managed hosting? =

Yes. Unlike tools that require `exec()`, this plugin uses PHP-based analysis and works on typical shared and managed hosts.

= Can it scan premium plugins not on WordPress.org? =

Yes, with a free Volade account (connected tier). Guest mode scans active plugins and the active theme only.

= How accurate are results? =

Static analysis cannot catch every runtime issue. Always test on staging after fixing reported errors.

== Screenshots ==

1. Scan options with presets and PHP target selector
2. Progress bar during batch scan
3. Verdict and findings table with file and line
4. Plugin list PHP compatibility badges
5. Access profile and Volade upgrade gates

== External services ==

This plugin may connect to **Volade** (`https://volade.com/api`) when you use optional Volade features (account, V+). No data is sent until you create a Volade account.

**Service:** Volade API (`https://volade.com/api`)

**When:** Only after you sign in to Volade or subscribe to V+.

**Disable:** Do not create a Volade account. Scanning remains fully usable in guest mode.

Developers may override the API URL with the `VOLADE_API_URL` constant in `wp-config.php`.

== Privacy ==

**Local data:** Scan results, settings, false-positive whitelist, and scan history are stored in your WordPress database. Volade account data (pseudo, email, password hash, XP, badges, activity, subscriptions) is stored locally when you use the optional Volade account system. This is separate from WordPress user accounts.

**Export / erasure:** Signed-in users can export their Volade data (JSON) from **Volade → Settings**. Account deletion requests are handled per the [Volade privacy policy](https://volade.com/en/confidentialite).

**Uninstall:** Deleting the plugin removes scan settings, history, whitelist, and all Volade SDK tables, options, and scheduled tasks created by this plugin.

**Cookies:** A `volade_token` HTTP-only cookie is set when you sign in to Volade (admin only).

== Changelog ==

= 1.0.0 =
* First public release — local PHP compatibility scanning for plugins and themes
* Guest / Volade account / V+ feature tiers; presets, JSON export, plugin list badges
* Volade SDK integration; admin UI aligned with Volade design
* Runtime deprecation capture; target WordPress version scan
* Must-use plugins and drop-in scanning; custom path exclusions
* Findings filter/search, copy path, print report, readiness scores
* WP-CLI on V+; scheduled scans and email alerts on V+
* Top components list, compare scans by component (V+)
* Dashboard widget and Site Health test
* Theme PHP badge column, scan link on Plugins list
* Auto-rescan after plugin update (connected)
* HTML email for scheduled scans
* PHP extensions check in environment panel
* Full data cleanup on uninstall
* Translations: French, Spanish, German, Brazilian Portuguese, Italian
