Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Move phpseclib, mcrypt_compat, net_idna2, Cm_RedisSession and Cm_Cache_Backend_Redis to composer #2138

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
837e603
Moved Cm_RedisSession to composer
fballiano May 19, 2022
54cddca
Moved Cm_RedisSession to composer
fballiano May 19, 2022
9f71d6f
zf1 removed, zf1-future added through composer, pelago_emogrifier mov…
fballiano May 20, 2022
ab9da12
Revert "zf1 removed, zf1-future added through composer, pelago_emogri…
fballiano May 25, 2022
a0f3ad7
reverted zf1 and removed the magento-root-dir parameter
fballiano May 25, 2022
c57aed6
Cm_Cache_Backend_Redis must also be in composer.json
fballiano May 29, 2022
4b8ea9f
composer.json updated
fballiano May 29, 2022
9c9dd1b
forced the php7 compatible version of symfony modules
fballiano May 29, 2022
9309d29
Restored Pelago_Emogrifier
fballiano May 29, 2022
dfd09c7
rebased and fixed conflicts
fballiano Aug 3, 2022
a6473f2
removed patches support
fballiano Aug 3, 2022
419f178
reset composer.lock
fballiano Aug 3, 2022
b2e2928
added phpseclib, mcrypt_compat, net_idna2
fballiano Aug 3, 2022
bae527a
composer update
fballiano Aug 3, 2022
fbed775
changed magento root dir
fballiano Aug 3, 2022
ffdec34
changed magento root dir
fballiano Aug 3, 2022
0cf5041
updated net_idna to dev-master and cm_redissession to 3.0
fballiano Aug 4, 2022
abd609b
updated composer lock
fballiano Aug 4, 2022
cb60665
trying to fix phpstan errors
fballiano Aug 5, 2022
a45424d
rebased
fballiano Aug 11, 2022
650336d
re-install
fballiano Aug 11, 2022
e360e3b
switched root dir, since it is already in v19
fballiano Aug 11, 2022
1f09197
committing autoloader patch
fballiano Aug 11, 2022
067b4ae
updated
fballiano Aug 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions app/Mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,13 @@

Varien_Autoload::register();

include_once "phpseclib/bootstrap.php";
include_once "mcryptcompat/mcrypt.php";
/** AUTOLOADER PATCH **/
if (file_exists($autoloaderPath = BP . DS . 'vendor/autoload.php') ||
file_exists($autoloaderPath = BP . DS . '../vendor/autoload.php')
) {
require $autoloaderPath;
}
/** AUTOLOADER PATCH **/

/* Support additional includes, such as composer's vendor/autoload.php files */
foreach (glob(BP . DS . 'app' . DS . 'etc' . DS . 'includes' . DS . '*.php') as $path) {
Expand Down
695 changes: 0 additions & 695 deletions app/code/community/Cm/RedisSession/Model/Session.php

This file was deleted.

46 changes: 0 additions & 46 deletions app/code/community/Cm/RedisSession/etc/config.xml

This file was deleted.

8 changes: 0 additions & 8 deletions app/etc/modules/Cm_RedisSession.xml

This file was deleted.

12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
"ext-simplexml": "*",
"ext-soap": "*",
"ext-zlib": "*",
"magento-hackathon/magento-composer-installer": "^3.1 || ^2.1 || ^4.0"
"magento-hackathon/magento-composer-installer": "^3.1 || ^2.1 || ^4.0",
"phpseclib/phpseclib": "^3.0.14",
"phpseclib/mcrypt_compat": "^2.0.3",
"pear/net_idna2": "dev-master",
"colinmollenhour/cache-backend-redis": "^1.14",
"colinmollenhour/magento-redis-session": "^3.0"
},
"require-dev": {
"macopedia/phpstan-magento1": "^1.0.4",
Expand Down Expand Up @@ -61,11 +66,12 @@
"branch-alias": {
"dev-main": "1.9.4.x-dev"
},
"magento-root-dir": "root"
"magento-root-dir": "."
},
"config": {
"allow-plugins": {
"magento-hackathon/magento-composer-installer": true
"magento-hackathon/magento-composer-installer": true,
"cweagans/composer-patches": true
},
"sort-packages": true
}
Expand Down
Loading