- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2021
10:41 PM
09-19-2021
10:41 PM
composer.json issue
Hello,
I have upgraded Magento to 2.4.3 last.
I have doubts about the contents of my composer.json file. I see that a lot of packages are stuck at older versions compared to the Magento 2.4.3 composer.json file. I am currently not seeing any particular issues but, I am wondering if I should match the versions with the source Magento 2.4.3 composer.json file. Exemple:
My composer.json:
"require-dev": {
"allure-framework/allure-phpunit": "~1.4",
"friendsofphp/php-cs-fixer": "~2.16.0",
"lusitanian/oauth": "~0.8.10",
"magento/magento-coding-standard": "~3.0.0",
"magento/magento2-functional-testing-framework": "^3.0",
"pdepend/pdepend": "~2.7.1",
"phpmd/phpmd": "^2.8.0",
"phpstan/phpstan": ">=0.12.3 <=0.12.23",
"phpunit/phpunit": "^9",
"sebastian/phpcpd": "~5.0.0"
Original 2.4.3 composer.json:
"require-dev": {
"allure-framework/allure-phpunit": "~1.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"friendsofphp/php-cs-fixer": "~2.18.1",
"lusitanian/oauth": "~0.8.10",
"magento/magento-coding-standard": "*",
"magento/magento2-functional-testing-framework": "^3.0",
"pdepend/pdepend": "~2.7.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpmd/phpmd": "^2.8.0",
"phpstan/phpstan": "^0.12.77",
"phpunit/phpunit": "^9",
"sebastian/phpcpd": "^6.0.3",
"squizlabs/php_codesniffer": "~3.5.4",
"symfony/finder": "^5.2"
Thank you in advance for your help.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2021
12:50 PM
09-29-2021
12:50 PM
Re: composer.json issue
As you have upgraded the magento to 2.4.3 version some packages are stuck at older versions because those packages are not outdated so while running composer upgrade the module packages are not updated.