Lines 0.00% 0 / 6
Methods 0.00% 0 / 2
Classes 0.00% 0 / 1
Name Lines Methods CRAP
 getAppStub 0.00% 0 / 3 0.00% 0 / 1 12
 getTestStub 0.00% 0 / 3 0.00% 0 / 1 12
7enum AppScaffoldKind
8{
9    case Automation;
10    case Template;
11
12    public function getAppStub(): string
13    {
14        return match ($this) {
15            self::Automation => 'App.php.stub',
16            self::Template => 'AppTemplate.php.stub',
17        };
18    }
19
20    public function getTestStub(): string
21    {
22        return match ($this) {
23            self::Automation => 'AppTest.php.stub',
24            self::Template => 'AppTemplateTest.php.stub',
25        };
26    }
27}