Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celema\Sire\Contract; |
| 6 | |
| 7 | /** |
| 8 | * Implemented next to `Rule` by a rule that names its DSL arguments for |
| 9 | * message placeholders and issue params, e.g. `['min']` turns `min:18` into |
| 10 | * `{min}`. Arguments beyond the names keep their positional `{argN}`. |
| 11 | * |
| 12 | * @api |
| 13 | */ |
| 14 | interface NamedArguments |
| 15 | { |
| 16 | /** @var list<non-empty-string> */ |
| 17 | public array $arguments { get; } |
| 18 | } |
Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not
necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once.
Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.