Jordi Boggiano
e0cce2bfb0
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714 , refs #10709
2 years ago
Jordi Boggiano
b03e9e414e
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
1cc23e1a8b
🤦♂️
3 years ago
Jordi Boggiano
6b330b7456
Fix tests
3 years ago
Jordi Boggiano
34fa266114
Fix windows build
3 years ago
Jordi Boggiano
0985501602
Fix windows build
3 years ago
Jordi Boggiano
dce63fdf4f
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
3 years ago
Stephan
ef12e42bdb
GitDriver: try to fetch default branch from remote ( #10687 )
...
The initial clone determined what the default branch of the cache git repository was. Changing it on the remote didn't have any impact on the local data. However, cloning it on a different machine would then store a different default branch on that machine. This could lead to different results for the same command on different machines.
3 years ago
Jordi Boggiano
9a42f69a99
Make test more resilient on slow windows CI
3 years ago
Jordi Boggiano
8e93566c18
Validate config schema before loading it, fixes #10685
3 years ago
Stephan
147c6a2f7e
Bitbucket: when OAuth consumer authentication fails mention that the `This is a private consumer` needs to be enabled ( #10678 )
3 years ago
Jordi Boggiano
146e036b58
Fix parsing of openssl versions with odd suffixes, refs #10631
3 years ago
Markus Staab
ccfbc16ac6
fix phpdoc type ( #10669 )
3 years ago
Jordi Boggiano
cfb34416ec
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
7eb8f92a93
Fix test
3 years ago
Jordi Boggiano
60616f9bd1
Fix tests
3 years ago
Jordi Boggiano
039701656f
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
2dbe66ad20
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 ( #10666 )
3 years ago
Jordi Boggiano
6bd75d5738
Update phpstan & baseline (2158, 104)
3 years ago
Stephan
854aab5f03
ArrayLoader: handle links where target is invalid numeric package name ( #10663 )
3 years ago
Stephan
9f8ee0e40a
ArrayLoader: fix integer index of branch alias ( #10660 )
3 years ago
Stephan
1daafb817d
ValidatingArrayLoader: only validate source/dist properties if they are set ( #10658 )
3 years ago
Stephan
61be158040
ArrayLoader: assert that source/dist reference are string values ( #10647 )
3 years ago
Jordi Boggiano
e63e15aea8
Fix usage of react/promise resolve() to prepare for v3
3 years ago
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
aad2f86edf
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
3 years ago
Jordi Boggiano
5122bd42fb
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
dbcdb4a903
Add test for circular depths of equal weight
3 years ago
Jordi Boggiano
f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614
3 years ago
Yanick Witschi
ced24da7b0
Fix PoolOptimizer should consider disjunctive MultiConstraints ( #10579 )
3 years ago
Jordi Boggiano
b3f99faff7
Fix tests
3 years ago
Jordi Boggiano
beb575dd00
Fix more issues, update baseline (2203/106)
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
0db443ba5f
Add visibility to all consts, fixes #10550
3 years ago
Jordi Boggiano
89ce53250e
Final type additions
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
Jordi Boggiano
fb854df124
Update phpstan config
3 years ago
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
3 years ago
Jordi Boggiano
84f0f19112
Split Composer into PartialComposer & Composer classes to avoid nullable properties on Composer for non-fully-loaded instances, add types to Composer\Factory
3 years ago
Jordi Boggiano
eda9014bef
Add return types to all code which is not being extended by open source packages
3 years ago
Jordi Boggiano
137ebddc25
Clean up useless mocks
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
32852304d0
Make use of some new PHP features
3 years ago
Jordi Boggiano
86fb8d4412
Fix CS
3 years ago
Jordi Boggiano
63b5f2737b
Merge branch '2.2' into main
3 years ago