Lucas D Hedding
3e2163de5c
#8809 : expand context for post file download event
2020-04-20 13:50:42 -06:00
Jordi Boggiano
17ed09be2e
Add failing test showing that packages fail to be installed if they match a previous alias which was not removed yet
2020-04-20 21:50:06 +02:00
Jordi Boggiano
82502684b2
Allow testing for installed repo state
2020-04-20 21:44:15 +02:00
Jordi Boggiano
3f338ee8d9
Make sure versions are sorted before they get trimmed in error output
2020-04-19 15:51:30 +02:00
Jordi Boggiano
424c08d6b2
Fix bug loading ~dev in some circumstances
2020-04-19 15:51:29 +02:00
Jordi Boggiano
b3f46979b0
Merge pull request #8802 from kubawerlos/command-validate-no-check-version
...
Add "no-check-version" option to ValidateCommand
2020-04-18 14:41:38 +02:00
Jordi Boggiano
c12a1a6d64
Update flag description
2020-04-18 14:41:04 +02:00
Kuba Werłos
a54bf0e2d4
Use flags instead of boolean in ConfigValidator for checking version field
2020-04-18 09:24:54 +02:00
Kuba Werłos
4ec73874cb
Add "no-check-version" option to ValidateCommand
2020-04-17 22:38:14 +02:00
Jordi Boggiano
1136459d78
Merge pull request #8798 from GromNaN/patch-1
...
Remove unused property $httpDownloader
2020-04-16 11:54:24 +02:00
Jérôme Tamarelle
bd34ff1328
Remove unused property $httpDownloader
2020-04-16 01:14:56 +02:00
Nils Adermann
12be472c6b
Merge pull request #8790 from Seldaek/minify-problem-versions
...
Shorten long lists of similar versions in problem output
2020-04-15 16:57:15 +02:00
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