Skip to content

Commit 8d0828e

Browse files
authored
Updated PHPStan to 1.9.13, ZF1Future to 1.22 (#2960)
1 parent 2a8e91d commit 8d0828e

File tree

10 files changed

+20
-224
lines changed

10 files changed

+20
-224
lines changed

app/code/core/Mage/Core/Model/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Mage_Core_Model_Cache
4747
/**
4848
* Cache frontend API
4949
*
50-
* @var Varien_Cache_Core
50+
* @var Varien_Cache_Core|Zend_Cache_Core
5151
*/
5252
protected $_frontend;
5353

@@ -355,7 +355,7 @@ protected function _tags($tags = [])
355355
/**
356356
* Get cache frontend API object
357357
*
358-
* @return Varien_Cache_Core
358+
* @return Varien_Cache_Core|Zend_Cache_Core
359359
*/
360360
public function getFrontend()
361361
{

composer.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"pelago/emogrifier": "^7.0",
3030
"phpseclib/mcrypt_compat": "^2.0.3",
3131
"phpseclib/phpseclib": "^3.0.14",
32-
"shardj/zf1-future": "^1.21",
32+
"shardj/zf1-future": "^1.22",
3333
"symfony/polyfill-php74": "^1.27",
3434
"symfony/polyfill-php80": "^1.27",
3535
"symfony/polyfill-php81": "^1.27"
@@ -42,7 +42,7 @@
4242
"openmage/dev-meta-package": "^1.0",
4343
"phpcompatibility/php-compatibility": "^9.3",
4444
"phpmd/phpmd": "^2.13",
45-
"phpstan/phpstan": "^1.9.7",
45+
"phpstan/phpstan": "^1.9.13",
4646
"phpunit/phpunit": "^9.5",
4747
"squizlabs/php_codesniffer": "^3.7",
4848
"symplify/vendor-patches": "^11.1"
@@ -101,12 +101,6 @@
101101
"MAG-1.9.3.0": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/MAG-1.9.3.0.patch",
102102
"MAG-1.9.3.7 - SUPEE-10415": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/MAG-1.9.3.7.patch",
103103
"MAG-1.9.3.9": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/MAG-1.9.3.9.patch",
104-
"MAG-1.9.3.10": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/MAG-1.9.3.10.patch",
105-
"MAG-1.9.4.0": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/MAG-1.9.4.0.patch",
106-
"ZF-295 - SUPEE-9652/10570": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/ZF-295.patch",
107-
"ZF-296 - Better IIS suport": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/ZF-296.patch",
108-
"ZF-297 - Invalid argument type": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/ZF-297.patch",
109-
"ZF-299 - Limit mktime() year": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/ZF-299.patch",
110104
"OM-918 - Add runtime cache to Zend_Locale_Data": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/OM-918.patch",
111105
"OM-1081 - Not detecting HTTPS behind a proxy": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/OM-1081.patch",
112106
"OM-2047 - Pass delimiter char to preg_quote": "https://raw.githubusercontent.com/OpenMage/magento-lts/1.9.4.x/patches/OM-2047.patch",

composer.lock

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

patches/MAG-1.9.3.10.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

patches/MAG-1.9.4.0.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

patches/ZF-295.patch

Lines changed: 0 additions & 31 deletions
This file was deleted.

patches/ZF-296.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

patches/ZF-297.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

patches/ZF-299.patch

Lines changed: 0 additions & 66 deletions
This file was deleted.

phpstan.dist.baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,11 +3250,6 @@ parameters:
32503250
count: 1
32513251
path: app/code/core/Mage/Core/Model/Cache.php
32523252

3253-
-
3254-
message: "#^Property Mage_Core_Model_Cache\\:\\:\\$_frontend \\(Varien_Cache_Core\\) does not accept Zend_Cache_Core\\|Zend_Cache_Frontend\\.$#"
3255-
count: 1
3256-
path: app/code/core/Mage/Core/Model/Cache.php
3257-
32583253
-
32593254
message: "#^Call to an undefined method SimpleXMLElement\\:\\:getClassName\\(\\)\\.$#"
32603255
count: 1

0 commit comments

Comments
 (0)