Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed passing null is deprecated for trim in Mage_Tax_Model_Resource_Calculation #3299

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

kyrena
Copy link
Contributor

@kyrena kyrena commented Jun 2, 2023

Description

This fix passing null to parameter 1 of type string is deprecated for trim with PHP 8.1/8.2.
Perhaps it's not the best way.

See also this discussion comment.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@github-actions github-actions bot added the Component: Tax Relates to Mage_Tax label Jun 2, 2023
@luigifab luigifab added the PHP 8.1 Related to PHP 8.1 label Jun 2, 2023
@fballiano fballiano merged commit 820a805 into OpenMage:main Jun 4, 2023
@fballiano fballiano changed the title Fixed passing null is deprecated for trim Fixed passing null is deprecated for trim in Mage_Tax_Model_Resource_Calculation Jun 4, 2023
@kyrena kyrena deleted the php82-calculation branch June 8, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Tax Relates to Mage_Tax PHP 8.1 Related to PHP 8.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants