Jordi Boggiano
ce082cd5b3
Merge branch '2.4'
2022-10-13 11:21:52 +02:00
Jordi Boggiano
205ba37825
Fix tests
2022-10-13 11:21:41 +02:00
Leo Viezens
13e673df76
#10796 Add test for ExecCommand ( #11094 )
2022-10-13 11:21:19 +02:00
Gaëtan Faugère
52f91b2dd9
Add test and documentation regarding audit command when no packages are required ( #11092 )
2022-10-13 10:53:26 +02:00
Jesper Skytte Marcussen
b52e6b4a74
Add tests for BumpCommand ( #11097 )
...
I've added tests for the BumpCommand to increase the test coverage.
See #10796
Signed-off-by: Jesper Skytte <jesper@skytte.it>
Signed-off-by: Jesper Skytte <jesper@skytte.it>
2022-10-13 10:42:03 +02:00
Jesper Skytte Marcussen
d1bf685ea8
Added lots of new tests for `InitCommand` ( #11106 )
...
This commit adds tests for all the different input options.
2022-10-13 10:39:51 +02:00
Jesper Skytte Marcussen
c728569d33
Added new `LicensesCommandTest` class ( #11105 )
2022-10-12 17:25:28 +02:00
Mauro Bonfietti
d8a0127c0c
Added tests for Clear Cache Command. ( #11066 )
...
* Added tests for Clear Cache Command.
* Fix side-effects breaking other tests
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-12 17:19:58 +02:00
Jordi Boggiano
06359da3a3
Merge branch '2.4'
2022-10-12 16:55:56 +02:00
JT Smith
08c04d2c9c
Typofixes ( #11096 )
...
* Fixing typo in private method name
* Various comment-related typofixes
2022-10-12 16:45:10 +02:00
Jordi Boggiano
8618f004f7
Fix parsing of aliases used within complex OR constraints, fixes #11086
2022-10-12 16:16:31 +02:00
Abdullahi Temidayo Jimoh
05aecfbe8b
Test for About command ( #11078 )
2022-10-12 14:22:28 +02:00
Jordi Boggiano
822fd640d0
Add warning when outdated command rejects an existing version due to platform requirements, fixes #11016 ( #11113 )
2022-10-12 13:57:14 +02:00
Jellyfrog
8ed7c46179
Add download-only mode ( #11041 )
...
composer install --download-only to prime the cache/download archives but not do any actual of the actual installing
Fixes #11035
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-12 13:56:35 +02:00
Jordi Boggiano
7df744531b
Merge branch '2.4'
2022-10-12 11:27:30 +02:00
Kuba Werłos
f8435b6d10
Unify command names in the docs ( #11071 )
2022-10-12 10:55:57 +02:00
Jordi Boggiano
8600894003
Update deps, constrain a few types to non-empty-strings
2022-10-12 09:19:36 +02:00
Kuba Werłos
e870206c4a
Add "--dry-run" to bump command ( #11047 )
2022-09-19 08:45:49 +02:00
Jordi Boggiano
ef018748eb
Merge branch '2.4'
2022-09-14 14:02:28 +02:00
Jordi Boggiano
ec8bbe9056
Fix package filter on bump command, fixes #11053
2022-09-14 14:00:27 +02:00
Jordi Boggiano
02082905a3
Merge branch '2.4'
2022-09-13 15:17:04 +02:00
Jordi Boggiano
ab29ed5f97
Fix handling of upper-bound platform req ignores to not act on conflicts ( #11037 )
...
* Fix handling of upper-bound platform req ignores to not act on conflicts, fixes #11020
* Optimization
2022-09-13 14:50:27 +02:00
Jordi Boggiano
4164b30236
Fix show --platform regression failing if no composer.json exists, fixes #11046
2022-09-13 14:49:25 +02:00
Jordi Boggiano
c10854d3f3
Remove extra lines
2022-08-31 12:42:26 +02:00
Jordi Boggiano
d0ac10ca6a
Merge branch '2.4'
2022-08-31 12:41:52 +02:00
Jordi Boggiano
5b754c797e
Remove extra lines
2022-08-31 12:26:58 +02:00
Jordi Boggiano
39de9899a7
Lock down include wrappers to avoid abuse from third parties ( #11015 )
2022-08-31 12:07:23 +02:00
Jordi Boggiano
3177b21324
Fix handling for double-zero prefix, refs #11032
2022-08-31 09:47:59 +02:00
Jordi Boggiano
2d48c7dbb0
Fix handling of zero-major versions in outdated --major-only flag, fixes #11032
2022-08-30 20:45:07 +02:00
Thomas Landauer
ceb8bef778
Adding hint what "Direct dependencies" means ( #11013 )
2022-08-20 09:24:25 +02:00
Zan Baldwin
d2d8474013
Do not apply non-array package links in ArrayLoader ( #11008 )
2022-08-20 08:58:17 +02:00
Zan Baldwin
51774693c7
Do not apply non-string package link constraints in ArrayLoader ( #11009 )
2022-08-20 08:34:38 +02:00
Jordi Boggiano
131da999ac
Fix CS ( #11003 )
2022-08-17 14:20:07 +02:00
Jordi Boggiano
6e205a0c84
Fix minor bug in process executor mock
2022-08-17 13:23:16 +02:00
Jordi Boggiano
f95471f221
Show/outdated command fixes ( #11000 )
...
* Fix show command showing the split of direct/transitive deps from outdated, fixes #10999
* Fix a few minor edge cases in show command, add tests for show and outdated commands
2022-08-17 12:08:59 +02:00
Jordi Boggiano
cc33db9257
Only fetch remote default branch for mirrored git repos, not local ones, refs #10949 ( #10996 )
2022-08-16 15:53:57 +02:00
Thomas Lüder
41d6467b3b
Added token refresh for GitLab to support GitLab 15+ ( #10988 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-08-16 13:34:18 +02:00
Jordi Boggiano
f1877afc0b
Merge branch '2.3'
2022-08-16 11:27:40 +02:00
Jordi Boggiano
550fc3d321
Merge branch '2.2' into 2.3
2022-08-16 11:27:34 +02:00
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
Ion Bazan
74a045783b
Add SearchCommand tests ( #10982 )
...
Signed-off-by: Ion Bazan <ion.bazan@gmail.com>
2022-08-16 10:52:01 +02:00
Jordi Boggiano
135ca98eb0
Remove workaround for upstream bug
2022-08-16 10:46:07 +02:00
Jordi Boggiano
a6d872191c
Disable packagist.org loading by default in initTempComposer test cases if other repos are provided
2022-08-16 10:41:58 +02:00
Jordi Boggiano
7377d1f003
Uniformize command description format, fixes #10971
2022-08-16 10:41:07 +02:00
Jordi Boggiano
d0b60f115b
Merge pull request #10958 from Seldaek/signal_fixes
...
Signal handling improvements
2022-07-21 11:09:30 +02:00
Jordi Boggiano
8352ab8eb7
Expand test to avoid regressions
2022-07-21 11:08:41 +02:00
Jordi Boggiano
9fbc386a7b
Fix package selector warnings to only show for versions that were actually skipped, #10942
2022-07-21 11:06:13 +02:00
Jordi Boggiano
9d90bc649d
Fix tests
2022-07-20 22:53:57 +02:00
Jordi Boggiano
1a4f2174e4
Add seld/signal-handler dependency
2022-07-20 22:32:09 +02:00