You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@leepeterson This commit was to fix a bug unrelated to that Composer notice, which appears to be a new requirement as @GaryJones pointed out. I don't have any plugins installed that have uppercase characters in their slug, so I haven't run into this myself and I'm not exactly sure what it would take to lowercase slugs just yet, but I opened a new issue to track this.
In the meantime, you might be able to temporarily downgrade to Composer 1.8.0 if the notices are causing issues for you.
Can you let me know what plugin you're using that has uppercase characters in its directory name?
be16e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe
sanitize_file_name()
will work here. It’s what I use to sanitize the key in GitHub Updater.https://github.com/afragen/github-updater/blob/2d9595fb4e1b3e941f5fb1a5153d14ada74734de/src/GitHub_Updater/Traits/GHU_Trait.php#L280
be16e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@afragen Thanks for the suggestion! I'll have to look into that if anymore issues pop up related to unsupported characters.
be16e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started seeing notices such as this today:
Any way to get around this in this in the short term?
be16e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like that is related to the change in 1.8.1: https://github.com/composer/composer/blob/master/CHANGELOG.md#181-2019-01-29
be16e11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leepeterson This commit was to fix a bug unrelated to that Composer notice, which appears to be a new requirement as @GaryJones pointed out. I don't have any plugins installed that have uppercase characters in their slug, so I haven't run into this myself and I'm not exactly sure what it would take to lowercase slugs just yet, but I opened a new issue to track this.
In the meantime, you might be able to temporarily downgrade to Composer 1.8.0 if the notices are causing issues for you.
Can you let me know what plugin you're using that has uppercase characters in its directory name?