Markus Staab
e47aa38ad4
Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() ( #8393 )
2019-10-29 14:08:33 +01:00
Jordi Boggiano
eea4098f98
Merge branch '1.9'
2019-10-25 14:17:35 +02:00
Andreas Schempp
8cbc595790
Validate schema name, type and version
2019-10-25 14:10:53 +02:00
Jordi Boggiano
4fc6479837
Fix require command to allow working on network mounts, fixes #8231
2019-10-25 14:08:30 +02:00
Jordi Boggiano
46657a8a7f
5.3 support :/
2019-10-24 15:26:55 +02:00
Jordi Boggiano
8d92048c8c
Update safeguard code, fixes #8383
2019-10-24 15:20:14 +02:00
Jordi Boggiano
78b8c365cd
Merge branch '1.9'
2019-10-24 15:05:45 +02:00
Jordi Boggiano
18dad48fa6
Merge pull request #8363 from sincilite/feature/error-reporting-for-missing-path
...
Improve error reporting for missing path in Repository Path
2019-10-24 11:34:55 +02:00
Jordi Boggiano
b311b2c077
Merge pull request #8375 from mathiasdonoso/feature/add-homepage-to-package-information-command
...
added package homepage information to the command 'show'
2019-10-24 11:32:59 +02:00
Jordi Boggiano
f2700bbd98
Merge pull request #8377 from TysonAndre/misc-nit
...
Fix misc phpdoc and strpos arg order nits for suggestions
2019-10-24 11:17:03 +02:00
Jordi Boggiano
d73cef3fb4
Avoid calling findPackage for non-platform packages
2019-10-24 11:16:42 +02:00
Jordi Boggiano
e85ade3107
Merge pull request #8386 from cedric-anne/bugfix/fix-php74-outdated-command
...
Fix composer outdated command on PHP 7.4; fixes #8346
2019-10-24 11:13:27 +02:00
Jordi Boggiano
82e0fdccca
Merge pull request #8384 from aboks/no-lock
...
Config option to disable lockfile generation
2019-10-24 11:06:02 +02:00
Jordi Boggiano
127ba941f1
Merge pull request #8376 from aschempp/bugfix/why-replaces
...
Consider replaces when checking package dependents
2019-10-24 10:48:09 +02:00
Jordi Boggiano
9082701ccb
Merge pull request #8359 from glaubinix/t/show-used-authentication-in-debug
...
Debug: display used authentication for http calls
2019-10-24 10:46:03 +02:00
Cédric Anne
9c9ca87537
Fix composer outdated command on PHP 7.4; fixes #8346
2019-10-21 13:04:31 +02:00
John Stevenson
45d616c447
Add Windows proc-open errors to troubleshooting.md
...
As per these issues:
https://github.com/composer/composer/issues/7186
https://github.com/composer/composer/issues/8152
2019-10-21 11:12:08 +02:00
Stephan Vock
73b269fade
HgDriver: don't run command in non-existing directory
2019-10-21 11:11:10 +02:00
johnstevenson
8d9b822413
Add messages to junction tests to see failures
2019-10-21 11:09:17 +02:00
lasseeee
5687ac7de7
Don't necessarily mention Google
...
There's other search engines as well.
2019-10-21 11:06:38 +02:00
Mikhail Fesenko
c2f1a6b643
Added clear cache for windows, fix tests
2019-10-21 11:06:12 +02:00
Arnout Boks
22caa0f097
Add tests for installer with lock: false
...
https://github.com/composer/composer/issues/8354
2019-10-20 10:51:59 +02:00
Arnout Boks
7c5e5e3ede
Add option to disable the lock file
...
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.
https://github.com/composer/composer/issues/8354
2019-10-19 21:46:29 +02:00
Andreas Schempp
5f202efa0b
Added comment why source link check is necessary
2019-10-16 13:36:28 +02:00
Tyson Andre
4c8e41d9a9
Fix misc phpdoc and strpos arg order nits
...
https://www.php.net/strpos has the signature
`strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int`
(The needle is usually the constant)
`strpos('/', $suggestion)` would only be `false` for `''` and `'/'`
So the existing check would just not suggest **anything** that was
already installed (from pecl, built-in, or composer).
The intent seems to be to not suggest non-vendored php packages
that were already installed. (b20cc22ebb
)
2019-10-15 21:32:02 -04:00
Andreas Schempp
80317eb289
Remove invalid array keys
2019-10-15 10:56:43 +02:00
Andreas Schempp
20eb9e66cf
Consider replaces when checking package dependents
2019-10-15 08:26:19 +02:00
Mathías Donoso
07ec3bda3e
changed homepage information position
2019-10-15 00:38:24 -03:00
Mathías Donoso
14b3f09cf8
added package homepage information to the command 'show'
2019-10-15 00:19:57 -03:00
Mike van Rooyen
6b56ddae2a
Remove unused variable
2019-10-08 20:49:44 +01:00
Mike van Rooyen
daedb4a74f
Remove extra line in method following CS-Fixer
2019-10-08 16:08:11 +01:00
Mike van Rooyen
e910e06f63
Add details of the path to aid debugging
2019-10-08 16:02:03 +01:00
Mike van Rooyen
e62478ab89
Test to check there is a RuntimeException thrown when a path repository doesn't exist
2019-10-08 15:48:04 +01:00
Mike van Rooyen
18895064ad
Check that if the getUrlMatches method returns an empty value which means the path is incorrect
2019-10-08 15:46:35 +01:00
Jordi Boggiano
82d0b12b1c
Merge pull request #8360 from derrabus/bugfix/execute-returns-0
...
Command::execute() should always return an integer
2019-10-08 09:33:53 +02:00
Alexander M. Turek
146aa4938f
Command::execute() should always return an integer.
2019-10-07 18:50:18 +02:00
Stephan Vock
0d1d35c346
Debug: display used authentication for http calls
2019-10-07 08:51:53 +01:00
Jordi Boggiano
f753c15664
Update deps
2019-10-06 22:15:11 +02:00
Jordi Boggiano
1843312ddf
Merge pull request #8313 from unkind/feature-require-fixed
...
Provide `--fixed` option for the `require` command, fixes #8303
2019-10-06 21:39:45 +02:00
Jordi Boggiano
5b4fad9056
Update target version for master branch
2019-10-06 21:39:10 +02:00
Jordi Boggiano
9e2485aa4d
Make gitlab/bitbucket driver checks case insensitive
2019-10-06 21:37:16 +02:00
Jordi Boggiano
34a32c31b4
Merge pull request #8334 from zakonnic/fix_incorrect_strip_non_php_blocks
...
Fix incorrect strip of non-php blocks in the file
2019-09-28 11:26:11 +02:00
zakonnic
f159eb724a
Add test for double gap in php-file
2019-09-20 17:08:00 +03:00
zakonnic
9f6e45051a
Optimize template for striping non-php blocks
2019-09-20 16:59:53 +03:00
zakonnic
ec96e5de64
Fix incorrect strip of non-php blocks in the file
2019-09-20 12:58:09 +03:00
Nikita Konstantinov
e3b6c67a44
Provide `--fixed` option for the `require` command, fixes #8303
2019-09-18 16:05:25 +03:00
Nils Adermann
995b4f923e
Fix more tests which were lacking lock files for partial updates, display fix jobs in problems
2019-09-07 09:32:06 +02:00
Nils Adermann
3989a1b8ee
Restore dev package extraction
...
New approach is to use only the solved set of packages as input and then
to resolve with only the non-dev requirements and to mark everything as
dev that is not part of the result set, rather than transitioning a
temporary local repo state by uninstalling dev packages.
2019-09-07 08:52:10 +02:00
Nils Adermann
33ff67abf3
Update tests for new output and for required lock file on partial update
2019-09-07 07:53:31 +02:00
Nils Adermann
a114e26841
Correctly load aliases in lockedRepository to fix alias install output
2019-09-07 07:43:23 +02:00