magento / magento/composer-root-update-plugin
PHP 8.1 support
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 59
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Deprecation Notice: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/xxx/public_html/vendor/magento/composer-root-update-plugin/Utils/PackageUtils.php:128
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at vendor/magento/composer-root-update-plugin/Utils/PackageUtils.php:128 and inspect the preg_match() call that receives a null subject. Reproduce the deprecation under PHP 8.1, then run the relevant project tests if available; done means the warning no longer occurs while existing package-update behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100