Skip to content

Make dumpType() more consistent with PHPDoc types #17034

Make dumpType() more consistent with PHPDoc types

Make dumpType() more consistent with PHPDoc types #17034

Triggered via pull request October 8, 2024 17:43
Status Failure
Total duration 9m 2s
Artifacts 18

phar.yml

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

Annotations

105 errors
extension-tests / Extension Tests (7.2, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.3, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.0, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.2, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.3, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.3, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.0, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.3, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-symfony 1.4.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-webmozart-assert 1.2.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-nette 1.1.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-symfony 1.4.x)
Process completed with exit code 2.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.0
Process completed with exit code 1.
integration-tests / Integration - TomasVotruba/bladestan: src/Compiler/PhpContentExtractor.php#L35
Unreachable statement - code above always terminates.
integration-tests / Integration - TomasVotruba/bladestan: src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L15
Class TomasVotruba\Bladestan\TemplateCompiler\Rules\TemplateRulesRegistry extends @Final class PHPStan\Rules\DirectRegistry.
integration-tests / Integration - TomasVotruba/bladestan
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^10.28
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - larastan/larastan: stubs/10.0.0/Contracts/Database/Eloquent.stub#L10
PHPDoc tag @mixin contains generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModelClass
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Contracts\Redis\Factory.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Redis\RedisManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\Connection.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\ConnectionInterface.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\DatabaseManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\Queue.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\QueueManager.
integration-tests / Integration - larastan/larastan: stubs/common/Log/Logger.stub#L13
PHPDoc tag @mixin contains unknown class Monolog\Logger.
integration-tests / Integration - larastan/larastan: stubs/common/Pagination.stub#L10
Type mixed in generic type Illuminate\Support\Collection<mixed, mixed> in PHPDoc tag @mixin is not subtype of template type TKey of (int|string) of class Illuminate\Support\Collection.
integration-tests / Integration - larastan/larastan
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/LinkProcessor/LinkParamsProcessor.php#L1
Ignored error pattern #^Parameter \#1 \$value of static method PhpParser\\BuilderHelpers\:\:normalizeValue\(\) expects array\|bool\|float\|int\|PhpParser\\Node\\Expr\|string\|null, mixed given\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/LinkProcessor/LinkParamsProcessor.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
integration-tests / Integration - doctrine/persistence: tests/Persistence/Mapping/DriverChainTest.php#L76
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Doctrine\Tests…", "Doctrine\Tests\ORM…", "Doctrine\Tests\ORM…"} and array<int, class-string> will always evaluate to false.
integration-tests / Integration - doctrine/persistence: tests/Persistence/Mapping/DriverChainTest.php#L152
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Doctrine\Tests…", "Other\Class"} and array<int, class-string> will always evaluate to false.
integration-tests / Integration - doctrine/persistence: tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L78
Call to static method PHPUnit\Framework\Assert::assertSame() with non-empty-array<int, "Foo\Bar\subDirClass"|"Foo\global"|"Foo\stdClass"> and array<int, class-string> will always evaluate to false.
integration-tests / Integration - doctrine/persistence: tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L79
Call to static method PHPUnit\Framework\Assert::assertSame() with non-empty-array<int, "Foo\Bar\subDirClass"|"Foo\stdClass"> and array<int, class-string> will always evaluate to false.
integration-tests / Integration - doctrine/persistence: tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L123
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Foo\stdClass", "Foo\sub\subClass", "Foo\sub\subsub…"} and array<int, class-string> will always evaluate to false.
integration-tests / Integration - doctrine/persistence
Process completed with exit code 1.
integration-tests / Integration - reactphp/promise: src/Internal/FulfilledPromise.php#L61
Method React\Promise\Internal\FulfilledPromise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise: src/Promise.php#L99
Method React\Promise\Promise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise
Process completed with exit code 1.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/VariableHelper.php#L90
Offset 1 does not exist on array{0?: string, 1?: ''|"\", 2?: string}.
integration-tests / Integration - slevomat/coding-standard
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
extension-tests / Extension Tests (8.0, phpstan-doctrine 1.5.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.3, phpstan-doctrine 1.5.x)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-doctrine 1.5.x)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-doctrine 1.5.x)
Process completed with exit code 2.
integration-tests / Integration - sebastianbergmann/phpunit: src/TextUI/Configuration/SourceMapper.php#L33
No error with identifier assign.propertyType is reported on line 33.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / Integration - pmmp/PocketMine-MP: src/pocketmine/PocketMine.php#L247
Binary operation "." between array<int, mixed>|string|false and '/'|"\" results in an error.
integration-tests / Integration - pmmp/PocketMine-MP: src/pocketmine/PocketMine.php#L248
Binary operation "." between array<int, mixed>|string|false and '/'|"\" results in an error.
integration-tests / Integration - pmmp/PocketMine-MP
Process completed with exit code 1.
extension-tests / Extension Tests (8.1, phpstan-doctrine 1.5.x)
Process completed with exit code 2.
integration-tests / Integration - composer/composer: src/Composer/Autoload/AutoloadGenerator.php#L583
Method Composer\Autoload\AutoloadGenerator::parseAutoloads() should return array{'psr-0': array<string, array<string>>, 'psr-4': array<string, array<string>>, classmap: array<int, string>, files: array<string, string>, 'exclude-from-classmap': array<int, string>} but returns array{'psr-0': array<int|string, array<string>|string>, 'psr-4': array<int|string, array<string>|string>, classmap: array<int|string, array<string>|string>, files: array<int|string, array<string>|string>, 'exclude-from-classmap': array<int|string, array<string>|string>}.
integration-tests / Integration - composer/composer: src/Composer/InstalledVersions.php#L321
Call to function method_exists() with "Composer\Autoload…" and 'getRegisteredLoaders' will always evaluate to true.
integration-tests / Integration - composer/composer
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - PrestaShop/PrestaShop: config/config.inc.php#L70
Path in include_once() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/config/settings_custom.inc.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop: config/smarty.config.inc.php#L44
Path in include() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/classes/Smarty/SmartyCacheResourceMysql.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon Expired
393 Bytes
sha256:26683816b1a00dce1d41599b07c770cf3f3aea26e352e5e40ac3f21ad16e3ae0
baselines-composer-baseline.neon Expired
752 Bytes
sha256:3a7c004d2510c58fc7fe0d6f45b6832c47dd492e937af4d7338f8ccd8a804fa7
baselines-doctrine-persistence-baseline.neon Expired
531 Bytes
sha256:6fd837f98feddac0ab8d5b5d26b91df856080656168216b260057c5f23490253
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:a98376a7b72039ebe35216d1d0c6a4a3f46c852e85175ed5bd89c9429758516f
baselines-efabrica-phpstan-latte-baseline.neon Expired
829 Bytes
sha256:2ad652febf986e0943d3baf7a049ddd925a6e66dc7ca1f5bfd45804ce0dda9f0
baselines-larastan-baseline.neon Expired
160 Bytes
sha256:52211ea56e61aed29e736518f1b5916dcc9b2c0170ffd2f2a820b6c808a7d94e
baselines-laravel-types-baseline.neon Expired
200 Bytes
sha256:875b34b4a4b9965bad987e411f0e840c8235ddf53dd0a101b0ab1aac41ae48ff
baselines-magento-baseline.neon Expired
158 Bytes
sha256:f3f1b3d7087d0d40849cfb258773010c6c8ad9df027b4094982d0ca6869665da
baselines-phpunit-baseline.neon Expired
188 Bytes
sha256:836143500fbc93214d4796d88de2807c7ecfd671eeaa268d3cb2d226e258e1fb
baselines-pocketmine-baseline.neon Expired
1.48 KB
sha256:e9e9b7bb800d4e19c57532597d81f26c8da480c730d91825d448ebedbe341ff7
baselines-prestashop-baseline.neon Expired
11.7 KB
sha256:21ffea2302bdd1faee753b92203f8b3359f8bd27b5c76af26ea12df33b11f63f
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:f9439946c77dd525c9361939c9f2a2434733d623f44af5ec1a7ce155860e7777
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:66ac035b353e578f59053d4233d003bbea1399360066091cdeacf3c1c0cfbde6
baselines-slevomat-cs-baseline.neon Expired
419 Bytes
sha256:06fb5c05d2cf11252f700244f083e4c212764afe0b432fede4d15ad02861271a
phar-file Expired
3.47 MB
sha256:5494fd4eb294bdff6afcedc98d79ec9c50e614875d3d2410e32bccc0e91bf438
phar-file-checksum Expired
3.47 MB
sha256:0b3625ca74bac8792be797c4ed4d12c2f1dce42e745e7165ad273d21a2160b66
pocketmine-ng-baseline-8.1.neon Expired
988 Bytes
sha256:ba0b1b894452de4712f0fc1780109bb634ed87e1acfc8f14dd312d815662985f
pocketmine-ng-baseline-8.2.neon Expired
988 Bytes
sha256:1181e51aeebbcd8e4a28c91a120ae5dbbed16b0c585cc90a7a2a203c860b5819