Refactor test structures and add token filtering #7
Annotations
5 errors
Run PHPStan:
src/Tokenizer.php#L131
Anonymous function should return string but returns Phonyland\NGram\TokenizerFilterType|string.
|
Run PHPStan:
src/TokenizerFilter.php#L23
Method Phonyland\NGram\TokenizerFilter::toArray() should return array{pattern: string, replacement: string} but returns array{pattern: Phonyland\NGram\TokenizerFilterType|string, replacement: string}.
|
Run PHPStan:
src/TokenizerFilterType.php#L42
PHPDoc tag @var does not specify variable name.
|
Run PHPStan:
src/TokenizerFilterType.php#L55
PHPDoc tag @var does not specify variable name.
|
Run PHPStan
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading