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

NIT-Administrative-Systems / SysDev-laravel-soa / 13508657684

24 Feb 2025 09:57PM UTC coverage: 45.13% (-0.1%) from 45.277%
13508657684

Pull #184

github

web-flow
Merge 265b9b845 into a782f5d90
Pull Request #184: Laravel 12 Support

0 of 4 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

278 of 616 relevant lines covered (45.13%)

14.48 hits per line

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

0.0
/src/Console/Commands/MakeWebSSO.php
1
<?php
2

3
namespace Northwestern\SysDev\SOA\Console\Commands;
4

5
use Illuminate\Console\GeneratorCommand;
6

7
class MakeWebSSO extends GeneratorCommand
8
{
9
    protected $signature = 'make:websso';
10

11
    protected $description = 'Create a new Northwestern WebSSO controller';
12

13
    protected $type = 'Controller';
14

15
    public function handle(): ?bool
16
    {
17
        parent::handle();
×
18

19
        $this->ejectRoutes();
×
20

NEW
21
        return true;
×
22
    }
23

24
    protected function getNameInput()
25
    {
26
        return 'WebSSOController';
×
27
    }
28

29
    protected function getStub()
30
    {
31
        return __DIR__.'/../../../stubs/WebSSOController.stub';
×
32
    }
33

34
    protected function getDefaultNamespace($rootNamespace)
35
    {
36
        return $rootNamespace.'\Http\Controllers\Auth';
×
37
    }
38

39
    protected function ejectRoutes()
40
    {
41
        file_put_contents(
×
42
            base_path('routes/web.php'),
×
43
            file_get_contents(__DIR__.'/../../../stubs/routes.stub'),
×
44
            FILE_APPEND
×
45
        );
×
46
    }
47
}
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