1
0
Fork 0
Commit Graph

16 Commits (f1163bdbd4684953cc7f08fe7467ea2a35cb5950)

Author SHA1 Message Date
Stephan Jorek d54f2f21c5
Feature: Add support for autocompleting setting-keys in config-command (#11130)
* Add support for autocompleting setting-keys in config-command

This PR implements the support for autocompletion of setting-keys in the
config-command and its related funtional tests. The implementation takes
existing command-line options like `--unset` or `--global` into account, as
well as existing exposable package-properties. The result is a context-
sensitive auto-completion of individual lists of setting-keys.

Additionally showing the value `suggest.` sub-keys has been allowed in
the config-command, as setting and unsetting them has alwas been possible,
and I did not want to distinguish between showing, setting and unsetting
those keys.

In the setting-key flattening-method I used the `array_is_list()` function,
which was added in PHP 8.1 recently. For backwards PHP-compatiblity the
package `symfony/polyfill-php81` has been added.

Signed-off-by: Stephan Jorek <stephan.jorek@brandung.de>
2022-10-25 16:24:02 +02:00
Jordi Boggiano 1a4f2174e4
Add seld/signal-handler dependency 2022-07-20 22:32:09 +02:00
Jordi Boggiano 7d4d941392
Make use of new composer/class-map-generator package and build up BC layer 2022-06-19 14:02:24 +02:00
Jordi Boggiano cfb34416ec
Merge branch '2.2' into main 2022-03-29 22:00:45 +02:00
Jordi Boggiano 60616f9bd1
Fix tests 2022-03-29 21:27:43 +02:00
Jordi Boggiano 5122bd42fb
Merge branch '2.2' into main 2022-03-15 13:11:59 +01:00
Jordi Boggiano b3f99faff7
Fix tests 2022-03-09 21:39:18 +01:00
Jordi Boggiano ccd87c479c
Test fixes 2022-01-01 14:54:23 +01:00
Jordi Boggiano e496c3544c
Fix tests for new dep 2021-12-07 12:57:44 +01:00
Jordi Boggiano 8bf0ddf905
Clean up ZipDownloader, always do async first if possible then fallback to non-async 2021-06-02 15:13:19 +02:00
Jordi Boggiano 3e33cc1d93
Add new dep to the tests 2021-04-07 16:02:41 +02:00
Jordi Boggiano 7c910e6bfa
Revert autoload order fix, force bundled dependencies to be used over local dependencies, fixes #9721, fixes #9717 2021-02-24 14:55:13 +01:00
Jordi Boggiano 22e79684ee
Fix unzip missing support for testsuite 2021-02-17 23:51:08 +01:00
Jordi Boggiano f7e8f7625f
Remove plugin installer hackery 2021-02-17 23:21:18 +01:00
Jordi Boggiano 7267533690
Add one more InstalledVersions test for upgrades showing a known issue with plugin upgrades 2021-02-15 17:57:57 +01:00
Jordi Boggiano 27d0c5c3ef
Add test deficiencies in installed versions as the runtime autoloaders are not prepended and do not grant access to the latest data 2021-02-12 11:12:42 +01:00