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

Skip to content

Conversation

@hnnweb
Copy link
Contributor

@hnnweb hnnweb commented Oct 2, 2019

Fix composer warning about uppercase in require block

$ composer install
Deprecation warning: require.rmccue/Requests is invalid, it should not contain uppercase characters. Please use rmccue/requests instead. Make sure you fix this as Composer 2.0 will error.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

Fix composer warning about uppercase in require block
@ozh
Copy link
Member

ozh commented Oct 2, 2019

Sure. I'll let @LeoColomb say if there is potential impact to this, I'm not even sure what we really need this composer file for (should the composer lock file be updated as well? other composer include files?)

Copy link
Member

@LeoColomb LeoColomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the composer lock file be updated as well

Indeed, the lock must be updated. 🙂

@hnnweb
Copy link
Contributor Author

hnnweb commented Oct 3, 2019

Updated the lock file. Ran composer update nothing

@hnnweb
Copy link
Contributor Author

hnnweb commented Oct 3, 2019

It actually wrote

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   composer.lock
	modified:   includes/vendor/autoload.php
	modified:   includes/vendor/composer/ClassLoader.php
	modified:   includes/vendor/composer/LICENSE
	modified:   includes/vendor/composer/autoload_real.php
	modified:   includes/vendor/composer/installed.json

no changes added to commit (use "git add" and/or "git commit -a")

this aswell. Want them too?

Copy link
Member

@LeoColomb LeoColomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope that looks good.

@LeoColomb LeoColomb changed the title Update composer.json Fix composer warning about uppercase in require block Oct 3, 2019
@LeoColomb LeoColomb merged commit 207a32e into YOURLS:master Oct 3, 2019
doronbehar added a commit to doronbehar/YOURLS that referenced this pull request Feb 11, 2020
* 'master' of https://github.com/YOURLS/YOURLS:
  Bump for next release
  Bump
  bumped version number (YOURLS#2595)
  Add vector version of YOURLS logo (YOURLS#2548)
  Trim overlong client information  (YOURLS#2574)
  Rearrange opencollective badges
  Add jsonp parameter in API as a fallback to match documentation (YOURLS#2567)
  Update plugin.php (YOURLS#2562)
  Fix composer warning about uppercase in require block (YOURLS#2557)
  Split test in 2 (YOURLS#2558)
  Core-ify "Random Keywords" plugin (YOURLS#2367)
tomtenuta pushed a commit to tomtenuta/YOURLS that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants