Jordi Boggiano
f2141dd3ea
Fix tests from #10985
2022-08-16 11:25:15 +02:00
Stephan
1f0bd51f55
GitHubDriver: stricter URL validation to avoid issues with undefined index owner ( #10985 )
2022-08-16 11:08:03 +02:00
Jordi Boggiano
9d90bc649d
Fix tests
2022-07-20 22:53:57 +02:00
Andreas Schempp
424547bb70
Correctly merge boolean flag of allow-plugin config ( #10909 )
2022-07-01 11:08:35 +02:00
Jordi Boggiano
15f7d24e7e
Parse openssl 3 versions cleaner
2022-06-02 21:17:44 +02:00
Nicolas Hedger
70a7b592e9
Fix JSON schema regex pattern ( #10811 )
2022-06-01 21:23:07 +02:00
Jordi Boggiano
10d3895f18
Ensure that dotfiles can be excluded, fixes #8866
2022-05-24 22:14:17 +02:00
Jordi Boggiano
44a52e4157
Fix backtracking in name validation regex
2022-05-24 14:32:18 +02:00
John Stevenson
2837585e47
Fix cmd splitting paths on commas ( #10775 )
2022-05-12 21:13:55 +02:00
Stephan Vock
d40c3a89c0
GitLab: add warning in case GitLab authentication is misconfigured
2022-04-28 21:37:45 +01:00
Stephan Vock
3b4a3d63bf
GitLab: prevent invalid loop during composer install with invalid credentials
2022-04-28 21:16:16 +01:00
Jordi Boggiano
b0b364af19
E_TOO_MANY_BRANCHES
2022-04-13 17:24:39 +02:00
Jordi Boggiano
9a62ef7ff2
Add missing return type
2022-04-13 17:07:33 +02:00
Jordi Boggiano
a1f9baa118
Fix 5.3/5.4 builds
2022-04-13 16:42:12 +02:00
Stephan
2c40c53637
Merge pull request from GHSA-x7cr-6qr6-2hh6
...
* GitDriver: filter branch names starting with a - character
* GitDriver: getFileContent prevent identifiers starting with a -
* HgDriver: prevent invalid identifiers and prevent file from running commands
* HgDriver: filter branches starting with a - character
2022-04-13 15:54:58 +02:00
Jordi Boggiano
1cc23e1a8b
🤦♂️
2022-04-02 13:04:03 +02:00
Jordi Boggiano
6b330b7456
Fix tests
2022-04-02 12:58:29 +02:00
Jordi Boggiano
34fa266114
Fix windows build
2022-04-02 12:48:02 +02:00
Jordi Boggiano
0985501602
Fix windows build
2022-04-02 12:38:23 +02:00
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
2022-04-01 21:20:21 +02:00
Jordi Boggiano
7eb8f92a93
Fix test
2022-03-29 21:37:41 +02:00
Jordi Boggiano
60616f9bd1
Fix tests
2022-03-29 21:27:43 +02:00
Jordi Boggiano
2dbe66ad20
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 ( #10666 )
2022-03-29 18:57:30 +02:00
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
2022-03-15 22:11:19 +01:00
Jordi Boggiano
dbcdb4a903
Add test for circular depths of equal weight
2022-03-15 12:02:03 +01:00
Jordi Boggiano
f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614
2022-03-15 11:35:33 +01:00
Yanick Witschi
ced24da7b0
Fix PoolOptimizer should consider disjunctive MultiConstraints ( #10579 )
2022-03-12 14:16:38 +01:00
Jordi Boggiano
b3f99faff7
Fix tests
2022-03-09 21:39:18 +01:00
Jordi Boggiano
28ec4fa7b0
Fix handling of invalid emails
2022-02-16 13:24:15 +01:00
Stephan
3eb12efae5
VcsRepositories: handle initialize with invalid repository URL ( #10525 )
2022-02-16 09:37:36 +01:00
Jordi Boggiano
6698317342
Make tests more robust
2022-02-15 16:42:50 +01:00
Jordi Boggiano
f808e4907c
Fix handling for non-lowercased enum keyword, fixes #10521
2022-02-15 16:41:06 +01:00
Jordi Boggiano
3cb44bc4c0
Fix build with latest setup-php
2022-02-08 14:54:46 +01:00
Jordi Boggiano
ee36c5e54a
Fix error reporting issues when partial updates cannot update due to a symlinked path repo package, fixes #10451
2022-02-04 15:58:50 +01:00
Florian Engelhardt
3d82719b70
Fix package search not urlencoding the input ( #10500 )
2022-02-04 10:23:10 +01:00
Jordi Boggiano
62d5f4f295
Fix phpstan errors
2022-02-02 22:18:00 +01:00
Markus Staab
6be6ce7d9f
update composer/pcre to 1.0.1 ( #10496 )
2022-02-02 21:35:37 +01:00
Jordi Boggiano
db8ea45295
Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498
2022-02-02 17:48:45 +01:00
Jordi Boggiano
7591ef0084
Attempt fixing usage of InstalledVersions in tests
2022-02-02 16:08:40 +01:00
Jordi Boggiano
4ce11ab4ab
Support escaping on newer symfony/console versions, fixes #10499
2022-02-02 15:01:55 +01:00
Stephan
3b4afaa9e3
ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized ( #10470 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-01-21 14:57:28 +01:00
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2022-01-21 12:48:16 +01:00
Jason Woods
efc7a3f75f
fix: Do not optimise away packages due to a requirement by a locked package that will be uninstalled ( #10405 )
...
Fixes #10394
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-12-31 11:49:42 +01:00
Jordi Boggiano
e1bf45aa80
Fix issue parsing php files with unterminated comments found inside backticks, fixes #10385
2021-12-22 21:42:19 +01:00
Jordi Boggiano
226689b90c
Fix plugin autoloading including files autoload rules from the root package, fixes #10382 ( #10386 )
2021-12-22 16:04:34 +01:00
Jérôme Tamarelle
f0060b7f56
Use web URLs for Gitlab support metadata ( #10377 )
2021-12-22 10:54:48 +01:00
Jordi Boggiano
188b692c4c
Add test verifying only plugin deps are autoloaded ( #10374 )
2021-12-20 14:58:55 +01:00
Jordi Boggiano
8f1b3d21db
Add --no-scripts to all commands and disable plugins/scripts when running self-update ( #10371 )
...
* Add --no-scripts as global parameter available to all commands, and handle it by default when creating a Composer instance from Command::getComposer
* Disable scripts/plugins for self-update command, fixes #10351
2021-12-20 14:23:35 +01:00
Jordi Boggiano
73a12bb21a
Delete old pear package fixtures
2021-12-10 13:50:46 +01:00
Jordi Boggiano
4e3d812212
Fix phpstan warnings
2021-12-08 14:10:42 +01:00