raptor / php-migration-helper
Helps to migrate your projects from PHP 7.1 to 7.3
Installs: 70
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
pkg:composer/raptor/php-migration-helper
Requires
- php: >=7.3
- composer/semver: ^1.5
- symfony/console: ^3.0|^4.0
- symfony/yaml: ^3.0|^4.0
Requires (Dev)
- escapestudios/symfony2-coding-standard: 3.9.*
- mockery/mockery: 1.2.*
- phpmd/phpmd: @stable
- phpunit/phpunit: 7.*
- raptor/test-utils: ^1.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: 3.4.*
This package is auto-updated.
Last update: 2025-12-09 00:32:53 UTC
README
(c) Mikhail Kamorin aka raptor_MVK
Overview
Helper contains command php-migration-helper that checks your project for
changes in PHP 7.2 and 7.3 that break backward compatibility. The report is
provided as result of command execution.
Installation
The suggested installation method is via composer:
php composer.phar require --dev raptor/php-migration-helper:^1.0 --prefer-dist
Usage
-
Install package.
-
Run command (
VERSION_FROMis current PHP version,VERSION_TOis desired PHP version andREPORT_FILEis path to the file with compatibility record):php vendor/raptor/php-migration-helper/migration-report VERSION_FROM VERSION_TO REPORT_FILE
-
If you do not want to process vendor folder, you can use
--no-vendoroption. -
View compatibility report. If it contains records from vendor path that need correction, please, make PR into this repository (fix
src/Resources/configs/configXX.ymlwith appropriate version) with correct minimal version of the package under consideration. -
Fix mentions that are really problems
-
Remove package.
Authors
- Mikhail Kamorin aka raptor_MVK