Skip to content

Commit c309d62

Browse files
committed
Merge branch 'main' into zend-measure
# Conflicts: # composer.lock
2 parents 1ff4d3b + e1f7ec8 commit c309d62

File tree

8 files changed

+9
-94
lines changed

8 files changed

+9
-94
lines changed

.phpstan.dist.baseline.neon

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@ parameters:
162162
count: 1
163163
path: app/code/core/Mage/Adminhtml/Block/Review/Grid/Filter/Type.php
164164

165-
-
166-
rawMessage: 'Call to method getIsOldCustomer() on an unknown class Mage_Adminhtml_Model_Quote.'
167-
identifier: class.notFound
168-
count: 1
169-
path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Newsletter.php
170-
171165
-
172166
rawMessage: 'Call to an undefined method Mage_Shipping_Model_Carrier_Abstract::isGirthAllowed().'
173167
identifier: method.notFound
@@ -2172,12 +2166,6 @@ parameters:
21722166
count: 1
21732167
path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php
21742168

2175-
-
2176-
rawMessage: 'Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute_Group::deleteGroups().'
2177-
identifier: method.notFound
2178-
count: 1
2179-
path: app/code/core/Mage/Eav/Model/Entity/Attribute/Group.php
2180-
21812169
-
21822170
rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract::getStoreId().'
21832171
identifier: method.notFound
@@ -2346,12 +2334,6 @@ parameters:
23462334
count: 1
23472335
path: app/code/core/Mage/Index/Model/Lock.php
23482336

2349-
-
2350-
rawMessage: 'Call to function is_array() with '''' will always evaluate to false.'
2351-
identifier: function.impossibleType
2352-
count: 1
2353-
path: app/code/core/Mage/Index/Model/Resource/Event.php
2354-
23552337
-
23562338
rawMessage: 'Parameter #1 $adapter of method Varien_Db_Adapter_Interface::setCacheAdapter() expects Zend_Cache_Backend_Interface, Zend_Cache_Core given.'
23572339
identifier: argument.type
@@ -2394,12 +2376,6 @@ parameters:
23942376
count: 2
23952377
path: app/code/core/Mage/Log/Model/Resource/Log.php
23962378

2397-
-
2398-
rawMessage: 'Call to function is_null() with bool will always evaluate to false.'
2399-
identifier: function.impossibleType
2400-
count: 1
2401-
path: app/code/core/Mage/Newsletter/Model/Subscriber.php
2402-
24032379
-
24042380
rawMessage: 'Call to function is_null() with Mage_Newsletter_Model_Queue will always evaluate to false.'
24052381
identifier: function.impossibleType

app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Newsletter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ public function getHeaderCssClass()
4141
*/
4242
protected function _toHtml()
4343
{
44-
if (!Mage::getSingleton('adminhtml/quote')->getIsOldCustomer()) {
45-
return parent::_toHtml();
46-
}
47-
4844
return '';
4945
}
5046
}

app/code/core/Mage/Eav/Model/Entity/Attribute/Group.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,4 @@ public function itemExists()
4141
{
4242
return $this->_getResource()->itemExists($this);
4343
}
44-
45-
/**
46-
* Delete groups
47-
*
48-
* @return $this
49-
*/
50-
public function deleteGroups()
51-
{
52-
return $this->_getResource()->deleteGroups($this);
53-
}
5444
}

app/code/core/Mage/Index/Model/Resource/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function updateProcessEvents($process, $status = Mage_Index_Model_Process
9999
$whereCondition = ['process_id = ?' => $process->getId()];
100100
} elseif (is_array($process) && !empty($process)) {
101101
$whereCondition = ['process_id IN (?)' => $process];
102-
} elseif (!is_array($whereCondition)) {
102+
} elseif (!empty($process)) {
103103
$whereCondition = ['process_id = ?' => $process];
104104
}
105105

app/code/core/Mage/Install/etc/install.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@
7575
<openssl/>
7676
<mcrypt/>
7777
</mcrypt>
78+
<mysqli/>
7879
<pdo/>
7980
<pdo_mysql/>
81+
<posix/>
8082
<simplexml/>
8183
<soap/>
8284
<spl/>

app/code/core/Mage/Newsletter/Model/Subscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public function subscribeCustomer($customer)
469469

470470
$this->save();
471471
$sendSubscription = $customer->getData('sendSubscription') || $sendInformationEmail;
472-
if (is_null($sendSubscription) xor $sendSubscription) {
472+
if ($sendSubscription) {
473473
if ($this->getIsStatusChanged() && $status == self::STATUS_UNSUBSCRIBED) {
474474
$this->sendUnsubscriptionEmail();
475475
} elseif ($this->getIsStatusChanged() && $status == self::STATUS_SUBSCRIBED) {

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
"ext-json": "*",
2121
"ext-libxml": "*",
2222
"ext-mbstring": "*",
23+
"ext-mysqli": "*",
2324
"ext-pdo": "*",
2425
"ext-pdo_mysql": "*",
2526
"ext-posix": "*",
2627
"ext-simplexml": "*",
2728
"ext-soap": "*",
29+
"ext-spl": "*",
2830
"ext-zlib": "*",
2931
"composer-runtime-api": "^2",
3032
"colinmollenhour/cache-backend-redis": "^1.14",

composer.lock

Lines changed: 3 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)