Patrick Reimers
627a832cc1
Return non zero exit code on deprecation
2019-03-01 19:39:07 +01:00
Andreas Schempp
0d0cb53f31
Adjust Zip Util to only find the root composer.json
2019-03-01 11:06:03 +01:00
Jordi Boggiano
ba1e5c213c
Merge branch '1.8'
2019-02-27 15:07:33 +01:00
Jordi Boggiano
6473dd9185
Minor improvements to VersionCacheInterface
2019-02-27 15:03:25 +01:00
Andreas Schempp
05d6b21785
Use self:: for private method
2019-02-25 08:02:04 +01:00
Andreas Schempp
9de07bed1b
Fixed docblocks
2019-02-25 08:01:38 +01:00
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
60df892517
Store dev mode in installed.json, fixes #3008
2019-02-21 12:46:02 +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
3fc9ede24b
Add plugin callbacks for deactivation and uninstall, fixes #3000
2019-02-18 18:14:46 +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
Andreas Schempp
4d85e217c3
Extract the ZIP utility functions from ArtifactRepository
2019-02-16 18:46:59 +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