Jordi Boggiano
0db443ba5f
Add visibility to all consts, fixes #10550
2 years ago
Jordi Boggiano
89ce53250e
Final type additions
2 years ago
Jordi Boggiano
7abc8da7d3
Add more types
2 years ago
Jordi Boggiano
225b4d7c27
Add some more return types
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Alexander Schranz
1321bfca36
Add return types to closures ( #9 )
2 years ago
Jordi Boggiano
eda9014bef
Add return types to all code which is not being extended by open source packages
2 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2 years ago
Jordi Boggiano
32852304d0
Make use of some new PHP features
2 years ago
Jordi Boggiano
86fb8d4412
Fix CS
2 years ago
Jordi Boggiano
63b5f2737b
Merge branch '2.2' into main
2 years ago
Stephan
3eb12efae5
VcsRepositories: handle initialize with invalid repository URL ( #10525 )
2 years ago
Jordi Boggiano
45218092b4
Merge branch '2.2' into main
2 years ago
Stephan
23b0a3819b
ComposerRepository: fix array_keys(): Argument #1 () must be of type array, null given ( #10529 )
2 years ago
Volodymyr Panivko
a0b0ddcd73
Add config option for update reference in path repository ( #10488 )
2 years ago
Jordi Boggiano
3446091027
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
8053d794a8
Fix reinstall command not firing pre-install-cmd/post-install-cmd events, fixes #10508 ( #10514 )
2 years ago
Florian Engelhardt
3d82719b70
Fix package search not urlencoding the input ( #10500 )
2 years ago
Markus Staab
6be6ce7d9f
update composer/pcre to 1.0.1 ( #10496 )
2 years ago
Jordi Boggiano
2da8d886cc
Make code a bit more robust
2 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
af6013093f
Ignore phar files in artifact repo, fixes #10406
2 years ago
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2 years ago
Jordi Boggiano
f1568f1f8f
Merge branch '2.2' into main
3 years ago
Stephan
9360e2c18a
GitLab: detect repository functionality disabled in Driver ( #10440 )
3 years ago
Jordi Boggiano
f9d61c0665
Add links to repo to fund/licenses/search commands and add links to docs to config command
3 years ago
Jordi Boggiano
7e50f37b87
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper
3 years ago
Jordi Boggiano
4e6d54b731
Fix all 5.3 $this-in-closure usages
3 years ago
Jordi Boggiano
7e27a25070
Get rid of RetutnTypeWillChange where possible, fixes #10014
3 years ago
Jérôme Tamarelle
f0060b7f56
Use web URLs for Gitlab support metadata ( #10377 )
3 years ago
Jordi Boggiano
24eac88321
Switch the default version in path repo packages to dev-main and add a dev-master alias for BC, fixes #10360 ( #10372 )
3 years ago
Jordi Boggiano
cc32ebcabd
Search improvements ( #10336 )
...
* Search performance improvements, add SEARCH_VENDOR type, fixes #10326 , fixes #10324 , fixes #10325
* Add extra optimization path for autocompletion of ^foo/* whereas the vendor is fully known, refs #10320
3 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
Jordi Boggiano
b42a897ebe
Fix var name
3 years ago
Jordi Boggiano
128a2648fb
Optimize name only search with preg_grep, refs #10326
3 years ago
Jordi Boggiano
7c8267f57c
Cache root packages.json, refs #10326
3 years ago
Stephan
f5ffedfe60
Fix VcsDrivers initialization of tags and branches, and VcsRepository swallowing exceptions ( #10319 )
...
* Drivers: avoid early initialize of tags and branches
* VcsRepository: do not continue if fetching root information fails because of unexpected exceptions
Also rethrow 5XX exception in addition to select 4XX exceptions
3 years ago
Helmut Hummel
ace8a1776c
Add composer platform package with exact Composer version ( #10313 )
...
Co-authored-by: Lars Strojny <lars.strojny@internations.org>
Co-authored-by: Nils Adermann <naderman@naderman.de>
3 years ago
Jordi Boggiano
91548d178b
Add support for setting platform packages to false to disable them ( #10308 )
...
Fixes #9664
3 years ago
Jordi Boggiano
032db5bc01
Fix tests
3 years ago
Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Jordi Boggiano
61b50cb7ec
Remove hack from ComposerRepository, fixes #9297
3 years ago
Jordi Boggiano
65765a148a
Explicitly deprecate misuse of the link setters to enforce the fact they expect maps ( #10281 )
3 years ago
Yanick Witschi
34183f49f9
Implemented PoolOptimizer
3 years ago
Martin Herndl
7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 ( #10083 )
3 years ago
Stephan
012556daee
VcsRepository: limit type of versionTransportExceptions ( #10275 )
3 years ago
Jordi Boggiano
68847ed609
Tweak bitbucket driver to uniformize regexes
3 years ago
Jordi Boggiano
ba1814f306
Added retry behavior for certain http status and curl error codes ( #10162 )
3 years ago
Jordi Boggiano
cda7863f20
Get rid of the abstract BitbucketDriver class, fixes #9856
3 years ago