Skip to content

Restrict accepted args of php_uname() #21934

Restrict accepted args of php_uname()

Restrict accepted args of php_uname() #21934

Triggered via pull request September 22, 2025 13:24
Status Failure
Total duration 3m 54s
Artifacts 5

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
PHAR Prefix Diff
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 1 notice
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/autoload-better-reflection php test.php )
The process '/usr/bin/bash' failed with exit code 1
extension-tests / Extension Tests (8.1, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
extension-tests / Extension Tests (8.5, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
extension-tests / Extension Tests (8.5, phpstan-mockery)
Process completed with exit code 2.
extension-tests / Extension Tests (8.3, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.3, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
extension-tests / Extension Tests (8.2, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
extension-tests / Extension Tests (8.0, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.0, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
extension-tests / Extension Tests (7.4, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L59
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/Compiler/LivewireTagCompiler.php#L116
Dead catch - RuntimeException is never thrown in the try block.
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
integration-tests / Integration - doctrine/dbal: tests/Tools/DsnParserTest.php#L35
Return type iterable<string, array{string, array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<mixed>, host?: string, ...}}> of method Doctrine\DBAL\Tests\Tools\DsnParserTest::databaseUrls() can be narrowed to iterable<string, array{string, array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<mixed>, host?: string, ...}}>.
integration-tests / Integration - doctrine/dbal: tests/Functional/Query/QueryBuilderTest.php#L340
Return type array<array<string, int|string>> of method Doctrine\DBAL\Tests\Functional\Query\QueryBuilderTest::prepareExpectedRows() can be narrowed to array<array<string, int>>.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit: src/Runner/ErrorHandler.php#L362
Return type list<array{file: string, line: int|null, class?: class-string, function?: string, type: string}> of method PHPUnit\Runner\ErrorHandler::errorStackTrace() can be narrowed to list<array{file: string, line: int, class?: class-string, function?: string, type: string}>.
integration-tests / Integration - sebastianbergmann/phpunit: src/Framework/TestBuilder.php#L153
Return type array{backupGlobals: bool|null, backupGlobalsExcludeList: list<string>, backupStaticProperties: bool|null, backupStaticPropertiesExcludeList: array<string, list<string>>} of method PHPUnit\Framework\TestBuilder::backupSettings() can be narrowed to array{backupGlobals: true|null, backupGlobalsExcludeList: list<string>, backupStaticProperties: true|null, backupStaticPropertiesExcludeList: array<string, list<string>>}.
extension-tests / Extension Tests (8.4, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-phpunit): src/Rules/PHPUnit/DataProviderHelper.php#L290
Return type array<string, array{PHPStan\Reflection\ClassReflection|null, string, int}>|null of method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() can be narrowed to array<string, array{PHPStan\Reflection\ClassReflection, string, int}>|null.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
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

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
572 Bytes
sha256:bad483cedb7b13f55c828a965ba0b5a69d1309eeb89fa67081bcae8056f84169
baselines-doctrine-dbal-baseline.neon
882 Bytes
sha256:d986ef6313fff54fa7f1cac73a82aff26dbd0295acd2aa87b9dad205477d0613
baselines-phpunit-baseline.neon
887 Bytes
sha256:859dd92c2dacce5eea7c5e571ad84e2b3ad90901006ee8f7c2358fa21d1a11e9
phar-file
3.67 MB
sha256:03ce56be68a2326ba595397d69fe0f6dc23692b326070cb1634771ffb51953ef
phar-file-checksum
3.67 MB
sha256:ca55fdd9d4fbcf3f93e1323179e638327d48dad4a0545b3d0fb7abb4aba9710c