Jordi Boggiano
33294333d7
Merge pull request #8763 from stof/patch-2
...
Add the new repository options in the JSON schema
2020-04-13 11:41:54 +02:00
Ayesh Karunaratne
fdb35a6a06
Fix \Composer\Installer\PackageEvent::__construct() and \Composer\Repository\ComposerRepository::isVersionAcceptable() required arguments used after optional, which is deprecated in PHP 8.0
...
1. `Deprecated: Required parameter $name follows optional parameter $constraint in src\Composer\Repository\ComposerRepository.php on line 745`
2. `Deprecated: Required parameter $operation follows optional parameter $operations in src\Composer\Installer\PackageEvent.php on line 73`
Optional parameters with a type declared, and a default value of `null` is excepted from this deprecation. See https://php.watch/versions/8.0/deprecate-required-param-after-optional . This is the case in `ComposerRepository::isVersionAcceptable`, which still has two optional parameters as first two parameters, but this will not raise a deprecation notice.
2020-04-13 07:12:35 +07:00
Ayesh Karunaratne
280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically
2020-04-13 06:22:02 +07:00
Fabien Villepinte
c718579623
Dispatch POST_STATUS_CMD even when there is no changes
2020-04-12 14:35:23 +02:00
Fabien Villepinte
da3c42cced
Add missing pre-status-cmd event
2020-04-12 13:27:48 +02:00
Carsten Brandt
960fa4b205
Allow duplicate dashes in package names
...
fixes #8749
1.10 implementation of #8750
2020-04-10 19:01:06 +02:00
Christophe Coevoet
4497046f16
Add the new repository options in the JSON schema
2020-04-10 13:40:02 +02:00
Christophe Coevoet
c67c804c4b
Fix the doc about repository priorities
2020-04-10 13:32:55 +02:00
Jordi Boggiano
40a35abb94
Resolve options when creating requests to fix 5.3 build
2020-04-10 12:24:43 +02:00
Jordi Boggiano
4cb74d33e6
Forward default HttpDownloader options to RemoteFilesystem/CurlDownloader, fixes #8757
2020-04-10 12:10:30 +02:00
Jordi Boggiano
86cfbdc541
Merge branch '1.10'
2020-04-10 11:45:48 +02:00
Jordi Boggiano
8e2e9caf6a
Update changelog
2020-04-10 11:44:13 +02:00
Jordi Boggiano
2f7e901940
Fix #8748 in an alternative way to avoid messing with PATH for other binaries, fixes #8758
2020-04-10 11:42:52 +02:00
Jordi Boggiano
b3dbd95332
Fix PHP <5.6 syntax, fixes #8759 , closes #8760
2020-04-10 11:34:00 +02:00
Jordi Boggiano
a7ad186c89
Return early in case a call to the wrapped repo is unnecessary
2020-04-09 17:12:35 +02:00
Jordi Boggiano
096b507050
Merge branch '1.10'
2020-04-09 17:07:58 +02:00
Jordi Boggiano
eb314c5971
Update changelog
2020-04-09 17:05:43 +02:00
Jordi Boggiano
e121de35a3
Fix variable used for symlinking absolute paths, refs #8700
2020-04-09 17:01:48 +02:00
Jordi Boggiano
0001635016
Update changelog
2020-04-09 16:26:26 +02:00
Jordi Boggiano
f70b3b0152
Avoid warning about --2 usage when no channel is requested
2020-04-09 16:25:10 +02:00
Jordi Boggiano
8e664a37f5
Merge branch '1.10'
2020-04-09 16:13:15 +02:00
Jordi Boggiano
a4cd422a52
Update changelog
2020-04-09 16:05:43 +02:00
Jordi Boggiano
b79f2b5e0f
Make sure scripts calling composer call the correct composer binary even if the project requires composer/composer, fixes #8748
2020-04-09 15:43:47 +02:00
Jordi Boggiano
ccc8829ed9
Allow forcing self-update to stick to 1.x or 2.x using --1 and --2 flags, fixes #8753
2020-04-09 15:17:30 +02:00
Jordi Boggiano
28d26bd3a4
Merge pull request #8755 from Seldaek/repo-filtering
...
Add options to configure repository priorities
2020-04-09 14:02:33 +02:00
Jordi Boggiano
059c009179
Docs fixes
...
Co-Authored-By: Nils Adermann <naderman@naderman.de>
2020-04-09 14:01:05 +02:00
Markus Staab
6f6974df70
added phpdocs ( #8754 )
2020-04-09 13:44:30 +02:00
Jordi Boggiano
b6bad4eef6
Add options to configure repository priorities
2020-04-09 13:39:06 +02:00
Jordi Boggiano
59c831c2f8
Add docs to loadPackages
2020-04-09 11:50:37 +02:00
Jordi Boggiano
e34a2a9f45
Remove unused used vars
2020-04-09 11:23:25 +02:00
Jordi Boggiano
8b0da77a1d
Make sure cleanup is called for every package in case any operation fails to execute
2020-04-09 10:48:48 +02:00
Jordi Boggiano
55f122008b
Make sure we avoid cleanup running more than once per package on VcsDownloader
2020-04-09 10:32:59 +02:00
Matthias Van Woensel
067101dbf5
Only send GitHub API token to api.github.com domain ( #8747 )
2020-04-09 09:58:34 +02:00
Jordi Boggiano
0aaa815268
Merge branch '1.10'
2020-04-09 09:51:35 +02:00
Bingqing Wang
46db638678
fix typo
2020-04-09 09:50:38 +02:00
Bingqing Wang
63eb178297
compatible with symfony/console 5.0.0 getVerticalBorderChars() method
2020-04-09 09:50:19 +02:00
Nils Adermann
eaf31e4f5c
Minor upgrade guide text change
2020-04-08 18:13:21 +02:00
Nils Adermann
5cdc9a11a3
Minor upgrade guide text change
2020-04-08 18:12:29 +02:00
Jordi Boggiano
aa6be02c64
Allow COMPOSER_DISABLE_NETWORK to work with GitHubDriver by doing a cache priming pass first
2020-04-08 17:53:15 +02:00
Jordi Boggiano
9575c7623f
Update changelog, add upgrade guide
2020-04-08 16:44:32 +02:00
Jordi Boggiano
ee09b75be3
Clean ups
2020-04-08 15:55:51 +02:00
Jordi Boggiano
8930f1b824
Add color to lock operations and dry run output
2020-04-08 15:18:28 +02:00
Jordi Boggiano
2e64e8dc2e
Avoid generating duplicate aliases in lock file if several aliased packages are installed
2020-04-08 14:18:38 +02:00
Jordi Boggiano
64f907f93f
Fix handling of aliases to use consistent format everywhere
2020-04-08 12:31:02 +02:00
Jordi Boggiano
a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones
2020-04-08 11:46:06 +02:00
Jordi Boggiano
eeca9f68ad
Merge branch '1.10'
2020-04-08 10:34:45 +02:00
Jordi Boggiano
ff3f055439
Update deps
2020-04-08 10:33:15 +02:00
Markus Staab
593d5abf27
use more precise phpstan/psam return-types ( #8744 )
2020-04-08 10:01:09 +02:00
Jordi Boggiano
577a7e3626
Add an example using type:* syntax
2020-04-08 09:50:46 +02:00
Tianni
a47f44bc61
docs updated install package custom path
2020-04-08 09:50:35 +02:00