[GH-16] Allow extending Result\Ok & Result\Err (#17) #84
Annotations
12 errors
build (8.1):
src/Result/Err.php#L126
Return type (TH\Maybe\Result\Err<T, E>) of method TH\Maybe\Result\Err::inspect() should be covariant with return type ($this(TH\Maybe\Result<T, E>)) of method TH\Maybe\Result<T,E>::inspect()
|
build (8.1):
src/Result/Ok.php#L194
Method TH\Maybe\Result\Ok::map() return type with generic class TH\Maybe\Result\Ok does not specify its types: T, E
|
build (8.1):
src/Result/Ok.php#L194
PHPDoc tag @return with type TH\Maybe\Result<U, E> is not subtype of native type TH\Maybe\Result\Ok.
|
build (8.1):
tests/Provider/Results.php (in context of class TH/Maybe/Tests/Unit/Result/BooleanTest)#L80
Method TH\Maybe\Tests\Unit\Result\BooleanTest::resultClasses() return type with generic interface TH\Maybe\Result does not specify its types: T, E
|
build (8.1):
tests/Provider/Results.php (in context of class TH/Maybe/Tests/Unit/Result/ExtendsTest)#L80
Method TH\Maybe\Tests\Unit\Result\ExtendsTest::resultClasses() return type with generic interface TH\Maybe\Result does not specify its types: T, E
|
build (8.1):
tests/Unit/Result/ExtendsTest.php#L18
Cannot cast mixed to string.
|
build (8.1):
tests/Unit/Result/ExtendsTest.php#L29
Cannot cast mixed to string.
|
build (8.1):
tests/Unit/Result/ExtendsTest.php#L41
Method TH\Maybe\Tests\Unit\Result\ExtendsTest::testConstructorsCannotBeOverriden() throws checked exception ReflectionException but it's missing from the PHPDoc @throws tag.
|
build (8.1):
tests/Unit/Result/ExtendsTest.php#L41
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
|
build (8.1):
tests/Unit/Result/ExtendsTest.php#L42
Method TH\Maybe\Tests\Unit\Result\ExtendsTest::testConstructorsCannotBeOverriden() throws checked exception ReflectionException but it's missing from the PHPDoc @throws tag.
|
build (8.2)
The job was canceled because "_8_1" failed.
|
build (8.2)
The operation was canceled.
|