Fix deprecated warnings related to using null as an array offset - #5713
Open
B3Hana wants to merge 3 commits into
Open
Fix deprecated warnings related to using null as an array offset#5713B3Hana wants to merge 3 commits into
B3Hana wants to merge 3 commits into
Conversation
|
Contributor
|
@sreichel what would be the best way to fix this check? It's not possible to have Unless the part is reworked that |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description (*)
PHP 8.5 deprecated the use of
nullas an array offset and as a key for thearray_key_existsfunctionRelated Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Use the markers below as a guide to replicate the warnings/errors(in dev mode)
Questions or comments
Mage_Core_Controller_Varien_Action::202 If no action is set, like in install setup
Mage_Catalog_Model_Product_Attribute_Backend_Media::171 If no image was added to the gallery
array ('image' => NULL,'small_image' => NULL,'thumbnail' => NULL)while savingMage_ImportExport_Model_Export_Entity_Product::529 If a product is not assigned to any category while export
Mage_ImportExport_Model_Export_Entity_Product::666 If a product value is not set for any product while export
Mage_ImportExport_Model_Export_Entity_Customer::405 If a customer value is not set for any customer while saving
Mage_Eav_Model_Config::490 If an internal product attribute is saved (attribute code is disabled)
Mage_Adminhtml_Block_Tax_Rate_Form::146 Varien_Data_Form::125 throws, because no id was set for the tax_rate_title_fieldset
Contribution checklist (*)