Skip to content

fix: add updated signature for getenv #21129

fix: add updated signature for getenv

fix: add updated signature for getenv #21129

Triggered via pull request May 22, 2025 11:23
Status Failure
Total duration 3m 50s
Artifacts

static-analysis.yml

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

Annotations

57 errors
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.3): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan with result cache (8.3): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.3): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan with result cache (8.2): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.2): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan with result cache (8.4): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.4): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan with result cache (8.1): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.1): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.1, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.1, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.3, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.3, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.2, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.2, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.4, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.4, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Command/FixerApplication.php#L262
Cannot access offset 'PHPSTAN_PRO_TMP_DIR' on array<string, string>|string|false.
PHPStan (8.0, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L140
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getTestInputFile() should return string but returns array<string, string>|string.
PHPStan (8.0, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L155
Method PHPStan\Reflection\ReflectionProviderGoldenTest::getPhpSymbolsFile() should return string but returns array<string, string>|string.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.