The easiest way to find the right guide is to run PHPCompatibility with the -s
flag:
vendor/bin/phpcs -s
The incompatibility (sniff) code will be in parentheses. Search for it on this page. If you can't find it, then it means that we don't have a guide for it yet. Feel free to submit a guide once you solved the issue in your project, while it's fresh in your mind.
Don't forget to check out the recommended workflow for upgrading your application.
- PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved
- PHPCompatibility.FunctionNameRestrictions.RemovedPHP4StyleConstructors.Found
- PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore
- PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
- PHPCompatibility.FunctionUse.RemovedFunctions.eachDeprecated
- PHPCompatibility.IniDirectives.RemovedIniDirectives
- PHPCompatibility.Miscellaneous.ValidIntegers.HexNumericStringFound
- PHPCompatibility.Operators.ChangedConcatOperatorPrecedence.Found
- PHPCompatibility.Operators.RemovedTernaryAssociativity
- PHPCompatibility.Variables.ForbiddenThisUseContexts.OutsideObjectContext
Migration Services
Increase security and cut risk by simplifying PHP application upgrades and migrations.
Get Long-Term Support With ZendPHP
Stay secure and compliant while migrating on your schedule with Zend PHP LTS.