Jordi Boggiano
|
7e50f37b87
|
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper
|
3 years ago |
Niels Vanpachtenbeke
|
1c928466a9
|
Remove code blocks for php <7.2 compatibility (#10417)
|
3 years ago |
Jordi Boggiano
|
4e6d54b731
|
Fix all 5.3 $this-in-closure usages
|
3 years ago |
Jordi Boggiano
|
0b3adc84da
|
Fix a few phpstan errors and add a php8+ baseline for the rest
|
3 years ago |
Jordi Boggiano
|
ccd87c479c
|
Test fixes
|
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
|
ffd62795bc
|
Get rid of all the ->at() mock invocations
|
3 years ago |
Jordi Boggiano
|
2a771dfb2d
|
Update PHPUnit to 8.5
|
3 years ago |
Jordi Boggiano
|
e96656d850
|
Fix tests on windows
|
3 years ago |
Jordi Boggiano
|
7e3626362e
|
Add support for warnings/infos keys to report more complex information to diverse Composer versions
|
3 years ago |
Martin Herndl
|
96370657b8
|
Fix phpstan return type in `SvnTest::urlProvider` (#10233)
|
3 years ago |
Jordi Boggiano
|
44b69ba77f
|
Upgrade php-cs-fixer to 3.x and fix CS
|
3 years ago |
Martin Herndl
|
2992e8651a
|
Add types to `Util` tests (#10228)
|
3 years ago |
Jordi Boggiano
|
c3c6969cf5
|
Type annotations
|
3 years ago |
Jordi Boggiano
|
2828ce59cf
|
Merge branch '1.10'
|
3 years ago |
John Stevenson
|
906442117c
|
Carriage returns are ignored by cmd
|
3 years ago |
John Stevenson
|
0783b043d2
|
Fix Windows escaping in tests
|
3 years ago |
John Stevenson
|
8f974fe741
|
Improve Windows escaping
|
3 years ago |
Jordi Boggiano
|
18e24976c1
|
Merge branch '1.10'
|
3 years ago |
Jordi Boggiano
|
ca5e2f8d50
|
Fix escaping issues on Windows which could lead to command injection, fixes GHSA-frqg-7g38-6gcf
|
3 years ago |
Jordi Boggiano
|
f4e2b389a1
|
Fix test
|
3 years ago |
Jordi Boggiano
|
d3c176ec69
|
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
|
3 years ago |
Jordi Boggiano
|
a586a753df
|
Fix all remaining php8.1 test suite deprecations
|
3 years ago |
Jordi Boggiano
|
0b09e08f4b
|
Fix direct deprecations
|
3 years ago |
Stephan
|
c65bd832d6
|
Url: fix sanitize for new github tokens (#10048)
|
3 years ago |
Jordi Boggiano
|
10ae1d7b08
|
Fix some PHP 8.1 deprecation warnings, fixes #10008
|
3 years ago |
Jordi Boggiano
|
cc81f5bac3
|
Fix support for UNC paths in normalizePath, refs #9993
|
3 years ago |
Jordi Boggiano
|
1b34495daa
|
Some phpstan level 4 fixes
|
3 years ago |
Jordi Boggiano
|
40c7a725e1
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
332c46af8b
|
Merge pull request from GHSA-h5h8-pc6h-jvvx
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
|
3 years ago |
Jordi Boggiano
|
083b73515d
|
Merge pull request from GHSA-h5h8-pc6h-jvvx
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
|
3 years ago |
Jordi Boggiano
|
4940009f83
|
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
|
4 years ago |
Jordi Boggiano
|
40800df6bd
|
Fix CS
|
4 years ago |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
4 years ago |
Andrés De la Cruz
|
480a6439fd
|
Fix phpstan phpdocs issues (#9478)
|
4 years ago |
Stephan Vock
|
d97c37f103
|
Zip: ignore mac osx specific folder when searching for composer.json
|
4 years ago |
johnstevenson
|
2a913c7a68
|
Improve proxy error messages for streams
|
4 years ago |
Jordi Boggiano
|
62eff8e979
|
Tweaks to new proxying code, refs #9324
|
4 years ago |
johnstevenson
|
d47261eb93
|
Refactor proxy handling for Composer2
|
4 years ago |
Nils Adermann
|
e868996bdd
|
Validate: Warn about providing or replacing packages you require
|
4 years ago |
Jordi Boggiano
|
8564dd8dac
|
Allow Url::sanitize to escape URLs without scheme
|
4 years ago |
johnstevenson
|
8feb83b22b
|
Remove duplicate StreamContextFactory ssl options
Added in Dec 2014 (commit 8dad846 ), superseded in Jan 2016 (pr #4759)
|
4 years ago |
Nils Adermann
|
6409ed0fc2
|
Validate: Warn about providing or replacing packages you require
|
4 years ago |
Jordi Boggiano
|
c01e3bd2f0
|
Make async test more robust
|
4 years ago |
Simon Berger
|
80d71ccb3f
|
Merged isset, unset and str_replace calls
|
4 years ago |
Simon Berger
|
80a75e9959
|
Minor code improvements
|
4 years ago |
Jordi Boggiano
|
d942c65e0c
|
Fix more warnings
|
4 years ago |
Jordi Boggiano
|
1593b67230
|
Fix warnings on higher phpunit versions
|
4 years ago |
Simon Berger
|
f3936b82cd
|
Added test to cancel ProcessExecutor::asyncExecute
|
4 years ago |