No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
75a7dd2
... +249 ...
98ad497
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
3 | 3 | declare(strict_types=1); |
|
4 | 4 | ||
5 | 5 | /** |
|
6 | - | * Copyright (c) 2019-2020 Andreas Möller |
|
6 | + | * Copyright (c) 2019-2021 Andreas Möller |
|
7 | 7 | * |
|
8 | 8 | * For the full copyright and license information, please view |
|
9 | 9 | * the LICENSE.md file that was distributed with this source code. |
26 | 26 | protected $name = ''; |
|
27 | 27 | ||
28 | 28 | /** |
|
29 | - | * @var array |
|
29 | + | * @var array<string, array|bool> |
|
30 | 30 | */ |
|
31 | 31 | protected $rules = []; |
|
32 | 32 |
3 | 3 | declare(strict_types=1); |
|
4 | 4 | ||
5 | 5 | /** |
|
6 | - | * Copyright (c) 2019-2020 Andreas Möller |
|
6 | + | * Copyright (c) 2019-2021 Andreas Möller |
|
7 | 7 | * |
|
8 | 8 | * For the full copyright and license information, please view |
|
9 | 9 | * the LICENSE.md file that was distributed with this source code. |
20 | 20 | /** |
|
21 | 21 | * Creates a configuration based on a rule set. |
|
22 | 22 | * |
|
23 | - | * @param RuleSet $ruleSet |
|
24 | - | * @param array $overrideRules |
|
23 | + | * @param array<string, array|bool> $overrideRules |
|
25 | 24 | * |
|
26 | 25 | * @throws \RuntimeException |
|
27 | - | * |
|
28 | - | * @return Config |
|
29 | 26 | */ |
|
30 | 27 | public static function fromRuleSet(RuleSet $ruleSet, array $overrideRules = []): Config |
|
31 | 28 | { |
98ad497
50d4f0f
e4b6fbc
2f1f0db
63ea6ad
8abab82
1520113
b297825
14dcb9f
0f07300
b0c5bef
bcdd083
5232e69
d74e088
d87dcd7
b6c0aba
7fde787
bf2c781
68261ae
a3c4495
837e126
52e2a52
ce3c409
b9034c1
142db6c
d693153
a207ae0
d91db7e
2734ab1
b3b54cf
4a180b9
b2a098f
fc1264c
95fa06e
2de2c14
1847d2e
43ee4fa
0192845
cb5a8a1
ac372fc
b610c83
#256
3d93101
75c2586
1769822
3c886b6
279e543
bb7bb2a
bf8c281
c463952
4a3f907
6ff758d
02b6364
390d6b0
66ae87e
d40e478
9e3cbca
522da5f
d059bb4
3dd6a55
0397d00
3c6c49c
7e3f7d1
8afb2fe
bbf2440
0cdcd8c
9227581
614f32e
a7898b3
0782bee
fa86543
4824eaf
11eeaac
97f253f
a633841
1b5abc7
911416c
89e897d
f919180
bc0c51a
843ede3
29c1654
e65394a
77c2c43
f62e8f7
cf86161
ebb63e4
d31a818
449a7b7
27f1d0b
483bfb4
313a5e8
6967b9b
53a124f
275c658
7a0ea2a
de6975e
f8f68cf
d8688b7
b494c2c
#224
084fec8
f3c93ee
31e5d70
16cb6ca
908e118
b5a19ac
366d109
75001d7
453550d
2d56abe
414dabd
6f3ac71
5d25dd8
cf5298f
f57d987