Error:

Deprecation warning: require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead. Make sure you fix this as Composer 2.0 will error.

Some discussions:
https://github.com/composer/packagist/issues/186
https://github.com/mikey179/vfsStream/issues/173

CommentFileSizeAuthor
#2 3033367-1.patch503 bytesneclimdul

Comments

neclimdul created an issue. See original summary.

neclimdul’s picture

StatusFileSize
new503 bytes

So from a code perspective this is an easy fix. I didn't read the discussion but skim the pretty long packagist issue it implies to me there may be some thought that needed in maybe release notes or something to ensure people don't run into some minor problems? Maybe? people should be getting fresh vendors when deploy anyways right?

pandaski’s picture

Confirmed this message also appears in the 8.6.x install and after an update of `composer` to `1.8.1`

We also use the 1.6 in our distribution and everything looks fine

"mikey179/vfsStream": "^1.6"

pandaski’s picture

Status: Active » Reviewed & tested by the community

RTBC to me if we don't want two changes together and keep the solution simple and clean

alexpott’s picture

So I've tried to see in this change impacts the root composer.lock file at all. And it does not. In the lock file it still has "name": "mikey179/vfsStream", and on disk the directory still has the capital.

Therefore I think this change itself is harmless and avoids the warning. The complex change might occur when the package changes itself to use all lowercase.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 1819073 and pushed to 8.7.x. Thanks!

Not backporting because this feels very minor and it is only a warning

  • alexpott committed 1819073 on 8.7.x
    Issue #3033367 by neclimdul, Joseph Zhao: Fix vfsstream composer...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.