Use Option #29
Open
Use Option #29
Annotations
10 errors
|
src/Application.php#L79
Method TH\DocTest\Application::getLanguages() should return TH\Maybe\Option<array<string>> but returns TH\Maybe\Option\Some<list<string>>.
|
|
src/Iterator/AllExamples.php#L54
Generator expects value type TH\DocTest\Example, mixed given.
|
|
src/Location.php#L65
Parameter #1 $callback of method TH\Maybe\Option<int<1, max>|false>::map() expects callable(int<1, max>|false): int, Closure(int): int given.
|
|
src/Location.php#L70
Parameter #1 $path of static method TH\DocTest\Location::makePathRelative() expects TH\Maybe\Option<string>, TH\Maybe\Option<string|false> given.
|
|
src/Location.php#L72
Parameter #5 $endLine of class TH\DocTest\Location constructor expects TH\Maybe\Option<int>, TH\Maybe\Option<int<1, max>|false> given.
|
|
src/Subscriber/Summary.php#L56
Access to an undefined property TH\DocTest\Event\AfterTestSuite::$outcome.
|
|
src/Subscriber/TestExecutor.php#L112
Method TH\DocTest\Subscriber\TestExecutor::expectedFailureFromLine() throws checked exception LogicException but it's missing from the PHPDoc @throws tag.
|
|
tests/Iterator/AllExamplesTest.php#L174
Parameter #2 $languageFilter of class TH\DocTest\Iterator\AllExamples constructor expects TH\Maybe\Option<array<string>>, TH\Maybe\Option<array<string>>|TH\Maybe\Option\Some<array{string}> given.
|
|
tests/Subscriber/TestExecutorTest.php#L45
Generator expects value type array{TH\DocTest\Example, array{class: class-string<Throwable>, message: string}|null}, array{TH\DocTest\Example, TH\Maybe\Option<array{class: class-string<Throwable>, message: string}>} given.
|
|
|
The logs for this run have expired and are no longer available.
Loading