Jordi Boggiano
65765a148a
Explicitly deprecate misuse of the link setters to enforce the fact they expect maps ( #10281 )
2021-11-12 21:38:08 +01:00
Jordi Boggiano
903173ead5
Fix 8.1-lowest build
2021-11-12 16:48:51 +01:00
Jordi Boggiano
ce2a40b259
List identical/compatible removed versions in problem output as if they had not been removed
2021-11-11 16:13:25 +01:00
Yanick Witschi
34183f49f9
Implemented PoolOptimizer
2021-11-11 16:13:24 +01:00
Martin Herndl
7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 ( #10083 )
2021-11-11 15:56:38 +01:00
Stephan
44c5b6cde6
Config: add source option for command to show where a config value is loaded from ( #10129 )
2021-11-11 15:17:58 +01:00
Martin Herndl
3013674c92
Refactor ignore platform reqs checks ( #10079 )
...
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour.
2021-11-11 12:24:12 +01:00
Jordi Boggiano
6aa8a466b7
Fix tests
2021-11-10 22:10:36 +01:00
Raphael de Almeida
150acc5559
Removed HgBitbucketDriver support ( #10248 )
2021-11-10 21:58:03 +01:00
Jordi Boggiano
b09a39f9c8
Error out on recursive links in validating loader and ignore them in regular loader
2021-11-10 11:10:52 +01:00
Jordi Boggiano
bd4d624cc7
Read first from $_SERVER and $_ENV before using getenv ( #10218 )
2021-11-09 16:31:27 +01:00
Martin Herndl
5b47fa1896
Add back abandoned key in repository search results ( #10259 )
2021-11-08 10:27:45 +01:00
Jordi Boggiano
cb0293cf30
Finalize phpstan level 6 for tests dir, closes #10159
2021-11-02 14:32:09 +01:00
Jordi Boggiano
90087b4fb3
Fix handling of php bin proxies combined with declare() on php <8, fixes #10246 ( #10249 )
2021-11-02 11:36:31 +01:00
Martin Herndl
bcbd8fdb61
Add types to `Package` tests ( #10245 )
2021-11-01 21:44:12 +01:00
megubyte
a155c076db
phpstan: update tests/Composer/Test/DependencyResolver/* to level 6 standard ( #10242 )
2021-10-30 10:30:36 +02:00
megubyte
8b7e2b600d
phpstan: update tests/Composer/Test/Downloader/* to level 6 standard ( #10238 )
2021-10-30 10:21:50 +02:00
Martin Herndl
96370657b8
Fix phpstan return type in `SvnTest::urlProvider` ( #10233 )
2021-10-28 10:00:25 +02:00
Martin Herndl
a861d66469
Add types to `EventDispatcher` tests ( #10235 )
2021-10-27 20:35:16 +02:00
Martin Herndl
467fe3c1be
Add types to `Config` tests ( #10234 )
2021-10-27 20:34:48 +02:00
Jordi Boggiano
e5fc8a9c72
Fix phpstan error
2021-10-27 16:51:16 +02:00
Jordi Boggiano
f8ad0bb3d1
Add types to the base TestCase
2021-10-27 16:37:20 +02:00
Jordi Boggiano
44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS
2021-10-27 16:21:45 +02:00
Jordi Boggiano
c65d09dff7
Fix @inheritDoc annotations
2021-10-27 16:18:53 +02:00
Martin Herndl
2992e8651a
Add types to `Util` tests ( #10228 )
2021-10-27 16:18:46 +02:00
Martin Herndl
d51c7685da
Add types to `Repository` tests ( #10227 )
2021-10-27 15:29:52 +02:00
jakobvibe
d06eb1ec3a
Fix types on mock tests ( #10230 )
...
* Fix types on mock tests
* Added $tty again
Co-authored-by: Jakob Vibe <jv@ipw.dk>
2021-10-27 14:56:39 +02:00
jakobvibe
1ba1463013
Added types to plugin test ( #10231 )
...
Co-authored-by: Jakob Vibe <jv@ipw.dk>
2021-10-27 14:52:34 +02:00
megubyte
c2a2198089
phpstan: update tests/Composer/Test/Installer/* to level 6 standard ( #10225 )
2021-10-27 14:41:30 +02:00
jakobvibe
f667c7b8de
Add types to tests/composer/test/json ( #10222 )
...
Co-authored-by: Jakob Vibe <jv@ipw.dk>
2021-10-27 11:37:51 +02:00
megubyte
135f806f6f
phpstan: update tests/Composer/Test/Autoload/* to level 6 standard ( #10223 )
2021-10-26 21:48:56 +02:00
Martin Herndl
3d5a100018
Add types to `Question` tests ( #10219 )
2021-10-26 21:17:28 +02:00
Martin Herndl
79da1c266e
Add types to `Script` tests ( #10220 )
2021-10-26 21:08:54 +02:00
Christian
4071125172
Added return type docs ( #10221 )
2021-10-26 21:05:03 +02:00
Cédric Anne
a7686e82f0
Filter candidates requiring an unknown platform package; fixes #10167 ( #10184 )
2021-10-26 17:24:17 +02:00
Martin Herndl
bd8b39fe01
Add types to `Package` ( #10210 )
2021-10-25 13:45:09 +02:00
Martin Herndl
aa4c2ab63c
Add types to `Plugin` ( #10194 )
2021-10-25 11:02:54 +02:00
Paolo Rossi
a921d9b233
Reaching phpstan level 6 in EventDispatcher Exception and Installer folders ( #10192 )
2021-10-25 10:44:29 +02:00
immeëmosol
50d738eeee
Reaching phpstan level 6 in Composer/DependencyResolver (refs #10159 ) ( #10178 )
2021-10-18 22:33:37 +02:00
Jordi Boggiano
a6f1e803b1
Use more BasePackage instead of PackageInterface
2021-10-17 14:43:34 +02:00
Jordi Boggiano
9599eb613b
Type annotations
2021-10-16 11:14:10 +02:00
Jordi Boggiano
c3c6969cf5
Type annotations
2021-10-16 10:25:12 +02:00
Jordi Boggiano
97fe881af4
Add some docblocks
2021-10-15 16:36:28 +02:00
Jordi Boggiano
135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies
2021-10-15 13:37:02 +02:00
Jordi Boggiano
260ac0011c
Add constants to describe error codes from Installer::run
2021-10-14 15:12:06 +02:00
Jordi Boggiano
cf7fa7087c
Fix test
2021-10-13 22:23:18 +02:00
Jordi Boggiano
2828ce59cf
Merge branch '1.10'
2021-10-13 22:12:54 +02:00
John Stevenson
906442117c
Carriage returns are ignored by cmd
2021-10-13 14:54:37 +01:00
John Stevenson
0783b043d2
Fix Windows escaping in tests
2021-10-10 17:02:22 +01:00
John Stevenson
8f974fe741
Improve Windows escaping
2021-10-10 16:24:49 +01:00