Jordi Boggiano
f77285916a
Clean up temp file on curl request failure and make sure the response body is avaiable on 3xx/4xx/5xx responses
2019-02-21 15:28:50 +01:00
Jordi Boggiano
d37642d9f2
Add missing use
2019-02-21 14:59:28 +01:00
Jordi Boggiano
3f5a986170
Show warning in all 400/500 responses if available, fixes #7814
2019-02-21 14:49:06 +01:00
Jordi Boggiano
5f988a34a6
Merge branch 'master' into 2.0
2019-02-21 14:08:56 +01:00
Jordi Boggiano
60f198c17d
Update target version
2019-02-21 14:06:41 +01:00
Jordi Boggiano
43a43f3cdf
Merge branch '1.8'
2019-02-21 14:06:17 +01:00
Jordi Boggiano
0f36a42d61
Allow filtering of warning/info msgs by composer version
2019-02-21 14:05:56 +01:00
Jordi Boggiano
4271167495
Improve version reporting
2019-02-21 14:05:12 +01:00
Jordi Boggiano
ba346ef04d
Add forward compatibility for upcoming v2 installed.json format, refs #7999
2019-02-21 12:57:27 +01:00
Jordi Boggiano
8fe2b9ec69
Fix test
2019-02-20 13:41:43 +01:00
Jordi Boggiano
bdf1f7f82b
Fix loading of aliased packages in ComposerRepository when filtering by callback
2019-02-20 13:24:44 +01:00
Jordi Boggiano
2e204b0161
Remove support for the first version of the compression algo ( #7906 )
2019-02-20 11:10:44 +01:00
Jordi Boggiano
177f21ec5c
Fix loading of dev providers, refs #6415
2019-02-20 10:51:07 +01:00
Jordi Boggiano
ff82334124
Load ~dev files as well as main provider files for new v2 protocol, fixes #6415
2019-02-20 09:24:13 +01:00
Jordi Boggiano
d3873a0565
Merge branch '1.8'
2019-02-20 08:43:56 +01:00
Jordi Boggiano
61cd8664e5
Avoid creating empty bitbucket files if there was no composer.json present in the original branch/tag
2019-02-20 08:43:40 +01:00
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
2019-02-19 15:35:48 +01:00
Jordi Boggiano
ab945a6ec1
Clean up RepositoryInterface, fixes #5464
2019-02-19 11:11:55 +01:00
Jordi Boggiano
6c782599f1
Make IOInterface implement psr-4 LoggerInterface, fixes #5180
2019-02-19 10:54:42 +01:00
Jordi Boggiano
1b7e957cc1
Add EventDispatcher::removeListener to allow deregistration of listeners
2019-02-18 18:12:38 +01:00
Jordi Boggiano
169fb2347a
Avoid issues with git signatures when running tests
2019-02-18 17:00:57 +01:00
Jordi Boggiano
d381b3a781
Fix variable name
2019-02-18 16:59:09 +01:00
Jordi Boggiano
7a301d9ad1
Merge pull request #7980 from johnstevenson/safe-junctions2
...
Improve safe junction logic
2019-02-18 14:30:38 +01:00
Jordi Boggiano
936933fa66
Fix cache tests
2019-02-18 14:12:01 +01:00
Jordi Boggiano
0caa616e6c
Fix test warnings
2019-02-18 14:03:23 +01:00
Jordi Boggiano
9da40b3c2c
Only run phpstan once
2019-02-18 13:56:08 +01:00
Jordi Boggiano
2c520bf93b
Fix build
2019-02-18 13:37:30 +01:00
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
2019-02-18 13:05:14 +01:00
CZechBoY
a062cd1a31
added phpstan on level 0
2019-02-18 13:05:14 +01:00
Jordi Boggiano
fb3d0981c0
Fix test suite
2019-02-18 12:35:24 +01:00
Jordi Boggiano
0fd74d1cc4
Fix PerforceDownloader, fixes #7979
2019-02-18 12:28:21 +01:00
Jordi Boggiano
9957807990
Merge branch 'master' into 2.0
2019-02-18 12:25:44 +01:00
Jordi Boggiano
69745745b3
Merge branch '1.8'
2019-02-16 17:56:20 +01:00
Jordi Boggiano
d9f873d00e
Abort when HHVM 4.0 is detected to output a clear user message, refs #7990
2019-02-16 17:40:47 +01:00
Nils Adermann
c875f538ea
Make root alias behaviour consistent, add root ref handling, lock to newest metadata
...
root aliases during install should come from the lock file only, for
better reproducibility we don't reuse the value from update for the
following install
2019-02-14 17:57:29 +01:00
Jordi Boggiano
723308a1e7
Merge pull request #7982 from staabm/patch-1
...
Fixed typo introduced in recent fix
2019-02-13 09:07:45 +01:00
Markus Staab
0aa030f09d
Fixed typo introduced in recent fix
2019-02-13 07:26:14 +01:00
johnstevenson
4cf069535f
Improve safe junction logic
2019-02-12 15:18:06 +00:00
Jordi Boggiano
f7f0a978bb
Merge pull request #7978 from staabm/win-usleep
...
Make sure we properly usleep() on windows rmdir/unlink
2019-02-12 14:16:15 +01:00
Markus Staab
fc2c445c06
Make sure we properly usleep() on windows rmdir/unlink
...
usleep() returns void, therefore the previous code didn't work
2019-02-12 13:57:21 +01:00
Jordi Boggiano
a3eb6c4389
Merge pull request #7977 from johnstevenson/patch-2
...
Explain Windows junctions in 05-repositories.md
2019-02-12 13:34:20 +01:00
John Stevenson
ae9ed20812
Update 05-repositories.md
2019-02-12 12:09:25 +00:00
Jordi Boggiano
4d26198dde
Merge pull request #7971 from johnstevenson/safe-junctions
...
Only use junctions if they can be safely removed
2019-02-12 11:20:39 +01:00
johnstevenson
6212eadcb0
Only use junctions if they can be safely removed
2019-02-11 22:23:23 +00:00
Jordi Boggiano
603fe500f9
Merge pull request #7969 from johnstevenson/remove-junction-tweak
...
Remove junctions with PHP rather than system rmdir
2019-02-11 17:50:42 +01:00
johnstevenson
d1cf69fa92
Remove junctions with PHP rather than system rmdir
...
PHP will happily remove junctions using its `rmdir` function (tested on
versions back to 5.2.17). This saves invoking system `rmdir` through
cmd.exe.
2019-02-11 13:32:52 +00:00
Jordi Boggiano
875a7dd924
Merge pull request #7928 from johnstevenson/appveyor
...
Update appveyor to PHP 7.3
2019-02-11 11:27:41 +01:00
johnstevenson
c903a63f10
Update appveyor to PHP 7.3
2019-02-11 10:20:47 +00:00
Jordi Boggiano
d788c67547
Merge branch '1.8'
2019-02-11 10:52:53 +01:00
Jordi Boggiano
a5cd912c02
Update changelog
2019-02-11 10:51:32 +01:00