1
0
Fork 0
Commit Graph

9022 Commits (ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa)

Author SHA1 Message Date
Lars Strojny 5a02ea6a96
Check that class exists 2020-07-30 14:29:48 +02:00
Lars Strojny 404dea61c2
Allow specifying a version requirement for the relevant CLDR 2020-07-29 19:32:53 +02:00
Stephan b25296ef74 Driver: only cache composer.json file without API data to disk 2020-07-27 13:26:57 +01:00
Tyson Andre e5c7835d57 Properly support PHP 8.0 Named Arguments
See https://wiki.php.net/rfc/named_params#internal_functions
(implemented but not yet merged)

An ArgumentCountError will be thrown when passing variadic arguments to
a function with call_user_func_array() if extra unknown named arguments
are encountered.

Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in phar:///path/to/composer.phar/src/Composer/DependencyResolver/DefaultPolicy.php:84

(e.g. for `['phpunit/phpunit' => [72]]`)
2020-07-26 15:28:47 -04:00
Jordi Boggiano 5fceb4799a
Merge pull request #9065 from localheinz/fix/reference
Fix: Reference
2020-07-22 09:23:53 +02:00
Andreas Möller ac055e5718
Fix: Reference 2020-07-21 23:25:05 +02:00
Jordi Boggiano a474dee236
Merge remote-tracking branch 'johnstevenson/elevate2' into 1.10 2020-07-17 13:01:24 +02:00
Jordi Boggiano ff7f9dcf2d
Update deps 2020-07-17 13:00:41 +02:00
Jordi Boggiano eac03e16e7
Reuse repository manager and others directly from the Composer instance, refs #9057 2020-07-17 12:05:07 +02:00
Jordi Boggiano 1d3af13c22
Merge remote-tracking branch 'logicalor/create-project-event-dispatcher' into 1.10 2020-07-17 11:44:02 +02:00
johnstevenson 8ddbae358d Remove cygwin php handling in UAC elevation
When called from a native shell and using cygwin PHP, cygpath translates
`/tmp` to `User\AppData\Local\Temp`, rather than `/cygdrive/.../tmp`.
This change does not affect using windows PHP from a Cygwin shell.
2020-07-16 17:20:12 +01:00
Shaun Johnston b4ecca5d0b Supply event dispatcher in Create Project Command
This update allows composer plugins to intercept the
create-project command to inject additional functionality such as
providing additional remote filesystem handling.
2020-07-16 23:34:30 +10:00
Rob Bast 11892070d1
Create an issue @ Docker repository on tag 2020-07-16 14:48:16 +02:00
Jordi Boggiano bf59f536d6
Prepare 1.10.9 release 2020-07-16 12:53:45 +02:00
Jordi Boggiano eec2f8d423
Remove highest/lowest builds for 1.10 maintenance branch 2020-07-16 12:37:54 +02:00
Jordi Boggiano 6cb4dc41b8
Fix bitbucket detection of redirects to login page, fixes #9041 2020-07-16 12:26:48 +02:00
johnstevenson 57f91d01c7
Fix doc comment 2020-07-16 11:53:55 +02:00
johnstevenson 272654d6e2
Fixed spelling mistake 2020-07-16 11:53:55 +02:00
johnstevenson cae913c434
Add Windows UAC elevation to self-update command
If self-update fails on Windows due to file permission issues, a .vbs
script is used to elevate a call to the cmd.exe `move` command.
Unfortunately it is not possible to know if the user cancelled the UAC
prompt using this method - it is possible using a Powershell script, but
flashing hidden windows make this a less desirable option.

The only downside is that a UAC invoked process is asynchronous, so a
300 millisecond timeout is used to allow cmd.exe to do its stuff.
Therefore if the OS is busy the script may finish first and incorrectly
report that the file has not been written.
2020-07-16 11:53:55 +02:00
Jordi Boggiano a585c65a12
Merge pull request #9042 from glaubinix/t/gitlab-token-creation
GitLab: clarify interactive auth prompt
2020-07-16 11:25:22 +02:00
Stephan fb0ad7c900 GitLab: clarify interactive auth prompt 2020-07-15 16:18:21 +01:00
Jordi Boggiano d2d3aa8494
Fix parsing of # in funding links, fixes composer/packagist#1097, closes #9035 2020-07-07 21:12:04 +02:00
Jordi Boggiano 95a176c87c
Prepare 1.10.8 release 2020-06-24 21:23:12 +02:00
Jordi Boggiano 7f808c2e8d
Merge pull request #8993 from glaubinix/t/git-driver-use-auth-support
GitDriver: use authentication for supports check
2020-06-24 08:55:56 +02:00
Jordi Boggiano 57601533d6
Merge branch '1.10' into t/git-driver-use-auth-support 2020-06-24 08:53:10 +02:00
Stephan Vock 52332d994e GitDriver: use authentication for supports check 2020-06-23 13:06:30 +01:00
Jordi Boggiano cbdee533e3
Merge pull request #8993 from glaubinix/t/git-driver-use-auth-support
GitDriver: use authentication for supports check
2020-06-19 18:25:02 +02:00
Grummfy e55a019b8d
replace toran with private packagist 2020-06-19 18:21:03 +02:00
Stephan Vock 5ff1423298 GitDriver: use authentication for supports check 2020-06-19 10:24:40 +01:00
Jordi Boggiano cb1f3899bb
Revert "Store default branch info inside metadata"
This reverts commit 472a62152d.
2020-06-17 17:32:26 +02:00
Michael Stucki 0278e7453d
Clean Git repos during discard 2020-06-17 17:00:35 +02:00
Jordi Boggiano fb7fc4a4ca
Fix git tests 2020-06-17 16:59:43 +02:00
Jordi Boggiano 8c0ecf7337
Clarify why a dev tag was ignored, fixes #8951 2020-06-17 16:41:33 +02:00
Jordi Boggiano 93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966 2020-06-17 16:37:06 +02:00
Jordi Boggiano 472a62152d
Store default branch info inside metadata 2020-06-17 16:09:38 +02:00
Jordi Boggiano da572f1fdc
Merge remote-tracking branch 'GrahamCampbell/allow-list' into 1.10 2020-06-16 16:52:54 +02:00
johnstevenson 54debe8210
Respect disable-tls in Versions::getLatest
Use http to get the latest version when disable-tls is true and error-
trap DiagnoseCommand::checkVersion so that all checks can complete.
Fixes #8657.
2020-06-15 13:08:38 +02:00
Jordi Boggiano a17bbec842
Avoid double warnings about composer.json when running outdated, fixes #8958 2020-06-15 13:04:02 +02:00
Graham Campbell a97d13fc6d
Fixed typo
Co-authored-by: ZhangWei <zhwei.yes@gmail.com>
2020-06-08 09:33:40 +01:00
Graham Campbell 491067f253 Fixed wording 2020-06-07 22:31:24 +01:00
Graham Campbell fa799970ad Replace whitelist with allow list 2020-06-07 22:15:09 +01:00
Jordi Boggiano 6630519882
Fix #8298 for COMPOSER_DEV_MODE 2020-06-05 16:01:39 +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 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 f7abfc9d7f
Update deps 2020-05-27 22:07:55 +02:00
Jordi Boggiano 2332b60f35
Merge pull request #8921 from azjezz/php-8
fix deprecations in PHP 8
2020-05-22 10:23:47 +02:00
azjezz 30f994e424 fix deprecations in PHP 8 2020-05-21 18:16:19 +01:00
Timo Webler 541692bbfe
Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"
Follow-up 8d24b61bef
2020-05-19 15:47:51 +02:00