Skip to content

Refactor test structures and add token filtering #7

Refactor test structures and add token filtering

Refactor test structures and add token filtering #7

Triggered via push January 2, 2024 02:30
Status Success
Total duration 33s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan: src/Tokenizer.php#L131
Anonymous function should return string but returns Phonyland\NGram\TokenizerFilterType|string.
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}.
phpstan: src/TokenizerFilterType.php#L42
PHPDoc tag @var does not specify variable name.
phpstan: src/TokenizerFilterType.php#L55
PHPDoc tag @var does not specify variable name.
phpstan
Process completed with exit code 1.