PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] Package doctrine/reflection is abandoned

 January 07, 2022     composer-php, doctrine, symfony     No comments   

Issue

I get this warning when I compose update :

Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.

I tried to add roave/better-reflection instead and remove doctrine/reflection without success. I'm on Symfony 5.2 but I already had the warning with Symfony 5.1.

Thank you in advance.


Solution

As you can see on packagist, there are some packages that depend on doctrine/reflection - the missing information here are the specific versions that require this package. Abandoning doctrine/reflection has (technically) happened on Oct 29 2020, so it's not surprising that not all depending packages were updated.

After all, this is not a red flag for you. If you were depending directly on this package, you should act and replace it. Others have already done so, like doctrine/common or symfony/symfony, or might do so in future versions.



Answered By - Nico Haase
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing