1
0
Fork 0
Commit Graph

9575 Commits (13bdf8553a8a4a8ca369d95d75ac1ccdc207c30e)

Author SHA1 Message Date
Jordi Boggiano 80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743 2020-04-15 16:47:44 +02:00
Jordi Boggiano c1f6f339c2
Tweak wording 2020-04-15 16:36:56 +02:00
Jordi Boggiano bd5952c7ff
Merge pull request #8793 from cebe/naming-pattern-json-schema
Add package naming pattern to the composer.json JSON schema
2020-04-15 16:36:24 +02:00
Jordi Boggiano 94372efde0
Merge pull request #8794 from composer/revert-8792-patch-3
Revert "Remove the pear repository type from the JSON schema"
2020-04-15 14:09:54 +02:00
Jordi Boggiano 91dcde2059
Revert "Remove the pear repository type from the JSON schema" 2020-04-15 14:09:30 +02:00
Carsten Brandt 3e8021ed06
Add package naming pattern to the composer.json JSON schema
fixes #8749
2020-04-15 13:43:05 +02:00
Jordi Boggiano fd6e13dddc
Merge pull request #8792 from stof/patch-3
Remove the pear repository type from the JSON schema
2020-04-15 10:52:27 +02:00
Christophe Coevoet 8f489d3d6c
Remove the pear repository type from the JSON schema 2020-04-15 10:02:16 +02:00
Jordi Boggiano 00ad18b742
Fix last phpstan errors 2020-04-15 01:09:39 +02:00
Jordi Boggiano 5b54a93751
Fix phpstan build 2020-04-15 00:33:52 +02:00
Jordi Boggiano 44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778 2020-04-15 00:24:13 +02:00
Jordi Boggiano feefa9be71
Add post-file-download event to docs, refs #8655 2020-04-14 23:51:34 +02:00
Nils Adermann 5e9bf532c1
Merge pull request #8786 from Seldaek/unused-flag
Add --unused flag to remove command
2020-04-14 23:51:19 +02:00
Lucas Hedding 1883832ddc
Provides a post download event (#8655) 2020-04-14 23:48:18 +02:00
Jordi Boggiano 11765ddfea
Add --unused flag to remove command, fixes #8283 2020-04-14 23:42:49 +02:00
Jordi Boggiano 6bed9d8f13
Implement count and search correctly in FilterRepository 2020-04-14 22:55:53 +02:00
Jordi Boggiano a0c5d519e9
Restore --no-suggest but mark it deprecated, remove --no-custom-installers and mark --dev also deprecated with stronger wording 2020-04-14 22:35:13 +02:00
Markus Staab 3819b02fea
added phpstan types to `CompletePackageInterface` (#8782) 2020-04-14 22:05:58 +02:00
Nils Adermann 831271eaf9
Remove getVersion() reference from upgrading guide for plugins
It returns the Composer version, but you want to compare plugin api version.
2020-04-14 21:51:58 +02:00
Jordi Boggiano e8aae7a86b
Merge pull request #8780 from xel1045/patch-1
Fix typo: directory instead of directoy
2020-04-14 21:17:04 +02:00
Alexandre D'Eschambeault e0e2bb11a5
Fix typo: directory instead of directoy 2020-04-13 19:45:35 -04:00
Jordi Boggiano be1ddcf293
Fix handling of svn trunk in version guesser, fixes #8765 2020-04-13 12:48:43 +02:00
Jordi Boggiano 876136022b
Merge remote-tracking branch 'origin/1.10' 2020-04-13 12:41:30 +02:00
Jordi Boggiano 19902ba6a9
Merge pull request #8772 from villfa/fix/8771
Dispatch POST_STATUS_CMD even when there is no changes
2020-04-13 12:41:02 +02:00
Jordi Boggiano 7c1709c3b8
Merge pull request #8770 from villfa/patch-1
Add missing pre-status-cmd event in doc
2020-04-13 12:39:49 +02:00
Jordi Boggiano 2e7ace238a
Merge pull request #8767 from cebe/package-name-double-dash
Allow duplicate dashes in package names (1.10)
2020-04-13 12:37:41 +02:00
Jordi Boggiano 7d3f45cf04
Avoid errors in cleanup, fixes #8766, fixes #8764 2020-04-13 12:15:17 +02:00
Jordi Boggiano 62fda2ed85
Reorg ComposerRepository to fix tests 2020-04-13 12:10:31 +02:00
Jordi Boggiano 048781c268
Fix whatProvides function declaration 2020-04-13 12:02:59 +02:00
Jordi Boggiano 3dd6dbe14a
Merge pull request #8774 from Ayesh/https
Update HTTP URLs to their HTTPS if they already redirect automatically
2020-04-13 11:52:21 +02:00
Jordi Boggiano be701f8906
Merge pull request #8775 from Ayesh/php8-func-arg-opts
PHP 8 fixes for functional optional parameters before required parameters
2020-04-13 11:50:03 +02:00
Jordi Boggiano 4ea6b1ef55
Make all params non-optional 2020-04-13 11:49:51 +02:00
Jordi Boggiano f5e80778c8
Merge pull request #8762 from stof/patch-1
Fix the doc about repository priorities
2020-04-13 11:47:04 +02:00
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 94c7afb69b Check syntax of PHP files in src 2020-04-12 21:54:51 +02: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