1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00
Commit graph

5554 commits

Author SHA1 Message Date
Tom Rochette
c3b6c0c85e Make sure exitCode is defined in the show command. 2017-12-16 22:08:10 +01:00
Gabriel Caruso
32a409a3ee Clean elses 2017-12-16 04:23:48 -02:00
Brett Santore
449ecf098d clarify optionality of package in require command 2017-12-14 11:44:54 -05:00
Oskar Stark
8b90037d7b highlight previous composer version 2017-12-07 10:12:21 +01:00
Oskar Stark
e85bcc882c output used strategy 2017-12-07 10:08:34 +01:00
Jordi Boggiano
ed20b3b4f6
Fix OutputFormatter creation with Symfony 4, fixes #6871 2017-12-07 09:21:26 +01:00
Jordi Boggiano
6bb3ab1868 Tweak help/description 2017-12-01 17:03:42 +01:00
Jordi Boggiano
b579884e15 Tweak check-platform-reqs command to check all constraints and output more information about what requires failed, refs #6709 2017-12-01 17:00:15 +01:00
Jordi Boggiano
edf561d602 Merge remote-tracking branch 'swumao/master' 2017-12-01 15:43:31 +01:00
Jordi Boggiano
b2f283cbd2
Merge pull request #6696 from legoktm/sort-installed
Sort vendor/composer/installed.json deterministically
2017-12-01 15:27:55 +01:00
Jordi Boggiano
224d272a0e Merge branch '1.5' 2017-12-01 14:30:56 +01:00
Jordi Boggiano
3976d9f242 Fix require command picking of specific versions, fixes #6859 2017-12-01 14:30:51 +01:00
Jordi Boggiano
755482ddb1 Merge branch '1.5' 2017-12-01 11:01:35 +01:00
Jordi Boggiano
a928ffa4ee Fix require command when specifying non-stable versions, fixes #6859 2017-12-01 10:55:20 +01:00
Jordi Boggiano
6a08755c25 Merge branch '1.5' 2017-11-30 17:08:38 +01:00
Pedro de Carvalho
f569833f5a move $length variable outsite foreach (#6828)
the `foreach` over the `prefixDirsPsr4[$search]` won't affect `$length`. 

It's used for the offset of `$logicalPathPsr4`.
2017-11-30 16:29:30 +01:00
Niels Keurentjes
eab705d057 Reword exception text to evoke somewhat less panic
Refs https://github.com/composer/composer/issues/5196#issuecomment-346754244

Signature mismatch could indicate MitM, or just a CDN issue which is rather more likely.
2017-11-30 15:57:12 +01:00
Jordi Boggiano
5960f715f0 Add warning in show command if no dependencies are installed but the root package has dependencies, fixes #6820 2017-11-30 15:55:57 +01:00
Markus Staab
ecb26c7b75 support COMPOSER env var in validate command (#6834)
* support COMPOSER env var in validate command
2017-11-30 15:39:00 +01:00
Jordi Boggiano
6256e17149 Merge branch '1.5' 2017-11-30 15:19:19 +01:00
Jordi Boggiano
5ba6d7d436 Fix pretty guessed versions to show nicely on numeric branches, refs #6845 2017-11-30 15:19:11 +01:00
Alessandro Lai
3cf31da414 Fix root package not having a pretty version when detecting from VCS, fixes #6845, closes #6847 2017-11-30 15:07:08 +01:00
Jordi Boggiano
40f4f6bf86 Fix docblock 2017-11-30 15:05:27 +01:00
Jordi Boggiano
94a1f16c96 Fix scheme in public gitlab URLs, refs #6683 2017-11-30 10:52:33 +01:00
Jordi Boggiano
eab826b00b Merge branch '1.5' 2017-11-29 16:37:49 +01:00
Jordi Boggiano
b52fd60873 Always follow redirects in userland as we need to check if we have authentication every time for the new domain 2017-11-29 16:37:45 +01:00
Jordi Boggiano
b59dd23bb4 Merge branch '1.5' 2017-11-29 15:58:44 +01:00
Jordi Boggiano
743153e862 Tweak so that we allow authentication for domains we redirect to, refs #6717 2017-11-29 15:56:45 +01:00
Maarten Balliauw
128e424c90 Avoid sending Authorization header to another domain on redirect, fixes #6716 2017-11-29 15:32:32 +01:00
Jordi Boggiano
0de1e21233 Make create-project install dependencies following optimize-autoloader config setting, fixes #6722 2017-11-29 15:05:19 +01:00
Jordi Boggiano
e5d07fde6b
Merge pull request #6743 from zachflower/feature/init_defaults
Composer init default values
2017-11-29 14:47:54 +01:00
Jordi Boggiano
fedef55362 Merge remote-tracking branch 'arjank/abandoned_package_warning' 2017-11-29 14:16:10 +01:00
Jordi Boggiano
535e7262e4 Fix php5.3 2017-11-29 11:49:19 +01:00
Jordi Boggiano
a1e292d84d Let users open the homepage of the current package by doing composer home without argument, fixes #6748 2017-11-29 11:08:08 +01:00
Jordi Boggiano
5130d02208 Update to latest ca-bundle 2017-11-29 10:41:53 +01:00
Jordi Boggiano
ec63c213f8 Allow unsetting the whole platform config key 2017-11-29 10:33:44 +01:00
Jordi Boggiano
9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
Symfony 4
2017-11-28 18:30:31 +01:00
Jordi Boggiano
0b3bc4ccb9 Merge branch '1.5' 2017-11-28 18:09:36 +01:00
johnstevenson
b0922b95af Report multiple inis in php.ini specific messages
Where systems use multiple ini files it is perhaps more useful to
suggest running `php --ini` to see their locations, rather than showing
the loaded php.ini (if one exists).
2017-11-28 18:09:08 +01:00
Jordi Boggiano
a691a179e5 Merge remote-tracking branch 'naderman/improve-not-found-error' into 1.5 2017-11-28 18:00:09 +01:00
Jordi Boggiano
3c76e36e2c Fix regex, refs #6735 2017-11-28 18:00:05 +01:00
gregory
8a136d18e5 Correctly extract username/password from URL 2017-11-28 16:59:18 +01:00
Jordi Boggiano
065b662d5b Merge remote-tracking branch 'naderman/t/no-package-potential-issue' into 1.5 2017-11-28 16:39:31 +01:00
Jordi Boggiano
b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
2017-11-28 16:38:29 +01:00
Jordi Boggiano
4c4f516ea2 Make sure binaries are recreated before POST-hooks fire 2017-11-28 16:07:28 +01:00
Jordi Boggiano
17ec4c17b0 Set COMPOSER_DEV_MODE for all events and not just POST hooks 2017-11-28 16:04:50 +01:00
Nils Adermann
f40f95b269 Add a note that a user could have forgotten to add a custom repo if package not found 2017-11-16 10:15:37 +01:00
Zachary Flower
a59f7399bf Use environment variables to define default values instead 2017-11-13 13:20:19 -07:00
Zachary Flower
8d6f8a6f42 Reverse new config-file changes 2017-11-13 12:58:07 -07:00
Nils Adermann
685bc08c0a Improve the error on init/require if a package could not be found 2017-11-09 13:04:07 +01:00