Skip to content

Improve StrSplit returnType #21479

Improve StrSplit returnType

Improve StrSplit returnType #21479

Triggered via pull request June 12, 2025 23:24
Status Cancelled
Total duration 3m 53s
Artifacts

static-analysis.yml

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

Annotations

46 errors
Generate baseline
Process completed with exit code 2.
Generate PHP baseline
Process completed with exit code 2.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.1)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest)
Internal error: Argument 1 passed to PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding() must be of the type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 79 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest)
Internal error: Argument 1 passed to PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding() must be of the type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 84 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest)
Internal error: Argument 1 passed to PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding() must be of the type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 84 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Internal error: Argument 1 passed to PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding() must be of the type string, null given, called in D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php on line 79 while analysing file D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (8.1, windows-latest)
The operation was canceled.
PHPStan (8.1, windows-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (7.3, windows-latest)
The operation was canceled.
PHPStan (7.3, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (8.0, windows-latest)
The operation was canceled.
PHPStan (8.0, windows-latest)
Internal error: PHPStan\Type\Php\StrSplitFunctionReturnTypeExtension::isSupportedEncoding(): Argument #1 ($encoding) must be of type string, null given, called in D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php on line 77 while analysing file D:\a\phpstan-src\phpstan-src\src\Type\Php\StrSplitFunctionReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (8.4, windows-latest)
The operation was canceled.
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (7.2, windows-latest)
The operation was canceled.
PHPStan (7.2, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
PHPStan (8.3, windows-latest)
The operation was canceled.
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for sa-strSplit exists
Static Analysis
Canceling since a higher priority waiting request for sa-strSplit exists