Skip to content

Fix PHP 8.0 intersection-type CI failure, strengthen type-check coverage, and refresh PHP 8.0+ docs/CI matrix #255

Fix PHP 8.0 intersection-type CI failure, strengthen type-check coverage, and refresh PHP 8.0+ docs/CI matrix

Fix PHP 8.0 intersection-type CI failure, strengthen type-check coverage, and refresh PHP 8.0+ docs/CI matrix #255

Triggered via pull request April 24, 2026 23:48
Status Failure
Total duration 46s
Artifacts 3

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors
tests (8.3, basic)
Process completed with exit code 2.
tests (8.5, basic)
Process completed with exit code 2.
tests (8.4, basic)
Process completed with exit code 2.
tests (8.0, basic): src/Arrayy.php#L662
Method Arrayy\Arrayy::natcasesortImmutable() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns static(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L641
Method Arrayy\Arrayy::natcasesort() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns $this(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L623
Method Arrayy\Arrayy::ksortImmutable() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns static(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L597
Method Arrayy\Arrayy::ksort() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns $this(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L476
Parameter #2 $mode of function count expects 0|1, int given.
tests (8.0, basic): src/Arrayy.php#L422
Method Arrayy\Arrayy::asortImmutable() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns static(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L395
Method Arrayy\Arrayy::asort() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns $this(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L325
Method Arrayy\Arrayy::append() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns $this(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L279
Method Arrayy\Arrayy::add() should return static(Arrayy\Arrayy<TKey of (int|string), T>) but returns $this(Arrayy\Arrayy<TKey of (int|string), T>).
tests (8.0, basic): src/Arrayy.php#L277
Parameter #2 $value of method Arrayy\Arrayy<TKey of (int|string),T>::internalSet() expects T, array|T given.
tests (8.0, lowest): src/Arrayy.php#L1802
PHPDoc tag @phpstan-return has invalid value ($this<TKey,T>): Unexpected token "<", expected TOKEN_HORIZONTAL_WS at offset 265 on line 10
tests (8.0, lowest): src/Arrayy.php#L1769
Method Arrayy\Arrayy::flatten() return type has no value type specified in iterable type array.
tests (8.0, lowest): src/Arrayy.php#L1769
Method Arrayy\Arrayy::flatten() has parameter $items with no value type specified in iterable type array.
tests (8.0, lowest): src/Arrayy.php#L1038
Comparison operation "<" between int<80000, 80499> and 70400 is always false.
tests (8.0, lowest): src/Arrayy.php#L946
Call to function is_callable() with callable(T, T): int will always evaluate to true.
tests (8.0, lowest): src/Arrayy.php#L887
Comparison operation "<" between int<80000, 80499> and 70400 is always false.
tests (8.0, lowest): src/Arrayy.php#L851
Strict comparison using !== between non-empty-list<string> and false will always evaluate to true.
tests (8.0, lowest): src/Arrayy.php#L741
Strict comparison using !== between non-empty-list<string> and false will always evaluate to true.
tests (8.0, lowest): src/Arrayy.php#L476
Parameter #2 $mode of function count expects 0|1, int given.
tests (8.0, lowest): src/Arrayy.php#L277
Parameter #2 $value of method Arrayy\Arrayy<TKey of (int|string),T>::internalSet() expects T, array|T given.

Artifacts

Produced during runtime
Name Size Digest
logs_composer-basic_php-8.3
36.8 KB
sha256:e39e15c87f58e28231e9be47855a4f35e1acefd39dcc9daefbff9651b5dad1b2
logs_composer-basic_php-8.4
36.7 KB
sha256:85fed191b649cba813d2659bf55b3af631d5a61a7e7927ae81074b455dbd26c8
logs_composer-basic_php-8.5
37.1 KB
sha256:3f2e36ee1a9baf9e6a797debc8954fb7b47e2e1ded30713f40dfd82682fa199e