Skip to content

Implement ArrayAccess->offsetExists narrowing #19442

Implement ArrayAccess->offsetExists narrowing

Implement ArrayAccess->offsetExists narrowing #19442

Triggered via pull request December 30, 2024 07:40
@staabmstaabm
synchronize #3760
staabm:access
Status Failure
Total duration 3m 42s
Artifacts 1

static-analysis.yml

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

Annotations

49 errors and 13 warnings
PHPStan (8.3, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.3, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.2): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan with result cache (8.2): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan with result cache (8.4): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.4, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan with result cache (8.4): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan with result cache (8.3): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.1, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.2, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan with result cache (8.1): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.0, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L49
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (7.4, ubuntu-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.1, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.2, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.4, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.3, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L53
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.0, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L64
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L49
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (7.4, windows-latest): src/Type/Php/ArrayAccessOffsetExistsMethodTypeSpecifyingExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate PHP baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.1, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.0, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (7.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "transformed-src". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
transformed-src
4.29 MB