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

keradus / PHP-CS-Fixer / 17252691116

26 Aug 2025 11:09PM UTC coverage: 94.743% (-0.01%) from 94.755%
17252691116

push

github

keradus
chore: apply phpdoc_tag_no_named_arguments

28313 of 29884 relevant lines covered (94.74%)

45.64 hits per line

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

83.33
/src/RuleSet/Sets/PERRiskySet.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of PHP CS Fixer.
7
 *
8
 * (c) Fabien Potencier <fabien@symfony.com>
9
 *     Dariusz RumiƄski <dariusz.ruminski@gmail.com>
10
 *
11
 * This source file is subject to the MIT license that is bundled
12
 * with this source code in the file LICENSE.
13
 */
14

15
namespace PhpCsFixer\RuleSet\Sets;
16

17
use PhpCsFixer\RuleSet\AbstractRuleSetDescription;
18
use PhpCsFixer\RuleSet\DeprecatedRuleSetDescriptionInterface;
19

20
/**
21
 * @internal
22
 *
23
 * @deprecated use `@PER-CS:risky` instead
24
 *
25
 * @TODO 4.0 remove me
26
 *
27
 * Last updated to PER Coding Style v2.0.
28
 *
29
 * @no-named-arguments Parameter names are not covered by the backward compatibility promise.
30
 */
31
final class PERRiskySet extends AbstractRuleSetDescription implements DeprecatedRuleSetDescriptionInterface
32
{
33
    public function getName(): string
34
    {
35
        return '@PER:risky';
1✔
36
    }
37

38
    public function getRules(): array
39
    {
40
        return [
1✔
41
            '@PER-CS:risky' => true,
1✔
42
        ];
1✔
43
    }
44

45
    public function getDescription(): string
46
    {
47
        return 'Alias for the newest PER-CS risky rules. It is recommended you use ``@PER-CS2.0:risky`` instead if you want to stick with stable ruleset.';
1✔
48
    }
49

50
    public function getSuccessorsNames(): array
51
    {
52
        return ['@PER-CS:risky'];
×
53
    }
54
}
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