John Stevenson
db64534b26
Fixed bin proxies on PHP < 8 to support stream_seek ( #10468 )
2 years ago
Nicolas Grekas
6a70161c01
Disable "composer/package-versions-deprecated" by default ( #10458 )
2 years ago
Jordi Boggiano
6de9cacfd8
Remove unnecessary sprintf
2 years ago
Jordi Boggiano
d76485af74
Reverting release version changes
3 years ago
Jordi Boggiano
8a5ad75194
Release 2.2.4
3 years ago
Dane Powell
93d4c8e531
Fix #10366 : Improve messaging when GitHub tokens need SSO authorization ( #10432 )
3 years ago
Jordi Boggiano
24b62a1002
Add support for sourcing binaries despite the bin proxy being present, take 2
3 years ago
Jordi Boggiano
6dea58c9f3
Add support for sourcing binaries despite the bin proxy being present
...
Fixes https://github.com/composer/composer/issues/10389#issuecomment-1007372740
3 years ago
Jordi Boggiano
641ad10a9f
Fix partial update where path repos are being auto-unlocked two levels deep not loading all packages properly, fixes #10431
3 years ago
Jordi Boggiano
64d39a9655
Fix phpstan error
3 years ago
Jordi Boggiano
0b436de794
Fix last bit phpstan error
3 years ago
Jordi Boggiano
508ac051ec
Revert "Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795 "
...
This reverts commit 84f8fda0c6
.
And other issues fixed by PHPStan 1.3.2
3 years ago
Stephan
9360e2c18a
GitLab: detect repository functionality disabled in Driver ( #10440 )
3 years ago
Jordi Boggiano
cb41ad1d4b
Ensure process timeouts are checked also for async processes
3 years ago
Jordi Boggiano
c2cdc3eb71
Deduplicate code
3 years ago
Jordi Boggiano
8473592eda
Revert "Fix support for .jar binaries, fixes #10426"
...
This reverts commit fa65804c99
.
3 years ago
Jordi Boggiano
fa65804c99
Fix support for .jar binaries, fixes #10426
3 years ago
John Stevenson
4829a401d8
Fix symlink resolution in shell proxy ( #10412 )
3 years ago
Jordi Boggiano
d965c26c5c
Reverting release version changes
3 years ago
Jordi Boggiano
3c92ba5cdc
Release 2.2.3
3 years ago
Jason Woods
efc7a3f75f
fix: Do not optimise away packages due to a requirement by a locked package that will be uninstalled ( #10405 )
...
Fixes #10394
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano
75e4d30151
Fix warnings when some code reuses the phpvfscomposer:// stream wrapper to try and access other files, refs #10387
3 years ago
Jordi Boggiano
2cd16b4578
Suppress errors if realpath fails or is missing
3 years ago
Jordi Boggiano
390260c6a6
Resolve binary realpath to make sure symlinking bin proxies works, refs jakzal/phpqa#336
3 years ago
Jordi Boggiano
d1d5d75c5f
Fix detection of PHP files to match also broken ones with leading whitespace or whitespace between shebang and <?php, refs jakzal/phpqa#336
3 years ago
Jordi Boggiano
84f8fda0c6
Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795
3 years ago
Jordi Boggiano
09d1330937
Fix is_file() not working on the phpvfscomposer:// file when filtering phpunit backtraces, refs #10387
3 years ago
Jordi Boggiano
164a769dc6
Avoid returning actual fstat information as it induces modern PHPs in error when the returned file size is bigger than the fstat size, refs #10387
3 years ago
Jordi Boggiano
a2a8fa4e7e
Always exclude laminas/laminas-zendframework-bridge:src/autoload.php, fixes #10401
3 years ago
Jordi Boggiano
2a731ef798
Add workaround for PHPUnit process isolation issues for PHPUnit <6.5 as well, fixes #10387
3 years ago
Jordi Boggiano
0a85c3fb01
Reverting release version changes
3 years ago
Jordi Boggiano
2c1887d4f2
Release 2.2.2
3 years ago
Jordi Boggiano
4168ee9b69
Reformat plugin warning slightly, fixes #10381
3 years ago
Shyim
70425900e9
Fix symfony error handler warnings, fixes #10397 ( #10404 )
3 years ago
Jordi Boggiano
a8ed352b31
Add docs for the new bin-dir access and bump runtime-api, refs #10402
3 years ago
Jordi Boggiano
6f5baab77b
Make COMPOSER_BIN_DIR env or _composer_bin_dir global available to binaries, fixes #10389 ( #10402 )
3 years ago
Jordi Boggiano
c1c6698799
Fix phpunit workaround syntax
3 years ago
Jordi Boggiano
7d1ca1f56d
Add workaround for PHPUnit process isolation combined with bin proxies, fixes #10387
3 years ago
Jordi Boggiano
406075891d
Reverting release version changes
3 years ago
Jordi Boggiano
bbc265e165
Release 2.2.1
3 years ago
Jordi Boggiano
e1bf45aa80
Fix issue parsing php files with unterminated comments found inside backticks, fixes #10385
3 years ago
Jordi Boggiano
226689b90c
Fix plugin autoloading including files autoload rules from the root package, fixes #10382 ( #10386 )
3 years ago
Jordi Boggiano
25835bb5cd
Reverting release version changes
3 years ago
Jordi Boggiano
e174a4c432
Release 2.2.0
3 years ago
Jordi Boggiano
613980b039
Update baseline
3 years ago
Jérôme Tamarelle
f0060b7f56
Use web URLs for Gitlab support metadata ( #10377 )
3 years ago
Jordi Boggiano
54123e4093
Fix autoloader compatibility with older releases of laminas/laminas-zendframework-bridge, refs #10349
3 years ago
Jordi Boggiano
71ab70d847
Disable files autoloading for scripts to avoid untrusted code execution at runtime ( #10373 )
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
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