Fix PHP8.5 Warning: "unexpected NAN value was coerced to string" #21966
phar.yml
on: pull_request
Compiler Tests
1m 48s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 22s
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
Annotations
48 errors and 1 notice
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...
Process completed with exit code 1.
|
|
|
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/Lexer.php#L89
Undefined variable: $undefinedVariable
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L173
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L172
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
|
integration-tests / Integration - bladestan/bladestan:
src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L63
Possibly invalid array key type mixed.
|
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 - efabrica-team/phpstan-latte:
src/LatteTemplateResolver/Nette/NetteApplicationUIControl.php#L15
Return type array<'object'|class-string> of method Efabrica\PHPStanLatte\LatteTemplateResolver\Nette\NetteApplicationUIControl::getSupportedClasses() can be narrowed to array<class-string>.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/SetParametersToTemplateVariableCollector.php#L42
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\SetParametersToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AssignToTemplateVariableCollector.php#L52
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AssignToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AssignToArrayOfTemplateVariablesCollector.php#L50
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AssignToArrayOfTemplateVariablesCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/VariableCollector/AddToTemplateVariableCollector.php#L45
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\VariableCollector\AddToTemplateVariableCollector::collect() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedVariable>|null.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/Collector/TemplatePathCollector/SetFileTemplatePathCollector.php#L44
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|string>|null of method Efabrica\PHPStanLatte\LatteContext\Collector\TemplatePathCollector\SetFileTemplatePathCollector::collect() can be narrowed to array<string>|null.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/LatteContext/CollectedData/CollectedTemplateRender.php#L121
Return type array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedError|Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender> of method Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender::buildAll() can be narrowed to array<Efabrica\PHPStanLatte\LatteContext\CollectedData\CollectedTemplateRender>.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte3Compiler.php#L54
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte3Compiler::getFunctions() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte3Compiler.php#L47
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte3Compiler::getFilters() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte2Compiler.php#L97
Return type array<string, array{object|string, string}|(callable(): mixed)|string> of method Efabrica\PHPStanLatte\Compiler\Compiler\Latte2Compiler::getFunctions() can be narrowed to array<string, array{string, string}|(callable(): mixed)|string>.
|
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>>.
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...
Process completed with exit code 1.
|
|
|
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/Lexer.php#L89
Undefined variable: $undefinedVariable
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L173
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L172
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
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>>}.
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cms/Subscriber/CmsVersionMergeSubscriber.php#L53
Return type array<string, array<string, bool>> of method Shopware\Core\Content\Cms\Subscriber\CmsVersionMergeSubscriber::mapDeletedBlocks() can be narrowed to array<string, array<string, true>>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Promotion/Cart/PromotionDeliveryCalculator.php#L163
Return type array<bool> of method Shopware\Core\Checkout\Promotion\Cart\PromotionDeliveryCalculator::buildExclusions() can be narrowed to array<true>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Promotion/Cart/PromotionCalculator.php#L168
Return type array<bool> of method Shopware\Core\Checkout\Promotion\Cart\PromotionCalculator::buildExclusions() can be narrowed to array<true>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Payment/DataAbstractionLayer/PaymentMethodValidator.php#L29
Return type array<string, list<array{0: string, 1?: int}|int|string>|string> of method Shopware\Core\Checkout\Payment\DataAbstractionLayer\PaymentMethodValidator::getSubscribedEvents() can be narrowed to array<string, string>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Document/Service/DocumentConfigLoader.php#L42
Return type array<string, list<array{0: string, 1?: int}|int|string>|string> of method Shopware\Core\Checkout\Document\Service\DocumentConfigLoader::getSubscribedEvents() can be narrowed to array<string, string>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/RedisCartPersister.php#L102
Call to an undefined method Predis\ClientInterface|Redis|RedisArray|RedisCluster|Relay\Relay::set().
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/RedisCartPersister.php#L46
Call to an undefined method Predis\ClientInterface|Redis|RedisArray|RedisCluster|Relay\Relay::get().
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/Order/LineItemDownloadLoader.php#L62
Return type array<int, array<int, array{position: int, mediaId: string, accessGranted: bool}>> of method Shopware\Core\Checkout\Cart\Order\LineItemDownloadLoader::getLineItemDownloadPayload() can be narrowed to array<int, array<int, array{position: int, mediaId: string, accessGranted: false}>>.
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/Command/CartMigrateCommand.php#L204
Call to an undefined method Predis\ClientInterface|Redis|RedisArray|RedisCluster|Relay\Relay::set().
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/Command/CartMigrateCommand.php#L129
Call to an undefined method Predis\ClientInterface|Redis|RedisArray|RedisCluster|Relay\Relay::get().
|
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:a6521d0ead96266176cf63af5da3bdfd941456e5512022ebed0da331d28fb33f
|
|
baselines-doctrine-dbal-baseline.neon
|
882 Bytes |
sha256:9ddec590e4359fb23e8d78a5e056c76c4c49005bf5d15826105643772e3d19e6
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
902 Bytes |
sha256:6ac439ab4b75d320744d8d4e8e7b96848fd34abfd491f1feddeeaa8bd92bf757
|
|
baselines-phpunit-baseline.neon
|
887 Bytes |
sha256:3051f346f220060e5d60b25e58c1c588e1a87f9dcdf84dd0e875f0564b0837a9
|
|
baselines-shopware-baseline.neon
|
4.13 KB |
sha256:a3220d85722b8bc663268d8f2bede1566f617be5e96d358893b133bf3e9e830c
|
|
phar-file
|
3.67 MB |
sha256:94c0a93a9128e73d8ece5544cd8122b1075b4a7de7ee4f5dbf19ac6fb43a7fed
|
|
phar-file-checksum
|
3.67 MB |
sha256:deca6e35e130fc18b78efa6af4d7226d1f3edc50af3031d8289e34de922f4a41
|
|