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

luttje / filament-user-attributes / 15705531337

17 Jun 2025 11:06AM UTC coverage: 74.446% (-0.06%) from 74.503%
15705531337

push

github

web-flow
Bump stefanzweifel/git-auto-commit-action from 4 to 6 (#18)

Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

1311 of 1761 relevant lines covered (74.45%)

31.12 hits per line

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

95.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()
300✔
11
    {
12
        $this->signature = 'filament-user-attributes:wizard';
300✔
13
        $this->description = 'Wizard to help setup your project with Filament User Attributes';
300✔
14

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

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

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

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

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

34
        if (count($recentBackups) > 0) {
4✔
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.</>");
4✔
36

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

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

© 2025 Coveralls, Inc