Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Jan 12, 2023

Description
Fixes #7106

The depreacted getRawData() is not reliable. See composer/composer@f5e6cc8#diff-817f0ad18cf006ca7b25f23ddd362c0c8b5cdcbea91c4b92be8d86ba59af223aR210
So using it does not make sense.

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added 4.3 bug Verified issues on the current code behavior or pull requests that will fix them labels Jan 12, 2023
@lonnieezell
Copy link
Member

Can we do a version. Check and use the function they recommend instead of blocking execution?

Composer installation does not matter. If using Composer autoloader,
the error occurs.
@kenjis
Copy link
Member Author

kenjis commented Jan 12, 2023

@lonnieezell

Can we do a version. Check and use the function they recommend instead of blocking execution?

What do you mean?
What is the function they recommend?

And I don't think using old Composer is good practice.

@kenjis kenjis merged commit e30f5ee into codeigniter4:develop Jan 13, 2023
@kenjis kenjis deleted the fix-composer-undefined-method-error branch January 13, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Call to undefined method Composer\InstalledVersions::getAllRawData() in Autoloader.php

4 participants