Skip to content
New issue

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

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

Already on GitHub? # to your account

Updated PHPStan to 1.11.2 #3988

Merged
merged 14 commits into from
May 29, 2024
3 changes: 2 additions & 1 deletion .phpstorm.meta.php/magento_blocks.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,11 @@
'adminhtml/permissions_edituser' => \Mage_Adminhtml_Block_Permissions_Edituser::class,
'adminhtml/permissions_grid_role' => \Mage_Adminhtml_Block_Permissions_Grid_Role::class,
'adminhtml/permissions_grid_user' => \Mage_Adminhtml_Block_Permissions_Grid_User::class,
'adminhtml/permissions_orphanedResource' => \Mage_Adminhtml_Block_Permissions_OrphanedResource::class,
'adminhtml/permissions_orphanedResource_grid' => \Mage_Adminhtml_Block_Permissions_OrphanedResource_Grid::class,
'adminhtml/permissions_role' => \Mage_Adminhtml_Block_Permissions_Role::class,
'adminhtml/permissions_role_grid_user' => \Mage_Adminhtml_Block_Permissions_Role_Grid_User::class,
'adminhtml/permissions_roles' => \Mage_Adminhtml_Block_Permissions_Roles::class,
'adminhtml/permissions_orphanedResource' => \Mage_Adminhtml_Block_Permissions_OrphanedResource::class,
'adminhtml/permissions_tab_roleinfo' => \Mage_Adminhtml_Block_Permissions_Tab_Roleinfo::class,
'adminhtml/permissions_tab_rolesedit' => \Mage_Adminhtml_Block_Permissions_Tab_Rolesedit::class,
'adminhtml/permissions_tab_rolesusers' => \Mage_Adminhtml_Block_Permissions_Tab_Rolesusers::class,
Expand Down
4 changes: 2 additions & 2 deletions .phpstorm.meta.php/magento_blocks_methods.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,11 @@
'adminhtml/permissions_edituser' => \Mage_Adminhtml_Block_Permissions_Edituser::class,
'adminhtml/permissions_grid_role' => \Mage_Adminhtml_Block_Permissions_Grid_Role::class,
'adminhtml/permissions_grid_user' => \Mage_Adminhtml_Block_Permissions_Grid_User::class,
'adminhtml/permissions_orphanedResource' => \Mage_Adminhtml_Block_Permissions_OrphanedResource::class,
'adminhtml/permissions_orphanedResource_grid' => \Mage_Adminhtml_Block_Permissions_OrphanedResource_Grid::class,
'adminhtml/permissions_role' => \Mage_Adminhtml_Block_Permissions_Role::class,
'adminhtml/permissions_role_grid_user' => \Mage_Adminhtml_Block_Permissions_Role_Grid_User::class,
'adminhtml/permissions_roles' => \Mage_Adminhtml_Block_Permissions_Roles::class,
'adminhtml/permissions_orphanedResource' => \Mage_Adminhtml_Block_Permissions_OrphanedResource::class,
'adminhtml/permissions_tab_roleinfo' => \Mage_Adminhtml_Block_Permissions_Tab_Roleinfo::class,
'adminhtml/permissions_tab_rolesedit' => \Mage_Adminhtml_Block_Permissions_Tab_Rolesedit::class,
'adminhtml/permissions_tab_rolesusers' => \Mage_Adminhtml_Block_Permissions_Tab_Rolesusers::class,
Expand Down Expand Up @@ -555,7 +556,6 @@
'adminhtml/sales_order_view_tab_history' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_History::class,
'adminhtml/sales_order_view_tab_info' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_Info::class,
'adminhtml/sales_order_view_tab_invoices' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_Invoices::class,
'adminhtml/sales_order_view_tab_prova' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_Prova::class,
'adminhtml/sales_order_view_tab_shipments' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_Shipments::class,
'adminhtml/sales_order_view_tab_transactions' => \Mage_Adminhtml_Block_Sales_Order_View_Tab_Transactions::class,
'adminhtml/sales_order_view_tabs' => \Mage_Adminhtml_Block_Sales_Order_View_Tabs::class,
Expand Down
1 change: 1 addition & 0 deletions .phpstorm.meta.php/magento_helpers.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down
16 changes: 16 additions & 0 deletions .phpstorm.meta.php/magento_helpers_methods.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -274,6 +275,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -465,6 +467,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -656,6 +659,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -847,6 +851,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1038,6 +1043,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1229,6 +1235,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1420,6 +1427,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1611,6 +1619,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1802,6 +1811,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -1993,6 +2003,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -2184,6 +2195,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -2375,6 +2387,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -2566,6 +2579,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -2757,6 +2771,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down Expand Up @@ -2948,6 +2963,7 @@
'core/cookie' => \Mage_Core_Helper_Cookie::class,
'core' => \Mage_Core_Helper_Data::class,
'core/data' => \Mage_Core_Helper_Data::class,
'core/environmentConfigLoader' => \Mage_Core_Helper_EnvironmentConfigLoader::class,
'core/file_storage' => \Mage_Core_Helper_File_Storage::class,
'core/file_storage_database' => \Mage_Core_Helper_File_Storage_Database::class,
'core/hint' => \Mage_Core_Helper_Hint::class,
Expand Down
20 changes: 10 additions & 10 deletions .phpstorm.meta.php/magento_models.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
namespace PHPSTORM_META {
override( \Mage::getModel(0),
map( [
'core_resource/session' => \Cm_RedisSession_Model_Session::class,
'cm_redissession/session' => \Cm_RedisSession_Model_Session::class,
'cm_redissession/session_config' => \Cm_RedisSession_Model_Session_Config::class,
'cm_redissession/session_handler' => \Cm_RedisSession_Model_Session_Handler::class,
'cm_redissession/session_logger' => \Cm_RedisSession_Model_Session_Logger::class,
'adminnotification/feed' => \Mage_AdminNotification_Model_Feed::class,
'adminnotification/inbox' => \Mage_AdminNotification_Model_Inbox::class,
'adminnotification/mysql4_inbox' => \Mage_AdminNotification_Model_Mysql4_Inbox::class,
Expand Down Expand Up @@ -1231,6 +1226,7 @@
'core_resource/resource' => \Mage_Core_Model_Resource_Resource::class,
'payment_resource/resource' => \Mage_Core_Model_Resource_Resource::class,
'core/resource_session' => \Mage_Core_Model_Resource_Session::class,
'core_resource/session' => \Mage_Core_Model_Resource_Session::class,
'payment_resource/session' => \Mage_Core_Model_Resource_Session::class,
'core/resource_setup' => \Mage_Core_Model_Resource_Setup::class,
'core_resource/setup' => \Mage_Core_Model_Resource_Setup::class,
Expand Down Expand Up @@ -1631,6 +1627,7 @@
'eav/entity_attribute_frontend_default' => \Mage_Eav_Model_Entity_Attribute_Frontend_Default::class,
'eav/entity_attribute_group' => \Mage_Eav_Model_Entity_Attribute_Group::class,
'eav/entity_attribute_option' => \Mage_Eav_Model_Entity_Attribute_Option::class,
'eav/entity_attribute_option_swatch' => \Mage_Eav_Model_Entity_Attribute_Option_Swatch::class,
'eav/entity_attribute_set' => \Mage_Eav_Model_Entity_Attribute_Set::class,
'eav/entity_attribute_source_abstract' => \Mage_Eav_Model_Entity_Attribute_Source_Abstract::class,
'eav/entity_attribute_source_boolean' => \Mage_Eav_Model_Entity_Attribute_Source_Boolean::class,
Expand Down Expand Up @@ -1686,6 +1683,8 @@
'eav_resource/entity_attribute_option' => \Mage_Eav_Model_Resource_Entity_Attribute_Option::class,
'eav/resource_entity_attribute_option_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection::class,
'eav_resource/entity_attribute_option_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection::class,
'eav/resource_entity_attribute_option_swatch' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Swatch::class,
'eav_resource/entity_attribute_option_swatch' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Swatch::class,
'eav/resource_entity_attribute_set' => \Mage_Eav_Model_Resource_Entity_Attribute_Set::class,
'eav_resource/entity_attribute_set' => \Mage_Eav_Model_Resource_Entity_Attribute_Set::class,
'eav/resource_entity_attribute_set_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection::class,
Expand Down Expand Up @@ -3086,6 +3085,7 @@
'usa/shipping_carrier_fedex_source_packaging' => \Mage_Usa_Model_Shipping_Carrier_Fedex_Source_Packaging::class,
'usa/shipping_carrier_fedex_source_unitofmeasure' => \Mage_Usa_Model_Shipping_Carrier_Fedex_Source_Unitofmeasure::class,
'usa/shipping_carrier_ups' => \Mage_Usa_Model_Shipping_Carrier_Ups::class,
'usa/shipping_carrier_upsAuth' => \Mage_Usa_Model_Shipping_Carrier_UpsAuth::class,
'usa/shipping_carrier_ups_backend_freemethod' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_Freemethod::class,
'usa/shipping_carrier_ups_backend_originShipment' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_OriginShipment::class,
'usa/shipping_carrier_ups_backend_type' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_Type::class,
Expand Down Expand Up @@ -3168,11 +3168,6 @@
);
override( \Mage::getSingleton(0),
map( [
'core_resource/session' => \Cm_RedisSession_Model_Session::class,
'cm_redissession/session' => \Cm_RedisSession_Model_Session::class,
'cm_redissession/session_config' => \Cm_RedisSession_Model_Session_Config::class,
'cm_redissession/session_handler' => \Cm_RedisSession_Model_Session_Handler::class,
'cm_redissession/session_logger' => \Cm_RedisSession_Model_Session_Logger::class,
'adminnotification/feed' => \Mage_AdminNotification_Model_Feed::class,
'adminnotification/inbox' => \Mage_AdminNotification_Model_Inbox::class,
'adminnotification/mysql4_inbox' => \Mage_AdminNotification_Model_Mysql4_Inbox::class,
Expand Down Expand Up @@ -4397,6 +4392,7 @@
'core_resource/resource' => \Mage_Core_Model_Resource_Resource::class,
'payment_resource/resource' => \Mage_Core_Model_Resource_Resource::class,
'core/resource_session' => \Mage_Core_Model_Resource_Session::class,
'core_resource/session' => \Mage_Core_Model_Resource_Session::class,
'payment_resource/session' => \Mage_Core_Model_Resource_Session::class,
'core/resource_setup' => \Mage_Core_Model_Resource_Setup::class,
'core_resource/setup' => \Mage_Core_Model_Resource_Setup::class,
Expand Down Expand Up @@ -4797,6 +4793,7 @@
'eav/entity_attribute_frontend_default' => \Mage_Eav_Model_Entity_Attribute_Frontend_Default::class,
'eav/entity_attribute_group' => \Mage_Eav_Model_Entity_Attribute_Group::class,
'eav/entity_attribute_option' => \Mage_Eav_Model_Entity_Attribute_Option::class,
'eav/entity_attribute_option_swatch' => \Mage_Eav_Model_Entity_Attribute_Option_Swatch::class,
'eav/entity_attribute_set' => \Mage_Eav_Model_Entity_Attribute_Set::class,
'eav/entity_attribute_source_abstract' => \Mage_Eav_Model_Entity_Attribute_Source_Abstract::class,
'eav/entity_attribute_source_boolean' => \Mage_Eav_Model_Entity_Attribute_Source_Boolean::class,
Expand Down Expand Up @@ -4852,6 +4849,8 @@
'eav_resource/entity_attribute_option' => \Mage_Eav_Model_Resource_Entity_Attribute_Option::class,
'eav/resource_entity_attribute_option_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection::class,
'eav_resource/entity_attribute_option_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection::class,
'eav/resource_entity_attribute_option_swatch' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Swatch::class,
'eav_resource/entity_attribute_option_swatch' => \Mage_Eav_Model_Resource_Entity_Attribute_Option_Swatch::class,
'eav/resource_entity_attribute_set' => \Mage_Eav_Model_Resource_Entity_Attribute_Set::class,
'eav_resource/entity_attribute_set' => \Mage_Eav_Model_Resource_Entity_Attribute_Set::class,
'eav/resource_entity_attribute_set_collection' => \Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection::class,
Expand Down Expand Up @@ -6252,6 +6251,7 @@
'usa/shipping_carrier_fedex_source_packaging' => \Mage_Usa_Model_Shipping_Carrier_Fedex_Source_Packaging::class,
'usa/shipping_carrier_fedex_source_unitofmeasure' => \Mage_Usa_Model_Shipping_Carrier_Fedex_Source_Unitofmeasure::class,
'usa/shipping_carrier_ups' => \Mage_Usa_Model_Shipping_Carrier_Ups::class,
'usa/shipping_carrier_upsAuth' => \Mage_Usa_Model_Shipping_Carrier_UpsAuth::class,
'usa/shipping_carrier_ups_backend_freemethod' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_Freemethod::class,
'usa/shipping_carrier_ups_backend_originShipment' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_OriginShipment::class,
'usa/shipping_carrier_ups_backend_type' => \Mage_Usa_Model_Shipping_Carrier_Ups_Backend_Type::class,
Expand Down
Loading
Loading