Fix #12244: $this(Type~Subtracted) does not work on conditional return type as Type~Subtracted
#25558
phar.yml
on: pull_request
Compiler Tests
2m 14s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 11s
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
39 errors and 3 warnings
|
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
|
|
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
|
|
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #4 ($storage) must be of type PHPStan\Analyser\ExpressionResultStorage, Closure given, called in /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 239 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Compatibility/BackwardCompatibilityChecker.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
|
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Resolver/ValueResolver/ValueResolver.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/NodeVisitor/Behavior/ComponentsNodeVisitorBehavior.php (in context of class Efabrica/PHPStanLatte/Compiler/NodeVisitor/AddTypeToComponentNodeVisitor)#L76
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/Compiler/Latte3Compiler.php#L35
Call to function is_array() with list<Latte\Extension> will always evaluate to true.
|
|
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1449
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\AssociationMapping::fromMappingArray() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1448
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ManyToManyOwningSideMapping::fromMappingArrayAndNamingStrategy() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1440
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\OneToManyAssociationMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1432
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneOwningSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1428
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneInverseSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1422
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneOwningSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - Roave/BetterReflection
Process completed with exit code 1.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 2 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/dbal:
src/Driver/PDO/SQLSrv/Driver.php#L98
Only booleans are allowed in a ternary operator condition, mixed given.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L741
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L740
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L739
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/command/defaults/WhitelistCommand.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
integration-tests / PMMP Tests:
src/command/defaults/WhitelistCommand.php#L91
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
integration-tests / PMMP Tests:
src/command/defaults/TeleportCommand.php#L101
Casting to *NEVER* something that's already *NEVER*.
|
|
integration-tests / PMMP Tests:
src/command/defaults/TeleportCommand.php#L100
Casting to *NEVER* something that's already *NEVER*.
|
|
integration-tests / PMMP Tests:
src/Server.php#L1192
Cannot cast mixed to string.
|
|
integration-tests / PMMP Tests:
src/Server.php#L758
Ignored error pattern #^Cannot cast mixed to string\.$# (cast.string) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Server.php is expected to occur 1 time, but occurred 2 times.
|
|
integration-tests / PMMP Tests:
build/generate-block-serializer-consts.php#L181
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
|
|
integration-tests / Integration - laravel/framework:
src/Illuminate/Mail/Mailable.php#L268
No error with identifier callable.nonNativeMethod is reported on line 268.
|
|
integration-tests / Integration - laravel/framework:
src/Illuminate/Http/Client/PendingRequest.php#L1081
Variable $shouldRetry on left side of ?? always exists and is always null.
|
|
integration-tests / Integration - laravel/framework:
src/Illuminate/Foundation/Console/RouteListCommand.php#L406
Variable $action on left side of ?? always exists and is not nullable.
|
|
integration-tests / Integration - shopware/shopware
Canceling since a higher priority waiting request for phar-refs/pull/5104/merge exists
|
|
integration-tests / Integration - shopware/shopware
The operation was canceled.
|
|
integration-tests / Integration - drupal/drupal
Canceling since a higher priority waiting request for phar-refs/pull/5104/merge exists
|
|
integration-tests / Integration - drupal/drupal
The operation was canceled.
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/5104/merge exists
|
|
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/5104/merge exists
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34107 , Maximum supported length: 32766
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34107 , Maximum supported length: 32766
|
|
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict
composer install
cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34107 , Maximum supported length: 32766
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-better-reflection-baseline.neon
|
363 Bytes |
sha256:6ddbcf3c18f15d047d91214da04d41e1854248040faee363d8186d21c9aa7349
|
|
|
baselines-doctrine-dbal-baseline.neon
|
1010 Bytes |
sha256:7b470e37c226af597b01b2e1754cfbffa1cfc4480c0c1fb4626ca219221d3a70
|
|
|
baselines-doctrine-orm-baseline.neon
|
1.16 KB |
sha256:d287ae1ab3781788afcd215107ff87190afe8b010b70c7dd87c918900d3cfbad
|
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
706 Bytes |
sha256:75f1fd087a66dfe6376c594ccad699c0b205f6c2bf4a77c9a1802a946166e262
|
|
|
baselines-laravel-baseline.neon
|
384 Bytes |
sha256:9234a969517e9d1322a1cb24d127d830003616bda8e2d82635861a50b8db4e3c
|
|
|
baselines-shipmonk-dead-code-detector-baseline.neon
|
228 Bytes |
sha256:d1687a866016b13adc918333ed011f3224b325276446003469bfd0250bc29e21
|
|
|
phar-file
|
3.74 MB |
sha256:ae3474330d404f8fa11f61bec9528849663e7da3a1145d1867f2ed0af4c1d5be
|
|
|
phar-file-checksum
|
3.74 MB |
sha256:dc699136353f5482786cd967500911cf96017256ff5fcbdaf4d48d94fe640154
|
|
|
pocketmine-ng-baseline.neon
|
1.23 KB |
sha256:0fbfe7ee05ded32e0c56d809ffd3198b3843c5a0099018c6f19eff781c2ce093
|
|