PHP 8.0, 8.1, 8.2, 8.3 introduced significant language changes: stricter typing, removal of deprecated functions, changes in null handling, new method signature requirements. Most OpenCart modules written for PHP 7.x either generate numerous warnings or fail to run on new versions.
We adapt OpenCart modules and themes for PHP 8.1 and 8.3: finding all incompatible constructs, fixing Deprecated warnings, Fatal errors and TypeErrors. The result — stable operation on modern PHP versions without suppressing errors via error_reporting.
We start by analysing PHP error_log and static analysis results (PHPStan or Rector). Then we fix incompatibilities without changing the module business logic. Tested on staging before production application.