Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celemas\Verba\Tool; |
| 6 | |
| 7 | /** |
| 8 | * Extracts translatable messages from a body of source files. |
| 9 | * |
| 10 | * @api |
| 11 | */ |
| 12 | interface Scanner |
| 13 | { |
| 14 | /** |
| 15 | * @return list<Message> |
| 16 | */ |
| 17 | public function scan(): array; |
| 18 | |
| 19 | /** |
| 20 | * Messages skipped because an id, domain, or plural was not a literal. |
| 21 | * |
| 22 | * @return list<string> |
| 23 | */ |
| 24 | public function warnings(): array; |
| 25 | } |