Skip to content

1.7.3 - PHP 8.5 compatibility and reliability fixes

Choose a tag to compare

@olegkoval olegkoval released this 09 Aug 21:38
· 18 commits to master since this release

Fixed

  • PHP 8.5 compatibility: replaced the deprecated non-canonical (double) type cast with (float) in the progress bar calculation, eliminating the deprecation notice Magento throws under PHP 8.5. (#183)
  • Reindex/cache commands now use the correct PHP executable: replaced a hardcoded php command with PHP_BINARY so reindex/cache calls always run under the same PHP version as the CLI command itself, instead of whatever php happens to resolve to on $PATH. (#161)
  • Category regeneration no longer aborts entirely when it hits one broken/orphaned category: exception handling is now scoped per-category (matching the existing per-product behavior), so a single bad entity is skipped instead of stopping the whole batch. (#172)

Changed

  • Added a missing type hint and defensive casting in a couple of internal helper methods (PHP 8.x hygiene).
  • Declared the minimum supported PHP version (>=8.2) in composer.json.

Compatibility

  • Magento Open Source 2.4.7 → 2.4.9
  • PHP 8.2 → 8.5

Thanks to @swnsma and @f123248 for reporting and helping diagnose the PHP 8.5 issue.