31 Commits (3cdca37e8588d262efbb3b589f8a68eea73738a2)

Author SHA1 Message Date
Jordi Boggiano 3cdca37e85
Fix strict type issues 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 86fb8d4412
Fix CS 2 years ago
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
2 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
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
3 years ago
Jordi Boggiano cb0293cf30
Finalize phpstan level 6 for tests dir, closes #10159 3 years ago
Jordi Boggiano 91dd175f74
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930 3 years ago
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`.
3 years ago
Jordi Boggiano d8a5db4cbb
Fix tests 4 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Ion Bazan db32d6bc18 do not use env 4 years ago
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 5 years ago
Jordi Boggiano a403ee9b0e
Fix tests for reals 5 years ago
Jordi Boggiano 6fee17f16c
Fix tests, refs #8292 5 years ago
Jordi Boggiano b7d1f87848 Fix tests 5 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jordi Boggiano f420d31233 Fix application test 7 years ago
Jordi Boggiano 066550054b Fix tests 8 years ago
Jordi Boggiano cc793eff6f Clean up ApplicationTest 8 years ago
Jordi Boggiano 591cbcee12 Avoiding defining plugin commands using the local project plugins, refs #5277 8 years ago
Bilal Amarni 92207da83a add isProxyCommand() to BaseCommand 8 years ago
Jordi Boggiano b10074338c Fix tests 8 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Jordi Boggiano cf6cd83335 Use writeError for xdebug warning and fix running test suite with xdebug 9 years ago
Jordi Boggiano ebffb3c179 Move improvements towards reproducible builds, refs #3927 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Craig Duncan 647625ddc5 Added some tests for the dev version warning 10 years ago