1
0
Fork 0
Commit Graph

176 Commits (ecb69eaa4aec3c2bd866d17ee7a46e684dc16f71)

Author SHA1 Message Date
Jordi Boggiano 2484602f8d
Update target version to 2.6 2023-02-04 14:57:31 +01:00
Ondřej Mirtes 2aa33aaafa
Update PHPStan (#11222)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-12-17 23:12:38 +01:00
Jordi Boggiano bd6a5019b3
Update to composer/pcre 2.1 (#11189) 2022-11-17 11:34:54 +01:00
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 9a69c12a07
Merge branch '2.4' 2022-09-01 21:53:56 +02:00
Ondrej Mirtes 9bb436ec28
Update PHPStan 2022-09-01 21:51:49 +02:00
Jordi Boggiano cd71cf47b3
Bump main to target 2.5 2022-08-20 13:13:59 +02:00
Jordi Boggiano d1f36f43c1
Update symfony deps 2022-07-30 22:14:03 +03:00
Jordi Boggiano 01a7bb8e5f
Use dev version of symfony/console until 5.4.11 is out 2022-07-22 12:45:48 +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 367012513d
Merge branch '2.3' into main 2022-06-06 16:49:52 +02:00
Markus Staab ab9e18027e
plugins: mention static analysis support (#10812) 2022-06-06 16:42:24 +02:00
Jordi Boggiano 11bf27933f
Update deps 2022-06-06 13:18:10 +02:00
Jordi Boggiano 96314b483c
Update target version to 2.4 2022-05-12 14:39:49 +02:00
Jordi Boggiano 5a54e0eb7a
Use new fixed compact table format 2022-04-27 21:18:32 +02:00
Jordi Boggiano 18246212db
Upgrade to composer/pcre 2.x 2022-02-26 14:02:11 +01:00
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2022-02-16 13:24:57 +01:00
Ondřej Mirtes a943aacd10
Update to PHPStan 1.4.1 (#10466) 2022-01-21 10:21:09 +01:00
Ondřej Mirtes cd34886e9d
Update to PHPStan 1.4 (#10459) 2022-01-17 15:18:33 +01:00
Simon Podlipsky 4a4571897f
Allow psr/log ^3.0 (#10454)
Same as in https://github.com/composer/composer/pull/10158
2022-01-13 13:01:32 +01:00
Jordi Boggiano 9466e68ac7
Require latest phpstan 2022-01-07 13:00:29 +01:00
Jordi Boggiano 9d6cf5835b
Merge pull request #10416 from Seldaek/update_deps
Allow xdebug-handler 3.x, update deps
2022-01-05 16:59:35 +01:00
Jordi Boggiano 5f0a3f49ed
Allow xdebug-handler 3.x, update deps 2022-01-05 16:54:32 +01:00
Jordi Boggiano 4e6d54b731
Fix all 5.3 $this-in-closure usages 2022-01-03 16:32:39 +01:00
Jordi Boggiano 22fed0d445
Get rid of prophecy usage 2022-01-01 14:54:22 +01:00
Jordi Boggiano ed08c40ab5
Fix phar build 2022-01-01 14:54:22 +01:00
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 2022-01-01 14:54:20 +01:00
Jordi Boggiano 59603a357a
Remove PHPUnit direct require again 2022-01-01 14:54:19 +01:00
Jordi Boggiano bf72afec44
Fix Symfony6 compat 2022-01-01 14:54:19 +01:00
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 2022-01-01 14:54:19 +01:00
Jordi Boggiano d2ede370be
Bump target version, bump PHP and dependency requirements to PHP 7.2+ 2022-01-01 14:54:18 +01:00
Jordi Boggiano ca5d5b40ee
Fix platform package description for replacer/provider and packages which are not really loaded in general 2021-12-07 13:24:09 +01:00
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2021-12-07 12:37:19 +01:00
Jordi Boggiano 2d92e2119a
Add deprecations checks 2021-12-07 09:33:45 +01:00
Jordi Boggiano f758da32c9
Merge branch '2.1' into main 2021-11-30 10:39:44 +01:00
Jordi Boggiano 42c2108956
Remove symfony/console ^6 compat as it is incorrect, fixes #10321 2021-11-30 10:31:39 +01:00
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
2021-11-14 20:42:24 +01:00
Jordi Boggiano 9e762a4f9a
Bump target to 2.2-dev 2021-11-09 16:04:08 +01:00
Matthew Davis fd5b1980a1
Allow psr/log ^2.0 (#10158) 2021-10-14 17:19:23 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
2021-08-21 17:41:52 +02:00
Jordi Boggiano de5f18d64b
Update IRC URL too in composer.json 2021-08-19 16:13:45 +02:00
Jordi Boggiano 2be03f0d60
More fixes for php8.1 deprecations 2021-07-22 12:42:01 +02:00
Jordi Boggiano 991985792d
Merge branch '2.0' 2021-05-20 14:16:52 +02:00
Jérémy Derussé 68f86be726
Allow Symfony 6.0 (#9896) 2021-05-20 09:42:21 +02:00
John Stevenson c3b76a8532
Upgrade to xdebug-handler 2 (#9832)
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.

Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
2021-04-13 09:59:06 +02:00
Jordi Boggiano a4eb2d4096
Merge branch '2.0' 2021-04-07 15:58:25 +02:00
Jordi Boggiano ddc3693725
Switch to composer/metadata-minifier, fixes #9727 2021-04-07 15:56:34 +02:00
Jordi Boggiano 1955f98937
Update target version to 2.1 2021-02-23 16:21:43 +01:00