nfreear / composer-suggest Goto Github PK
View Code? Open in Web Editor NEWComposer plugin. Can we find a simple way of installing Composer suggestions?
Home Page: https://packagist.org/packages/nfreear
Composer plugin. Can we find a simple way of installing Composer suggestions?
Home Page: https://packagist.org/packages/nfreear
... Benefit: composer.json
is NOT modified on install!
Via email ...
On Thursday, 11 June 2015, 14:55, Jordi Boggiano wrote:
Heya,
I am sending you this email because you have a Composer Plugin on
https://packagist.org that requires the composer-plugin-api
in
version *
or 1.0.0
.
Both of those are pretty dangerous:
*
would mean your plugin can get loaded in any future composer1.0.0
means that your plugin will not be loaded anymore as soon asThe solution is simple, open your composer.json and replace that require with:
"composer-plugin-api": "^1.0"
Sorry for the trouble, the documentation had "1.0.0" in the plugin
example which mislead most plugin authors, but that is now fixed.
Cheers
Jordi Boggiano
@Seldaek - http://nelm.io/jordi
PHP warning : undefined variable link
:
Nick@~/workspace/player-packages/composer-suggest (master=)$ git diff
diff --git a/src/Suggest.php b/src/Suggest.php
index a0a10e4..507c731 100644
--- a/src/Suggest.php
+++ b/src/Suggest.php
@@ -162,7 +162,7 @@ EOF;
} else {
// Defer to solver. TODO: ?
self::debug("Deferring duplicate <comment>{$name}</comment>");
- $dups[] = $link;
+ $dups[ $name ] = $constraint;
}
}
return $origin;
... Equivalent to Composer's built-in --no-dev
flag.
Eg.
composer update --no-suggest
Or, not ?! Is the existing --no-plugins
flag sufficient?
composer update --dry-run --no-plugins -vvv
PHP Coding Standard - PSR2:
Broken: — Bug: PUGX/badge-poser#130
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.