Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
SyncReport
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Celemas\Verba\Tool;
6
7/**
8 * The outcome of a sync: per-locale counts and any scanner warnings.
9 *
10 * @api
11 */
12final class SyncReport
13{
14    /**
15     * @param array<string, array{added: int, obsolete: int, total: int, changed: bool}> $locales
16     * @param list<string> $warnings
17     */
18    public function __construct(
19        public readonly string $domain,
20        public readonly array $locales,
21        public readonly array $warnings,
22    ) {}
23}