check_updates
Assess Magento upgrade readiness for target PHP and Magento versions using composer.lock package verdicts and Rector code-compatibility results.
Instructions
Checks the given Magento project against a target PHP and Magento version, with two independent signals: a per-package verdict ('ok', 'blocks' or 'unknown') from declared composer.lock PHP requirements, and code_compatibility — whether the project's own code would actually need changes under the target PHP, via a Rector dry-run (declared requirements are often just '*', which alone gives a false sense of readiness). The PHP requirement for the target Magento version comes from a local cache, a live fetch, or an offline fallback table, in that order — the result says which one was used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| target_php | Yes | ||
| target_magento | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||