1
0
Fork 0
Commit Graph

7664 Commits (f569833f5a44a2392723d2f1340e8a6c6f63b217)

Author SHA1 Message Date
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
Gabriel Caruso a4b220273e Refactoring Tests (#6849) 2017-11-30 15:58:10 +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 45cd26b2df Fix test and actually check that we get hasAuthentication called for different domains 2017-11-29 16:37:00 +01:00
Jordi Boggiano b59dd23bb4 Merge branch '1.5' 2017-11-29 15:58:44 +01:00
Jordi Boggiano 36c131cf33 Update deps 2017-11-29 15:58:36 +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 4072d6bdb8
Merge pull request #6812 from saulwilcox-jisc/patch-1
Add 'remove' to example global commands
2017-11-29 12:41:22 +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 7dffe79a0f Update tests of solver problem message to match new message 2017-11-16 12:41:41 +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
Saul Wilcox bb97383772
Add 'remove' to example global commands
Common and useful enough to be explicitly stated in docs
2017-11-15 10:06:24 +00: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
Gawain Lynch f74c6f4620
Update tests to handle optional QuestionHelper::setInputStream() availability 2017-11-06 16:32:29 +01:00
Gawain Lynch f96e0e033b
Use Terminal class for dimensions post Symfony 3.2 2017-11-06 16:30:43 +01:00
Gawain Lynch 157075b996
Migrate ConsoleIO::select to use QuestionHelper and ChoiceQuestion 2017-11-06 16:29:55 +01:00
Gawain Lynch 8b42aed060
Create a local escapeArgument() for Symfony 4 compatibility. 2017-11-06 16:28:50 +01:00
Gawain Lynch 3a491a9b34
Add Syfmony 4.0 component constraints 2017-11-06 12:09:17 +01:00
Jordi Boggiano bfed974ae9 Merge branch '1.5' 2017-11-03 23:23:28 +01:00
Jordi Boggiano fc9f8c2007 Fix tests 2017-11-03 23:23:22 +01:00
Jordi Boggiano 308cf07973
Merge pull request #6781 from cafferata/patch-1
Update 03-cli.md
2017-11-03 19:59:19 +01:00
Jordi Boggiano 26a50b3762 Merge branch '1.5' 2017-11-03 19:53:36 +01:00
johnstevenson b1aed48e1a Fix bug setting COMPOSER_ORIGINAL_INIS
This variable stores the loaded ini file and any additional scanned ini
files, separated by a path-separator. The loaded ini file should always
be present, even if it is an empty value. Unfortunately I removed any
empty value to parse the ini files, then used the truncated list to set
the variable.

This bug surfaced on docker php images. These do not have a specific
php.ini but store all their settings in the location(s) configured at
build time using --with-config-file-scan-dir.
2017-11-03 19:52:44 +01:00
Jordi Boggiano 14dc4b20df
Merge pull request #6746 from renanbr/diagnose-with-php-bin-info
add php version and binary to the dignose command
2017-11-03 19:52:21 +01:00