Jordi Boggiano
29ec10d95c
Fix output formatting
2020-06-05 13:43:42 +02:00
Nils Adermann
f15b9c258e
Merge pull request #8949 from Seldaek/cleanups
...
Cleanups / docblocks
2020-06-05 10:48:29 +02:00
Jordi Boggiano
f7df96f968
Allow php8 for Composer 2
2020-06-05 10:39:56 +02:00
Jordi Boggiano
90425a6a50
Add upgrade note for custom installers
2020-06-05 10:36:40 +02:00
Jordi Boggiano
56b4667db0
Merge pull request #8950 from Ayesh/issue/8946
...
Platform Check: Add a special case for `zend-opcache`
2020-06-05 08:09:09 +02:00
Thomas Lamy
d4e5135d0f
Merge pull request #1 from composer/master
...
Pull upstream
2020-06-05 07:57:20 +02:00
Ayesh Karunaratne
71ddc487fe
Platform Check: Add a special case for `zend-opcache`.
...
Ref #8946
The platform-check feature maps `ext-X` to `extension_loaded('X')` calls.
While most of the extensions can be tested this way, the `zend-opcache`
extension requires `zend opcache` to be probed instead of the `zend-opcache`
name.
This commit adds a special case for `zend-opcache` to use the correct name
in `extension_loaded()` calls in generated `platform_check.php` file.
2020-06-05 02:09:31 +07:00
Jordi Boggiano
c9571f90b4
Run phpstan with regular output and then run again to cs2pr if there was an error, to keep usable output in CI logs
2020-06-04 16:11:02 +02:00
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
2020-06-04 16:08:23 +02:00
Jordi Boggiano
627afe78ca
Merge pull request #8948 from johnstevenson/xdebug-handler-1.4.2
...
Update xdebug-handler to 1.4.2
2020-06-04 14:02:46 +02:00
johnstevenson
26c7234a0d
Update xdebug-handler to 1.4.2
2020-06-04 12:43:37 +01:00
Jordi Boggiano
5761228068
Make installer classes forward promises from downloaders to InstallationManager
2020-06-04 10:34:16 +02:00
Jordi Boggiano
816d8e9d1b
Fix phpstan error
2020-06-03 15:41:47 +02:00
Jordi Boggiano
90bd351b8b
Allow downgrades to go through even though the target dir for archive extraction exists
2020-06-03 15:37:36 +02:00
Jordi Boggiano
63041fbf50
Add missing class
2020-06-03 15:28:10 +02:00
Jordi Boggiano
02059d96e7
Fail early if an archive extraction is going to fail at install/update stage to avoid leaving the vendor dir in a half up to date state
2020-06-03 15:19:02 +02:00
Jordi Boggiano
396ad87fd0
Add handling of ctrl-C on windows for php 7.4+
2020-06-03 15:18:27 +02:00
Jordi Boggiano
29761cf78d
Update lock
2020-06-03 14:56:59 +02:00
Jordi Boggiano
a66a939b76
Merge pull request #8937 from Seldaek/optim-rules
...
Optimize rule creation for alias packages
2020-06-03 14:17:13 +02:00
Jordi Boggiano
bf4a659f2a
Update changelog
2020-06-03 13:14:29 +02:00
Jordi Boggiano
8a9340c2d2
Merge pull request #8944 from staabm/patch-2
...
Added docs for glob pattern support in classmaps
2020-06-03 13:12:51 +02:00
Jordi Boggiano
5ef7765cbd
Merge pull request #8923 from staabm/glob-classmap
...
Autoload-Generator: support glob patterns in classmaps
2020-06-03 13:12:44 +02:00
Jordi Boggiano
501b06323d
Fix wording
2020-06-03 13:12:22 +02:00
Markus Staab
50944e1c42
Added docs for glob pattern support in classmaps
2020-06-03 11:04:43 +02:00
Jordi Boggiano
242b48eae4
Merge branch '1.10'
2020-06-03 10:58:38 +02:00
Jordi Boggiano
2a9768a743
Update changelog/upgrade guide for 2.0.0-alpha1
2020-06-03 10:57:42 +02:00
Jordi Boggiano
ccea1b95a8
Fix pretty constraint for --with overrides
2020-06-03 10:43:18 +02:00
Jordi Boggiano
7507b87fb3
Remove stray var_dump
2020-06-03 10:40:44 +02:00
Jordi Boggiano
81c6fe987b
Remove empty env var
2020-06-03 10:26:56 +02:00
Jordi Boggiano
2490a857cb
Bump phpunit-bridge version
2020-06-03 10:24:27 +02:00
Jordi Boggiano
50ab8a7b5f
Merge branch '1.10'
2020-06-03 10:06:38 +02:00
Jordi Boggiano
547763ab67
Update changelog
2020-06-03 10:03:43 +02:00
Jordi Boggiano
93502eed68
Add powershell instructions, fixes #8883
2020-06-03 09:57:32 +02:00
Jordi Boggiano
8d3ec0f718
Do not reverse sorted packages, fixes #8320
2020-06-03 09:42:21 +02:00
Jordi Boggiano
fafa959933
Add test to assert prefer-lowest behavior when conflicting branches prevent absolute lowest version from being installed, closes #7408
2020-06-03 08:34:25 +02:00
Nils Adermann
36f3982285
Merge pull request #8942 from Seldaek/pool-builder-unfixing
...
Fix unfixing of packages when a replacer gets unfixed before a replacee
2020-06-02 17:26:44 +02:00
Jordi Boggiano
1055be7936
Fix unfixing of packages when a replacer gets unfixed before a replacee, refs #8882
2020-06-02 17:03:41 +02:00
Jordi Boggiano
4d75d524f1
Fix class name case, refs #8939
2020-06-02 16:20:31 +02:00
Jordi Boggiano
383fbe4a8a
Merge pull request #8940 from GrahamCampbell/patch-1
...
Fix for HHVM 3
2020-06-02 15:55:01 +02:00
Graham Campbell
462dc5a933
Fix for HHVM 3
2020-06-02 14:52:38 +01:00
Nils Adermann
86e79fcce3
Merge pull request #8938 from Seldaek/drop-dead-code
...
Remove some dead code from RuleSetGenerator
2020-06-02 15:49:24 +02:00
Jordi Boggiano
718021724c
Deduplicate more content in complex problem output
2020-06-02 15:46:12 +02:00
Jordi Boggiano
9bd255d8f1
Remove some dead code from RuleSetGenerator
2020-06-02 14:41:18 +02:00
Jordi Boggiano
5a4709c3d6
Optimize rule creation for alias packages
...
This mainly benefits projects running updates with minimum-stability: dev
2020-06-02 13:44:56 +02:00
Jordi Boggiano
8a7f3a9a09
Avoid rendering problem output for dev-master aliases which is useless
2020-06-02 13:21:06 +02:00
Jordi Boggiano
1ea3111583
Use RULE_LEARNED instead of RULE_FIXED
2020-06-02 13:21:05 +02:00
Graham Campbell
7a97741aae
Use --ignore-platform-req=php ( #8936 )
2020-06-02 13:03:58 +02:00
Jordi Boggiano
5e5f9f8142
Remove unused RULE_INTERNAL_ALLOW_UPDATE
2020-06-02 11:22:35 +02:00
Jordi Boggiano
c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues
2020-06-02 11:22:09 +02:00
Nils Adermann
cd8c377854
Merge pull request #8916 from Seldaek/test-for-8902
...
Ensure loading aliased package rules loads all rules for original package too #8902
2020-06-02 10:47:43 +02:00