Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fluffycondor
Copy link
Contributor

Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103

Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103
@stof
Copy link
Contributor

stof commented Jul 4, 2022

This will break if someone enters only spaces, as you will still end up with an empty token by turning it empty after the validation.

@Seldaek Seldaek added this to the 2.2 milestone Jul 4, 2022
@Seldaek Seldaek added the Bug label Jul 4, 2022
Co-authored-by: Jordi Boggiano <[email protected]>
@Seldaek Seldaek merged commit 3ebd66b into composer:2.2 Jul 5, 2022
@Seldaek
Copy link
Member

Seldaek commented Jul 5, 2022

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants