Skip to content

Update zendframework to laminas #26335

Closed
Closed
@mlambley

Description

@mlambley

Summary of the issue

Please see in the latest dev branch

"zendframework/zend-captcha": "^2.7.1",

You'll notice that, in all branches of this repository, it still refers to zendframework in spite of that package being abandoned. This results in a composer install which looks like:

Package zendframework/zend-barcode is abandoned, you should avoid using it. Use laminas/laminas-barcode instead.
Package zendframework/zend-captcha is abandoned, you should avoid using it. Use laminas/laminas-captcha instead.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.

I've seen another ticket for this here, but it was promptly closed since the dev could not replicate the issue. But the issue is plainly visible in the most recent composer.json file. Magento needs to recognise that zend is being transitioned to laminas and update its dependencies accordingly.

Information on your environment

Ubuntu 18, Magento 2.3, although the issue can be seen in the source code for 2.4 as well.

Preconditions (*)

Magento 2.4-develop

Steps to reproduce (*)

Run a composer install on any version of Magento

Expected result (*)

Expect to see no abandoned messages.

Actual result (*)

Package zendframework/zend-barcode is abandoned, you should avoid using it. Use laminas/laminas-barcode instead.
Package zendframework/zend-captcha is abandoned, you should avoid using it. Use laminas/laminas-captcha instead.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.

image

Metadata

Metadata

Assignees

Labels

Component: ComposerFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions