Jordi Boggiano
ed08c40ab5
Fix phar build
3 years ago
Jordi Boggiano
96486d81cb
Fix many PHPStan issues and update baseline
3 years ago
Jordi Boggiano
6ed3aeb343
Remove setExpectedException wrapper
3 years ago
Jordi Boggiano
32dcb93f24
Update extra files for latest polyfill lib
3 years ago
Jordi Boggiano
ffd62795bc
Get rid of all the ->at() mock invocations
3 years ago
Jordi Boggiano
095c36ecf8
Fix some PHPStan errors/..
3 years ago
Jordi Boggiano
59603a357a
Remove PHPUnit direct require again
3 years ago
Jordi Boggiano
bf72afec44
Fix Symfony6 compat
3 years ago
Jordi Boggiano
2a771dfb2d
Update PHPUnit to 8.5
3 years ago
Jordi Boggiano
d2ede370be
Bump target version, bump PHP and dependency requirements to PHP 7.2+
3 years ago
Jordi Boggiano
99aeba541a
Improve PR template
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
Jordi Boggiano
3ed2295d22
Update changelog for 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
9e0721d53f
Update changelog
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
96ecc00a69
Update changelog
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
756c51d45e
Update changelog
3 years ago
Jordi Boggiano
188b692c4c
Add test verifying only plugin deps are autoloaded ( #10374 )
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
Jordi Boggiano
95e41ae61c
Fix phpstan
3 years ago