• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eliashaeussler / php-cs-fixer-config / 16303565736

15 Jul 2025 08:25PM UTC coverage: 100.0%. Remained the same
16303565736

push

github

web-flow
[TASK] Update friendsofphp/php-cs-fixer to v3.84.0

| datasource | package                   | from   | to     |
| ---------- | ------------------------- | ------ | ------ |
| packagist  | friendsofphp/php-cs-fixer | 3.83.0 | 3.84.0 |

137 of 137 relevant lines covered (100.0%)

4.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Rules/Set/DefaultRuleSet.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of the Composer package "eliashaeussler/php-cs-fixer-config".
7
 *
8
 * Copyright (C) 2023-2025 Elias Häußler <elias@haeussler.dev>
9
 *
10
 * This program is free software: you can redistribute it and/or modify
11
 * it under the terms of the GNU General Public License as published by
12
 * the Free Software Foundation, either version 3 of the License, or
13
 * (at your option) any later version.
14
 *
15
 * This program is distributed in the hope that it will be useful,
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
 * GNU General Public License for more details.
19
 *
20
 * You should have received a copy of the GNU General Public License
21
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22
 */
23

24
namespace EliasHaeussler\PhpCsFixerConfig\Rules\Set;
25

26
use EliasHaeussler\PhpCsFixerConfig\Rules;
27

28
/**
29
 * DefaultRuleSet.
30
 *
31
 * @author Elias Häußler <elias@haeussler.dev>
32
 * @license GPL-3.0-or-later
33
 */
34
final class DefaultRuleSet implements Rules\Rule
35
{
36
    public static function create(): self
8✔
37
    {
38
        return new self();
8✔
39
    }
40

41
    public function get(): array
8✔
42
    {
43
        return [
8✔
44
            '@PER-CS' => true,
8✔
45
            '@Symfony' => true,
8✔
46
            'global_namespace_import' => [
8✔
47
                'import_classes' => true,
8✔
48
                'import_functions' => true,
8✔
49
            ],
8✔
50
            'no_superfluous_phpdoc_tags' => [
8✔
51
                'allow_mixed' => true,
8✔
52
            ],
8✔
53
            'single_line_empty_body' => true,
8✔
54
            'trailing_comma_in_multiline' => [
8✔
55
                'elements' => [
8✔
56
                    'arguments',
8✔
57
                    'arrays',
8✔
58
                    'match',
8✔
59
                    'parameters',
8✔
60
                ],
8✔
61
            ],
8✔
62
        ];
8✔
63
    }
64
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc