HttpDownloader: add option to prevent access to private network #4463
Annotations
13 errors
PHPStan (8.1, true):
src/Composer/Package/Dumper/ArrayDumper.php#L81
Parameter #1 $array of function ksort expects array, array|string given.
|
PHPStan (8.1, true):
src/Composer/Util/Http/CurlDownloader.php#L510
Only booleans are allowed in &&, mixed given on the right side.
|
PHPStan (8.1, true):
src/Composer/Util/Http/CurlDownloader.php#L512
Access to constant PRIVATE_SUBNETS on an unknown class Symfony\Component\HttpFoundation\IpUtils.
|
PHPStan (8.1, true):
src/Composer/Util/Http/CurlDownloader.php#L512
Call to static method checkIp() on an unknown class Symfony\Component\HttpFoundation\IpUtils.
|
PHPStan (8.1, true):
src/Composer/Util/Http/CurlDownloader.php#L512
Only booleans are allowed in &&, (array<int, array<string, string>>|float|int|string|null) given on the left side.
|
PHPStan (8.1, true):
src/Composer/Util/RemoteFilesystem.php#L252
Only booleans are allowed in an if condition, mixed given.
|
PHPStan (8.1, true)
Process completed with exit code 1.
|
PHPStan (7.2, false):
src/Composer/Util/Http/CurlDownloader.php#L510
Only booleans are allowed in &&, mixed given on the right side.
|
PHPStan (7.2, false):
src/Composer/Util/Http/CurlDownloader.php#L512
Access to constant PRIVATE_SUBNETS on an unknown class Symfony\Component\HttpFoundation\IpUtils.
|
PHPStan (7.2, false):
src/Composer/Util/Http/CurlDownloader.php#L512
Call to static method checkIp() on an unknown class Symfony\Component\HttpFoundation\IpUtils.
|
PHPStan (7.2, false):
src/Composer/Util/Http/CurlDownloader.php#L512
Only booleans are allowed in &&, (array<int, array<string, string>>|float|int|string|null) given on the left side.
|
PHPStan (7.2, false):
src/Composer/Util/RemoteFilesystem.php#L252
Only booleans are allowed in an if condition, mixed given.
|
PHPStan (7.2, false)
Process completed with exit code 1.
|