How to find and treat the cause of an outdated composer package that is not in my composer.json?Find the version of an installed npm packageComposer ignoring zip dependecies' composer.json filePrivate composer packages - no valid composer.json was foundHow to remove a package from Laravel using composer?Get package install path from composer script / composer APIView Available Package (out-of-scope) Updates with ComposerHow to use composer on windows?Composer - The requested package exists as but these are rejected by your constraintHow to remove packages not installed with Composer?Composer doesn't update outdated dependencies

Are student evaluations of teaching assistants read by others in the faculty?

How do I rename a Linux host without needing to reboot for the rename to take effect?

How do we know the LHC results are robust?

Unreliable Magic - Is it worth it?

Is `x >> pure y` equivalent to `liftM (const y) x`

Anatomically Correct Strange Women In Ponds Distributing Swords

How to safely derail a train during transit?

Did the DC-9 ever use RATO in revenue service?

How do scammers retract money, while you can’t?

How long to clear the 'suck zone' of a turbofan after start is initiated?

Where does the Z80 processor start executing from?

Would this custom Sorcerer variant that can only learn any verbal-component-only spell be unbalanced?

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

Avoiding estate tax by giving multiple gifts

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

A particular customize with green line and letters for subfloat

Short story about space worker geeks who zone out by 'listening' to radiation from stars

What does "I’d sit this one out, Cap," imply or mean in the context?

Roman Numeral Treatment of Suspensions

Is this apparent Class Action settlement a spam message?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

How can a function with a hole (removable discontinuity) equal a function with no hole?

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

How to Reset Passwords on Multiple Websites Easily?



How to find and treat the cause of an outdated composer package that is not in my composer.json?


Find the version of an installed npm packageComposer ignoring zip dependecies' composer.json filePrivate composer packages - no valid composer.json was foundHow to remove a package from Laravel using composer?Get package install path from composer script / composer APIView Available Package (out-of-scope) Updates with ComposerHow to use composer on windows?Composer - The requested package exists as but these are rejected by your constraintHow to remove packages not installed with Composer?Composer doesn't update outdated dependencies













0















I ran composer outdated command:



$ composer outdated
phpdocumentor/type-resolver 0.4.0 0.7.1


but looking inside composer.json, I see no such package. In my case there is no type-resolver.



How do I find an outdated package that is missing in composer.json belongs to and how do I update it?










share|improve this question

















  • 1





    composer why phpdocumentor/type-resolve

    – rob006
    Mar 21 at 17:19











  • [InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

    – Dennis
    Mar 21 at 18:21












  • It should be composer why phpdocumentor/type-resolver - typo in package name.

    – rob006
    Mar 21 at 18:41











  • phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

    – Dennis
    Mar 21 at 22:34















0















I ran composer outdated command:



$ composer outdated
phpdocumentor/type-resolver 0.4.0 0.7.1


but looking inside composer.json, I see no such package. In my case there is no type-resolver.



How do I find an outdated package that is missing in composer.json belongs to and how do I update it?










share|improve this question

















  • 1





    composer why phpdocumentor/type-resolve

    – rob006
    Mar 21 at 17:19











  • [InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

    – Dennis
    Mar 21 at 18:21












  • It should be composer why phpdocumentor/type-resolver - typo in package name.

    – rob006
    Mar 21 at 18:41











  • phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

    – Dennis
    Mar 21 at 22:34













0












0








0








I ran composer outdated command:



$ composer outdated
phpdocumentor/type-resolver 0.4.0 0.7.1


but looking inside composer.json, I see no such package. In my case there is no type-resolver.



How do I find an outdated package that is missing in composer.json belongs to and how do I update it?










share|improve this question














I ran composer outdated command:



$ composer outdated
phpdocumentor/type-resolver 0.4.0 0.7.1


but looking inside composer.json, I see no such package. In my case there is no type-resolver.



How do I find an outdated package that is missing in composer.json belongs to and how do I update it?







composer-php package






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 21 at 15:58









DennisDennis

3,18143076




3,18143076







  • 1





    composer why phpdocumentor/type-resolve

    – rob006
    Mar 21 at 17:19











  • [InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

    – Dennis
    Mar 21 at 18:21












  • It should be composer why phpdocumentor/type-resolver - typo in package name.

    – rob006
    Mar 21 at 18:41











  • phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

    – Dennis
    Mar 21 at 22:34












  • 1





    composer why phpdocumentor/type-resolve

    – rob006
    Mar 21 at 17:19











  • [InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

    – Dennis
    Mar 21 at 18:21












  • It should be composer why phpdocumentor/type-resolver - typo in package name.

    – rob006
    Mar 21 at 18:41











  • phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

    – Dennis
    Mar 21 at 22:34







1




1





composer why phpdocumentor/type-resolve

– rob006
Mar 21 at 17:19





composer why phpdocumentor/type-resolve

– rob006
Mar 21 at 17:19













[InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

– Dennis
Mar 21 at 18:21






[InvalidArgumentException] Could not find package "phpdocumentor/type-resolve" in your project

– Dennis
Mar 21 at 18:21














It should be composer why phpdocumentor/type-resolver - typo in package name.

– rob006
Mar 21 at 18:41





It should be composer why phpdocumentor/type-resolver - typo in package name.

– rob006
Mar 21 at 18:41













phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

– Dennis
Mar 21 at 22:34





phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver (^0.4.0)

– Dennis
Mar 21 at 22:34












1 Answer
1






active

oldest

votes


















1














Composer install not only packages that are listed directly in composer.json but also packages that are dependencies of packages that are listed in composer.json. Assuming you have in composer package vendor/A and this package requires vendor/B you will have installed both A and B packages.



So in your case you can run:



composer update phpdocumentor/type-resolver


to try to update this package.



Of course it does not mean it will be possible to update this way. It's possible that you might need to run:



composer update


but this will update all packages (and depends on scenario this is what you can accept or maybe you don't want to update all packages).



It's also possible that it won't be possible to update this package because other package that is used has phpdocumentor/type-resolver dependency set to for example 0.4.* so 0.7 version is not compatible with this package and version 0.7 won't be installed






share|improve this answer

























  • in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

    – Dennis
    Mar 21 at 18:23










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284529%2fhow-to-find-and-treat-the-cause-of-an-outdated-composer-package-that-is-not-in-m%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Composer install not only packages that are listed directly in composer.json but also packages that are dependencies of packages that are listed in composer.json. Assuming you have in composer package vendor/A and this package requires vendor/B you will have installed both A and B packages.



So in your case you can run:



composer update phpdocumentor/type-resolver


to try to update this package.



Of course it does not mean it will be possible to update this way. It's possible that you might need to run:



composer update


but this will update all packages (and depends on scenario this is what you can accept or maybe you don't want to update all packages).



It's also possible that it won't be possible to update this package because other package that is used has phpdocumentor/type-resolver dependency set to for example 0.4.* so 0.7 version is not compatible with this package and version 0.7 won't be installed






share|improve this answer

























  • in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

    – Dennis
    Mar 21 at 18:23















1














Composer install not only packages that are listed directly in composer.json but also packages that are dependencies of packages that are listed in composer.json. Assuming you have in composer package vendor/A and this package requires vendor/B you will have installed both A and B packages.



So in your case you can run:



composer update phpdocumentor/type-resolver


to try to update this package.



Of course it does not mean it will be possible to update this way. It's possible that you might need to run:



composer update


but this will update all packages (and depends on scenario this is what you can accept or maybe you don't want to update all packages).



It's also possible that it won't be possible to update this package because other package that is used has phpdocumentor/type-resolver dependency set to for example 0.4.* so 0.7 version is not compatible with this package and version 0.7 won't be installed






share|improve this answer

























  • in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

    – Dennis
    Mar 21 at 18:23













1












1








1







Composer install not only packages that are listed directly in composer.json but also packages that are dependencies of packages that are listed in composer.json. Assuming you have in composer package vendor/A and this package requires vendor/B you will have installed both A and B packages.



So in your case you can run:



composer update phpdocumentor/type-resolver


to try to update this package.



Of course it does not mean it will be possible to update this way. It's possible that you might need to run:



composer update


but this will update all packages (and depends on scenario this is what you can accept or maybe you don't want to update all packages).



It's also possible that it won't be possible to update this package because other package that is used has phpdocumentor/type-resolver dependency set to for example 0.4.* so 0.7 version is not compatible with this package and version 0.7 won't be installed






share|improve this answer















Composer install not only packages that are listed directly in composer.json but also packages that are dependencies of packages that are listed in composer.json. Assuming you have in composer package vendor/A and this package requires vendor/B you will have installed both A and B packages.



So in your case you can run:



composer update phpdocumentor/type-resolver


to try to update this package.



Of course it does not mean it will be possible to update this way. It's possible that you might need to run:



composer update


but this will update all packages (and depends on scenario this is what you can accept or maybe you don't want to update all packages).



It's also possible that it won't be possible to update this package because other package that is used has phpdocumentor/type-resolver dependency set to for example 0.4.* so 0.7 version is not compatible with this package and version 0.7 won't be installed







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 21 at 18:39

























answered Mar 21 at 17:30









Marcin NabiałekMarcin Nabiałek

73.7k28156195




73.7k28156195












  • in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

    – Dennis
    Mar 21 at 18:23

















  • in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

    – Dennis
    Mar 21 at 18:23
















in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

– Dennis
Mar 21 at 18:23





in my case it looks like some package must have this outdated dependency. Running both commands in your answer did not update this package.

– Dennis
Mar 21 at 18:23



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55284529%2fhow-to-find-and-treat-the-cause-of-an-outdated-composer-package-that-is-not-in-m%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript