Jordi Boggiano
b0665981c2
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch ( #10632 )
...
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568
* Allow ProcessExecutorMock to function with async calls
3 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
3 years ago
Jordi Boggiano
3cdca37e85
Fix strict type issues
3 years ago
Jordi Boggiano
7abc8da7d3
Add more types
3 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
3 years ago
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
3 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
3 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
3 years ago
Jordi Boggiano
86fb8d4412
Fix CS
3 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
3 years ago
Jordi Boggiano
5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 ( #10435 )
3 years ago
Jordi Boggiano
96486d81cb
Fix many PHPStan issues and update baseline
3 years ago
Jordi Boggiano
ffd62795bc
Get rid of all the ->at() mock invocations
3 years ago
Jordi Boggiano
44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS
3 years ago
jakobvibe
d06eb1ec3a
Fix types on mock tests ( #10230 )
...
* Fix types on mock tests
* Added $tty again
Co-authored-by: Jakob Vibe <jv@ipw.dk>
3 years ago
Jordi Boggiano
c3c6969cf5
Type annotations
3 years ago
Jordi Boggiano
d3c176ec69
PHPStan Level 5 ( #10070 )
...
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano
b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes
3 years ago
Jordi Boggiano
6aa2d15868
Introduce ProcessExecutorMock to fix deprecations and amount of mocking pain
3 years ago
Rob Bast
ef37b86c81
closes #1508 - updated tests
9 years ago
Chris Smith
97955a6ace
Mock ProcessExecutor
12 years ago