Skip to content

Add stream_socket_{client,server} stubs for @param-out #23217

Add stream_socket_{client,server} stubs for @param-out

Add stream_socket_{client,server} stubs for @param-out #23217

Triggered via pull request September 29, 2025 14:04
Status Failure
Total duration 5m 29s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 57s
Generate baseline
Generate PHP baseline
1m 54s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

124 errors and 7 notices
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.4, ubuntu-latest): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan with result cache (8.3): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan with result cache (8.3): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan with result cache (8.3): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan with result cache (8.2): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan with result cache (8.2): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan with result cache (8.2): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan with result cache (8.4): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan with result cache (8.4): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan with result cache (8.4): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.5, ubuntu-latest): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.3, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.3, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.3, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.2, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.2, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.2, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan with result cache (8.5): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan with result cache (8.5): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan with result cache (8.5): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.1, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.1, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.1, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.0, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.0, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.0, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (7.4, ubuntu-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.3, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.3, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.3, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.5, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.5, windows-latest): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.5, windows-latest): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.4, windows-latest): stubs/stream_socket_server.stub#L12
Deprecated in PHP 8.4: Parameter #5 $context (resource) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_server.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_server.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L13
Deprecated in PHP 8.4: Parameter #6 $context (resource) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L11
Deprecated in PHP 8.4: Parameter #4 $timeout (float) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L10
Deprecated in PHP 8.4: Parameter #3 $error_message (string) is implicitly nullable via default value null.
PHPStan (8.4, windows-latest): stubs/stream_socket_client.stub#L9
Deprecated in PHP 8.4: Parameter #2 $error_code (int) is implicitly nullable via default value null.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.2, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.2, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.2, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (7.4, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (7.4, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (7.4, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.1, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.1, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.1, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): stubs/stream_socket_server.stub#L13
Function stream_socket_server() has invalid return type resource.
PHPStan (8.0, windows-latest): stubs/stream_socket_server.stub#L12
Parameter $context of function stream_socket_server() has invalid type resource.
PHPStan (8.0, windows-latest): stubs/stream_socket_client.stub#L14
Function stream_socket_client() has invalid return type resource.
PHPStan (8.0, windows-latest): stubs/stream_socket_client.stub#L13
Parameter $context of function stream_socket_client() has invalid type resource.
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677