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 stripos in Mage_Core_Model_Resource_Helper_Abstract #3295

Merged
merged 2 commits into from
Jun 7, 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 stripos 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: Core Relates to Mage_Core label Jun 2, 2023
@luigifab luigifab added the PHP 8.1 Related to PHP 8.1 label Jun 2, 2023
@fballiano fballiano changed the title Fixed passing null is deprecated for stripos Fixed passing null is deprecated for stripos in Mage_Core_Model_Resource_Helper_Abstract Jun 7, 2023
@fballiano fballiano merged commit 3a6eaa3 into OpenMage:main Jun 7, 2023
15 checks passed
@kyrena kyrena deleted the php82-coreabstract 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: Core Relates to Mage_Core PHP 8.1 Related to PHP 8.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants