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

luttje / filament-user-attributes / 23689443808

28 Mar 2026 04:32PM UTC coverage: 78.366% (-0.08%) from 78.441%
23689443808

Pull #28

github

web-flow
Merge 3e57e23a2 into 00f6ace82
Pull Request #28: Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0

2101 of 2681 relevant lines covered (78.37%)

9.19 hits per line

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

85.0
/src/Commands/WizardCommand.php
1
<?php
2

3
namespace Luttje\FilamentUserAttributes\Commands;
4

5
use Illuminate\Console\Command;
6
use Luttje\FilamentUserAttributes\CodeGeneration\CodeEditor;
7

8
class WizardCommand extends Command
9
{
10
    public function __construct()
76✔
11
    {
12
        $this->signature = 'filament-user-attributes:wizard';
76✔
13
        $this->description = 'Wizard to help setup your project with Filament User Attributes';
76✔
14

15
        parent::__construct();
76✔
16
    }
17

18
    public function handle()
1✔
19
    {
20
        $this->info('This wizard will help you setup your project with Filament User Attributes.');
1✔
21

22
        $commands = [
1✔
23
            WizardStepModels::class,
1✔
24
            WizardStepConfig::class,
1✔
25
            WizardStepResources::class,
1✔
26
        ];
1✔
27

28
        foreach ($commands as $command) {
1✔
29
            $this->call($command);
1✔
30
        }
31

32
        $recentBackups = CodeEditor::getRecentBackupPaths();
1✔
33

34
        if (count($recentBackups) > 0) {
1✔
35
            $this->info("\n<fg=gray>The following files in this project were modified by Filament User Attributes. We have created a back-up of each file.</>");
×
36

37
            foreach ($recentBackups as $file => $backup) {
×
38
                $this->info("<fg=gray>$file (back-up $backup)</>");
×
39
            }
40
        } else {
41
            $this->info("\n<fg=gray>No project files were modified by Filament User Attributes.</>");
1✔
42
        }
43

44
        $this->info("\nFilament User Attributes has successfully finished setting up your project!");
1✔
45
    }
46
}
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