Skip to content

Support iterable as template type #20935

Support iterable as template type

Support iterable as template type #20935

Triggered via pull request May 11, 2025 17:44
Status Failure
Total duration 3m 52s
Artifacts

static-analysis.yml

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

Annotations

101 errors
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.2): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan with result cache (8.2): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.2): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.2): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan with result cache (8.1): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.1): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.1): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan with result cache (8.3): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.3): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.3): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.1, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.0, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan with result cache (8.4): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.4): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.4): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L213
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L247
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L272
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L176
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L210
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, ubuntu-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L235
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.1, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (8.0, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L199
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L233
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L258
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L213
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L247
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L272
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Type/Generic/TemplateTypeFactory.php#L111
Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
PHPStan (7.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L176
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L210
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, windows-latest): src/Type/Generic/TemplateTypeTrait.php (in context of class PHPStan/Type/Generic/TemplateIterableType)#L235
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.