You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drop PHP 8.1 and below, add PHP 8.5 support, allow Tagging 9
Raise the minimum PHP version to 8.2 and allow nosto/module-nostotagging ^9.0
alongside ^8.0.
Source:
- Make seven implicitly nullable parameters explicit (deprecated since PHP 8.4):
Helper/Data.php (isCategorySortingEnabled, isAllCategoriesMapEnabled,
getFallbackSorting, getMaxProductLimit, getStoreConfig),
Exception/CmpException.php and Exception/SessionCreationException.php
Dependencies:
- Require php >=8.2 (was >=7.4); set platform php to 8.2.0
- Allow nosto/module-nostotagging ^8.0 || ^9.0, so the module installs on both
Tagging majors (every Tagging API this module uses is unchanged between
8.1.8 and 9.0.0)
- Narrow nosto/php-sdk from >=5.5.0 to ^7.7 || ^8.0. This has to span both
majors: Tagging 8.x pins the SDK to 7.7.7 and Tagging 9.x pins it to 8.0.0,
so a narrower constraint would make the ^8.0 Tagging path unsatisfiable
- Bump the Magento dev modules to their 2.4.8 versions (module-store 101.1.8,
module-layered-navigation 100.4.8, module-catalog-graph-ql 100.4.8)
- Upgrade tooling: phan 5.3 -> ^6.0, magento-coding-standard ^5.0 -> ^38,
magento-ecg 3.* -> ^4.5, phing 2.* -> ^3.0, php_codesniffer ^3.5 -> ^3.13,
phpmd ^2.6 -> ^2.15; add phpcompatibility/php-compatibility
- Remove sebastian/phpcpd (abandoned) and mridang/pmd-annotations (requires
php ^7.0, so it cannot install on 8.2; not referenced by any workflow)
CI / analysis:
- Bump workflows to PHP 8.2; Magento install 2.4.5 -> 2.4.8 (2.4.5 caps at 8.1)
- actions/checkout v1 -> v4; replace the deprecated ::set-output with
$GITHUB_OUTPUT; drop --no-suggest (no-op in Composer 2)
- Add a PHP 8.2-8.5 compatibility job and ruleset-phpcompat.xml
- Set phan target_php_version 8.5 / minimum_target_php_version 8.2
- Drop the hardcoded installed_paths from ruleset.xml; the
phpcodesniffer-composer-installer plugin registers EcgM2, Magento2 and
PHPCompatibility, and hardcoding the path prevented the standards resolving
- Use cs2pr --graceful-warnings, since coding-standard ^38 is far stricter
than ^5.0 and reports many warnings
Bump version to 6.0.0: dropping PHP 8.1 is a breaking change.
Verified: parses clean on 8.2/8.3/8.4/8.5; PHPCompatibility 8.2- reports no
violations; installs into Magento 2.4.8 alongside Tagging 9.0.0 with
setup:di:compile succeeding and Nosto\Cmp\Helper\Data resolving through DI.
0 commit comments