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
Alexander M. Turek
146aa4938f
Command::execute() should always return an integer.
2019-10-07 18:50:18 +02:00
Jordi Boggiano
9e2485aa4d
Make gitlab/bitbucket driver checks case insensitive
2019-10-06 21:37:16 +02: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
Grey Baker
b09945c3ba
Allow for leading slash in path part of GitHub URLs
2019-09-02 22:26:35 +01:00
Jordi Boggiano
f0d565bb6d
Avoid transforming the origins when prompting for auth, fixes #8300
2019-08-30 17:52:08 +02:00
Jordi Boggiano
d3dc280322
Merge pull request #8296 from rbairwell/fix-php74-accessarray-offset-on-path
...
Fixes a problem with path based repositories on PHP7.4
2019-08-29 15:16:53 +02:00
Jordi Boggiano
7d99a56332
Combine conditionals in one
2019-08-29 15:16:34 +02:00
Jordi Boggiano
089fcde6cf
Merge remote-tracking branch 'davidszkiba/bugfix/issue-8289'
2019-08-29 15:09:14 +02:00
Jordi Boggiano
fd70d9cdc3
Stripe access tokens in a more generic way
2019-08-29 12:22:38 +02:00
rbairwell
550c01b471
Fixes a problem with path based repositories on PHP7.4 where an attempt is made to access null as an array
2019-08-27 20:53:57 +01:00
David Szkiba
0500e64f88
Respect COMPOSER_NO_INTERATION for search prompt.
...
As described in GH-8289, if no `composer.json` file is found in the current
directory, the user is prompted if she wants to use another `composer.json` file
from a parent directory even if the `COMPOSER_NO_INTERACTION` environment
variable is set. This is fixed here by just moving the check of the environment
variable up in the code so that it is evaluated before the user is prompted.
2019-08-25 17:25:44 +02:00
Stephan Vock
f9fccbab1e
GitHub: don't display access token in debug log
2019-08-21 10:07:36 +01:00
Jordi Boggiano
96ad0aa01f
Remove extra arg
2019-08-02 13:45:43 +02:00
Jordi Boggiano
872604ab36
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
2019-08-02 13:25:11 +02:00
Jordi Boggiano
362ebe4f68
Fix update mirrors to also update transport-options, fixes #7672
2019-07-31 18:43:18 +02:00
Jordi Boggiano
db6882b57f
Fix updating or URLs to include dist type and shasum, fixes #8216
2019-07-31 18:36:27 +02:00
Jordi Boggiano
0fe200d6d9
Fix origin computation
2019-07-31 18:01:08 +02:00
Jordi Boggiano
0261ce8092
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
2019-07-31 17:41:18 +02:00
Jordi Boggiano
5ddc40e93c
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
2019-07-31 15:21:32 +02:00
Thomas Perez
3e66d0514a
Fix error_handler return type declaration
2019-07-30 18:45:41 +02:00
Jordi Boggiano
26a3e12c96
Merge pull request #7994 from aschempp/feature/zip-util
...
Extract the ZIP utility functions from ArtifactRepository
2019-07-30 11:36:10 +02:00
Jordi Boggiano
3f5e4f0399
Add support for defining a {"packagist.org":false} repo in composer init, fixes #8210
2019-07-30 10:58:36 +02:00
Jordi Boggiano
14f2a6dd9a
Fix remove command not working with escaped slashes (e.g. foo\/bar), fixes #8249
2019-07-30 09:48:49 +02:00
Jordi Boggiano
1a391b572c
Prevent require command from allowing a package to require itself, fixes #8247
2019-07-30 09:18:19 +02:00
Jordi Boggiano
5de4a16115
Merge pull request #8221 from magnetik/ignore-platform-reqs-conflicts
...
Ignore platform reqs now handle conflict rules
2019-07-30 07:27:50 +02:00
Jordi Boggiano
7edd689533
Merge pull request #8243 from carusogabriel/remove-explict-void-return
...
Remove explicits void returns
2019-07-29 18:08:32 +02:00
Jordi Boggiano
d9c2f00891
Merge pull request #8240 from carusogabriel/remove-unused-private-properties
...
Remove unused private properties
2019-07-29 18:06:55 +02:00
Jordi Boggiano
8958f40f94
Make sure resetting composer also resets the IO and configuration, fixes #8224
2019-07-29 17:57:25 +02:00
Jordi Boggiano
33759d02c4
Fix require command to allow working on network mounts, fixes #8231
2019-07-29 17:42:34 +02:00
Jordi Boggiano
79e4ff4373
Merge pull request #8186 from freality/script_event_originating
...
allow Composer\Script\Event to reference originating event
2019-07-29 16:46:06 +02:00
Jordi Boggiano
369e8a2247
Fix indenting
2019-07-29 16:44:50 +02:00
Jordi Boggiano
45591597f6
Clarify how check-platform-reqs works, fixes #8191
2019-07-29 16:38:01 +02:00
Gabriel Caruso
8b5be1d08c
Remove explicts void returns
2019-07-24 03:07:25 +02:00
Gabriel Caruso
6c8ddd4d57
Remove unused private properties
2019-07-24 02:53:53 +02:00
Baptiste Lafontaine
a4611d511f
Ignore platform reqs now handle conflict rules
2019-07-11 16:48:57 +02:00
Nils Adermann
e022c07370
Merge branch '1.8'
...
* 1.8:
SVN: hide passwords for debug output
2019-06-27 14:06:49 +02:00
Jordi Boggiano
32ca426e38
Merge remote-tracking branch 'origin/1.8'
2019-06-25 11:29:25 +02:00
Stephan Vock
8da046e4e9
SVN: hide passwords for debug output
2019-06-23 18:59:36 +01:00
Nicolas Grekas
89d5d8f182
Free $solver asap
2019-06-21 18:34:16 +02:00
Rob Bast
7399638e43
fixes #8179
2019-06-17 10:48:19 +02:00
Ken Love
b51cfce8e6
return the upper-most event in chain
2019-06-13 14:51:27 -04:00
Ken Love
81a4f74b5b
Composer\Script\Event should have access to originating event details
2019-06-12 16:54:09 -04:00
Jordi Boggiano
3d88108dea
Merge branch '1.8'
2019-06-07 17:25:54 +02:00
Jordi Boggiano
b4e5db1c70
Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET"
...
Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
This reverts commit e7eecc6901
.
This reverts commit faa7c5eea2
.
2019-06-07 17:25:09 +02:00
Jordi Boggiano
79a300eaac
Merge branch '1.8'
2019-06-07 16:58:37 +02:00
Jordi Boggiano
088fb56c3d
Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
2019-06-07 16:55:22 +02:00
Jordi Boggiano
9d642fe9af
Merge pull request #8085 from danepowell/issue-8065-2
...
Fixes #8065 : Sort plugins deterministically before loading.
2019-06-07 16:53:49 +02:00