Refactor for Magento 2.4.4 compatibility and PHP 8.1 support.
Description
Current setup data patches previously passed null group name in EAV attribute setup. Passing a null value to this internal function is no longer supported in PHP 8.1. Default group name General will be used instead.
Performance
N/A
Testing
Create a Magento 2.3 or 2.4 instance
Clone repository in to <magento_root>/app/code/Taxjar/SalesTax/
Run bin/magento module:enable Taxjar_SalesTax --clear-static-content
Run bin/magento setup:upgrade
Observe upgrade command completes successfully, data patches are applied
Context
Refactor for Magento 2.4.4 compatibility and PHP 8.1 support.
Description
Current setup data patches previously passed
null
group name in EAV attribute setup. Passing a null value to this internal function is no longer supported in PHP 8.1. Default group nameGeneral
will be used instead.Performance
N/A
Testing
<magento_root>/app/code/Taxjar/SalesTax/
bin/magento module:enable Taxjar_SalesTax --clear-static-content
bin/magento setup:upgrade
Versions