Skip to content

Commit 8d614e8

Browse files
authored
Merge branch 'main' into cleanup/head
2 parents 8b9b6f6 + 1814050 commit 8d614e8

File tree

565 files changed

+1348
-2257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

565 files changed

+1348
-2257
lines changed

.github/release-drafter.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ categories:
44
- title: '🚨 Security'
55
labels:
66
- 'security'
7+
- title: '🐛 Bug Fixes'
8+
labels:
9+
- 'fix'
10+
- 'bugfix'
11+
- 'bug'
712
- title: '🚀 Features'
813
labels:
914
- 'new feature'
1015
- title: '🦾 Enhancements'
1116
labels:
1217
- 'enhancement'
1318
- 'improvement'
14-
- title: '🐛 Bug Fixes'
15-
labels:
16-
- 'fix'
17-
- 'bugfix'
18-
- 'bug'
1919
- title: '📖 Documentation'
2020
labels:
2121
- 'documentation'

.github/workflows/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- run: ddev cypress-run --config-file .cypress.config.js
4040

4141
- name: Upload screenshots
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@v5
4343
if: ${{ !success() }}
4444
with:
4545
name: cypress-screenshots

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v5
1515
- name: Check Spelling
16-
uses: rojopolis/spellcheck-github-actions@0.52.0
16+
uses: rojopolis/spellcheck-github-actions@0.53.0
1717
with:
1818
config_path: .github/spellcheck.yml
1919
task_name: Markdown

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
/app/etc/modules/Cm_RedisSession.xml
2424
/lib/Credis
2525

26+
# MM Ignition
27+
/app/code/community/MM
28+
/app/etc/modules/MM_Ignition.xml
29+
2630
# ChartJs library
2731
/js/lib/chartjs
2832

.phpmd.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
[-] LongClassName
7777
[x] ShortClassName
7878
[-] LongVariable
79-
[x] ShortVariable
79+
[-] ShortVariable
8080
[x] ShortMethodName - TMP disabled
8181
-->
8282
<rule ref="rulesets/naming.xml">

.phpstan.dist.baseline.neon

Lines changed: 6 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -690,20 +690,14 @@ parameters:
690690
count: 1
691691
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
692692

693-
-
694-
rawMessage: 'Parameter #1 $order of method Mage_Sales_Model_Resource_Order_Collection_Abstract::setOrderFilter() expects int|Mage_Sales_Model_Order, array<string, mixed> given.'
695-
identifier: argument.type
696-
count: 1
697-
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
698-
699693
-
700694
rawMessage: 'Parameter #1 $prefix of function uniqid expects string, int<0, max> given.'
701695
identifier: argument.type
702696
count: 1
703697
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
704698

705699
-
706-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, ''\\intval'' given.'
700+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
707701
identifier: argument.type
708702
count: 2
709703
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
@@ -1225,7 +1219,7 @@ parameters:
12251219
path: app/code/core/Mage/Bundle/Model/Product/Type.php
12261220

12271221
-
1228-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, ''\\intval'' given.'
1222+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
12291223
identifier: argument.type
12301224
count: 3
12311225
path: app/code/core/Mage/Bundle/Model/Product/Type.php
@@ -1536,12 +1530,6 @@ parameters:
15361530
count: 1
15371531
path: app/code/core/Mage/Catalog/Model/Layer.php
15381532

1539-
-
1540-
rawMessage: 'Parameter #2 $filterBlock (Varien_Object) of method Mage_Catalog_Model_Layer_Filter_Attribute::apply() should be compatible with parameter $filterBlock (null) of method Mage_Catalog_Model_Layer_Filter_Abstract::apply()'
1541-
identifier: method.childParameterType
1542-
count: 1
1543-
path: app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php
1544-
15451533
-
15461534
rawMessage: 'Parameter #1 $range of method Mage_Catalog_Model_Layer_Filter_Decimal::_renderItemLabel() expects int, string given.'
15471535
identifier: argument.type
@@ -1554,18 +1542,6 @@ parameters:
15541542
count: 1
15551543
path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
15561544

1557-
-
1558-
rawMessage: 'Parameter #2 $filterBlock (Mage_Catalog_Block_Layer_Filter_Decimal) of method Mage_Catalog_Model_Layer_Filter_Decimal::apply() should be compatible with parameter $filterBlock (null) of method Mage_Catalog_Model_Layer_Filter_Abstract::apply()'
1559-
identifier: method.childParameterType
1560-
count: 1
1561-
path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
1562-
1563-
-
1564-
rawMessage: 'Parameter #2 $filterBlock of method Mage_Catalog_Model_Layer_Filter_Abstract::apply() expects null, Mage_Catalog_Block_Layer_Filter_Decimal given.'
1565-
identifier: argument.type
1566-
count: 1
1567-
path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
1568-
15691545
-
15701546
rawMessage: 'Parameter #2 $range of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal::applyFilterToCollection() expects float, string given.'
15711547
identifier: argument.type
@@ -1729,7 +1705,7 @@ parameters:
17291705
path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
17301706

17311707
-
1732-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, ''\\intval'' given.'
1708+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
17331709
identifier: argument.type
17341710
count: 1
17351711
path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
@@ -1747,7 +1723,7 @@ parameters:
17471723
path: app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php
17481724

17491725
-
1750-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, ''\\intval'' given.'
1726+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
17511727
identifier: argument.type
17521728
count: 1
17531729
path: app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php
@@ -2166,12 +2142,6 @@ parameters:
21662142
count: 1
21672143
path: app/code/core/Mage/CatalogInventory/Model/Stock/Item.php
21682144

2169-
-
2170-
rawMessage: 'Return type (int) of method Mage_CatalogRule_Model_Action_Index_Refresh_Row::_getProduct() should be compatible with return type (null) of method Mage_CatalogRule_Model_Action_Index_Refresh::_getProduct()'
2171-
identifier: method.childReturnType
2172-
count: 1
2173-
path: app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php
2174-
21752145
-
21762146
rawMessage: 'Parameter #1 $combine of method Mage_CatalogRule_Model_Observer::_removeAttributeFromConditions() expects Mage_CatalogRule_Model_Rule_Condition_Combine, Mage_Rule_Model_Condition_Combine given.'
21772147
identifier: argument.type
@@ -2479,7 +2449,7 @@ parameters:
24792449
path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
24802450

24812451
-
2482-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, ''trim'' given.'
2452+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, Closure(string, string=): string given.'
24832453
identifier: argument.type
24842454
count: 1
24852455
path: app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
@@ -2628,18 +2598,6 @@ parameters:
26282598
count: 1
26292599
path: app/code/core/Mage/Core/Model/Encryption.php
26302600

2631-
-
2632-
rawMessage: Negated boolean expression is always false.
2633-
identifier: booleanNot.alwaysFalse
2634-
count: 2
2635-
path: app/code/core/Mage/Core/Model/File/Storage.php
2636-
2637-
-
2638-
rawMessage: Result of || is always false.
2639-
identifier: booleanOr.alwaysFalse
2640-
count: 1
2641-
path: app/code/core/Mage/Core/Model/File/Storage.php
2642-
26432601
-
26442602
rawMessage: 'Parameter #1 $params of method Mage_Core_Model_File_Storage_Database_Abstract::__construct() expects array, string|null given.'
26452603
identifier: argument.type
@@ -3223,7 +3181,7 @@ parameters:
32233181
path: app/code/core/Mage/Downloadable/Model/Link/Api/V2.php
32243182

32253183
-
3226-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, ''\\intval'' given.'
3184+
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
32273185
identifier: argument.type
32283186
count: 1
32293187
path: app/code/core/Mage/Downloadable/Model/Product/Type.php
@@ -4284,12 +4242,6 @@ parameters:
42844242
count: 1
42854243
path: app/code/core/Mage/Sales/Block/Recurring/Profiles.php
42864244

4287-
-
4288-
rawMessage: 'Parameter #1 $order of method Mage_Sales_Model_Resource_Order_Collection_Abstract::setOrderFilter() expects int|Mage_Sales_Model_Order, array given.'
4289-
identifier: argument.type
4290-
count: 1
4291-
path: app/code/core/Mage/Sales/Model/Api2/Order.php
4292-
42934245
-
42944246
rawMessage: 'Parameter #2 $code of method Mage_Api2_Model_Resource::_critical() expects int|null, string given.'
42954247
identifier: argument.type
@@ -4938,12 +4890,6 @@ parameters:
49384890
count: 2
49394891
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php
49404892

4941-
-
4942-
rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.'
4943-
identifier: argument.type
4944-
count: 2
4945-
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php
4946-
49474893
-
49484894
rawMessage: 'Property Mage_Usa_Model_Shipping_Carrier_Dhl::$_request (Mage_Shipping_Model_Rate_Request|null) does not accept Varien_Object.'
49494895
identifier: assign.propertyType
@@ -5022,12 +4968,6 @@ parameters:
50224968
count: 1
50234969
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php
50244970

5025-
-
5026-
rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.'
5027-
identifier: argument.type
5028-
count: 2
5029-
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php
5030-
50314971
-
50324972
rawMessage: 'Property Mage_Usa_Model_Shipping_Carrier_Fedex::$_result (Mage_Shipping_Model_Rate_Result|null) does not accept Mage_Shipping_Model_Tracking_Result.'
50334973
identifier: assign.propertyType
@@ -5046,30 +4986,12 @@ parameters:
50464986
count: 1
50474987
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
50484988

5049-
-
5050-
rawMessage: 'Parameter #1 $string of function strlen expects string, array|false given.'
5051-
identifier: argument.type
5052-
count: 1
5053-
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
5054-
50554989
-
50564990
rawMessage: 'Parameter #2 $value of method SimpleXMLElement::addChild() expects string|null, float given.'
50574991
identifier: argument.type
50584992
count: 1
50594993
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
50604994

5061-
-
5062-
rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.'
5063-
identifier: argument.type
5064-
count: 18
5065-
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
5066-
5067-
-
5068-
rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.'
5069-
identifier: argument.type
5070-
count: 3
5071-
path: app/code/core/Mage/Usa/Model/Shipping/Carrier/UpsAuth.php
5072-
50734995
-
50744996
rawMessage: 'Parameter #2 $serviceType of method Mage_Usa_Model_Shipping_Carrier_Usps::_formUsSignatureConfirmationShipmentRequest() expects string, array|bool given.'
50754997
identifier: argument.type
@@ -6000,18 +5922,6 @@ parameters:
60005922
count: 1
60015923
path: lib/Mage/DB/Mysqli.php
60025924

6003-
-
6004-
rawMessage: 'Parameter #1 $handle of function curl_setopt expects CurlHandle, resource|false given.'
6005-
identifier: argument.type
6006-
count: 1
6007-
path: lib/Mage/HTTP/Client/Curl.php
6008-
6009-
-
6010-
rawMessage: 'Parameter #1 $handle of function curl_setopt_array expects CurlHandle, resource|false given.'
6011-
identifier: argument.type
6012-
count: 1
6013-
path: lib/Mage/HTTP/Client/Curl.php
6014-
60155925
-
60165926
rawMessage: Empty array passed to foreach.
60175927
identifier: foreach.emptyArray
@@ -6288,12 +6198,6 @@ parameters:
62886198
count: 1
62896199
path: lib/Varien/Filter/Template/Tokenizer/Variable.php
62906200

6291-
-
6292-
rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.'
6293-
identifier: argument.type
6294-
count: 2
6295-
path: lib/Varien/Http/Adapter/Curl.php
6296-
62976201
-
62986202
rawMessage: 'Parameter #2 $enable of function imageinterlace expects bool|null, int given.'
62996203
identifier: argument.type

.phpstan.dist.neon

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ parameters:
2727
- tests/unit
2828
excludePaths:
2929
#incompatible interfaces
30-
- app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php
31-
- app/code/core/Mage/Admin/Model/Acl/Assert/Time.php
32-
- app/code/core/Mage/Api/Model/Acl/Assert/Ip.php
33-
- app/code/core/Mage/Api/Model/Acl/Assert/Time.php
3430
- app/code/core/Mage/Core/Model/Mysql4/Design/Theme/Collection.php
3531
- lib/Varien/Directory/Collection.php
3632
- lib/Varien/Directory/Factory.php
@@ -61,10 +57,6 @@ parameters:
6157
# Dataflow/Model/Convert/Iterator.php
6258
- app/code/core/Mage/Dataflow/Model/Convert/Iterator.php
6359

64-
# Too much noise from "Variable $this might not be defined"
65-
- app/code/core/*/*/data/*
66-
- app/code/core/*/*/sql/*
67-
6860
# requires Mycrypt
6961
- lib/Magento/Crypt.php
7062
- lib/Varien/Crypt/Mcrypt.php

.phpstorm.meta.php/magento_models.meta.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
'adminnotification/resource_inbox_collection' => \Mage_AdminNotification_Model_Resource_Inbox_Collection::class,
2424
'adminnotification_resource/inbox_collection' => \Mage_AdminNotification_Model_Resource_Inbox_Collection::class,
2525
'admin/acl' => \Mage_Admin_Model_Acl::class,
26-
'admin/acl_assert_ip' => \Mage_Admin_Model_Acl_Assert_Ip::class,
27-
'admin/acl_assert_time' => \Mage_Admin_Model_Acl_Assert_Time::class,
2826
'admin/acl_resource' => \Mage_Admin_Model_Acl_Resource::class,
2927
'admin/acl_role' => \Mage_Admin_Model_Acl_Role::class,
3028
'admin/acl_role_generic' => \Mage_Admin_Model_Acl_Role_Generic::class,
@@ -308,8 +306,6 @@
308306
'api2/router' => \Mage_Api2_Model_Router::class,
309307
'api2/server' => \Mage_Api2_Model_Server::class,
310308
'api/acl' => \Mage_Api_Model_Acl::class,
311-
'api/acl_assert_ip' => \Mage_Api_Model_Acl_Assert_Ip::class,
312-
'api/acl_assert_time' => \Mage_Api_Model_Acl_Assert_Time::class,
313309
'api/acl_resource' => \Mage_Api_Model_Acl_Resource::class,
314310
'api/acl_role' => \Mage_Api_Model_Acl_Role::class,
315311
'api/acl_role_generic' => \Mage_Api_Model_Acl_Role_Generic::class,
@@ -3191,8 +3187,6 @@
31913187
'adminnotification/resource_inbox_collection' => \Mage_AdminNotification_Model_Resource_Inbox_Collection::class,
31923188
'adminnotification_resource/inbox_collection' => \Mage_AdminNotification_Model_Resource_Inbox_Collection::class,
31933189
'admin/acl' => \Mage_Admin_Model_Acl::class,
3194-
'admin/acl_assert_ip' => \Mage_Admin_Model_Acl_Assert_Ip::class,
3195-
'admin/acl_assert_time' => \Mage_Admin_Model_Acl_Assert_Time::class,
31963190
'admin/acl_resource' => \Mage_Admin_Model_Acl_Resource::class,
31973191
'admin/acl_role' => \Mage_Admin_Model_Acl_Role::class,
31983192
'admin/acl_role_generic' => \Mage_Admin_Model_Acl_Role_Generic::class,
@@ -3476,8 +3470,6 @@
34763470
'api2/router' => \Mage_Api2_Model_Router::class,
34773471
'api2/server' => \Mage_Api2_Model_Server::class,
34783472
'api/acl' => \Mage_Api_Model_Acl::class,
3479-
'api/acl_assert_ip' => \Mage_Api_Model_Acl_Assert_Ip::class,
3480-
'api/acl_assert_time' => \Mage_Api_Model_Acl_Assert_Time::class,
34813473
'api/acl_resource' => \Mage_Api_Model_Acl_Resource::class,
34823474
'api/acl_role' => \Mage_Api_Model_Acl_Role::class,
34833475
'api/acl_role_generic' => \Mage_Api_Model_Acl_Role_Generic::class,

0 commit comments

Comments
 (0)