Skip to content

Commit 0246938

Browse files
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
1 parent 7a85906 commit 0246938

File tree

23 files changed

+348
-348
lines changed

23 files changed

+348
-348
lines changed

Diff for: app/Console/Commands/Inspire.php

+21-21
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@
77

88
class Inspire extends Command
99
{
10-
/**
11-
* The name and signature of the console command.
12-
*
13-
* @var string
14-
*/
15-
protected $signature = 'inspire';
10+
/**
11+
* The name and signature of the console command.
12+
*
13+
* @var string
14+
*/
15+
protected $signature = 'inspire';
1616

17-
/**
18-
* The console command description.
19-
*
20-
* @var string
21-
*/
22-
protected $description = 'Display an inspiring quote';
17+
/**
18+
* The console command description.
19+
*
20+
* @var string
21+
*/
22+
protected $description = 'Display an inspiring quote';
2323

24-
/**
25-
* Execute the console command.
26-
*
27-
* @return mixed
28-
*/
29-
public function handle()
30-
{
31-
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32-
}
24+
/**
25+
* Execute the console command.
26+
*
27+
* @return mixed
28+
*/
29+
public function handle()
30+
{
31+
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32+
}
3333
}

Diff for: app/Console/Kernel.php

+19-19
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77

88
class Kernel extends ConsoleKernel
99
{
10-
/**
11-
* The Artisan commands provided by your application.
12-
*
13-
* @var array
14-
*/
15-
protected $commands = [
16-
// Commands\Inspire::class,
17-
];
10+
/**
11+
* The Artisan commands provided by your application.
12+
*
13+
* @var array
14+
*/
15+
protected $commands = [
16+
// Commands\Inspire::class,
17+
];
1818

19-
/**
20-
* Define the application's command schedule.
21-
*
22-
* @param \Illuminate\Console\Scheduling\Schedule $schedule
23-
* @return void
24-
*/
25-
protected function schedule(Schedule $schedule)
26-
{
27-
// $schedule->command('inspire')
28-
// ->hourly();
29-
}
19+
/**
20+
* Define the application's command schedule.
21+
*
22+
* @param \Illuminate\Console\Scheduling\Schedule $schedule
23+
* @return void
24+
*/
25+
protected function schedule(Schedule $schedule)
26+
{
27+
// $schedule->command('inspire')
28+
// ->hourly();
29+
}
3030
}

Diff for: app/Events/Event.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
abstract class Event
66
{
7-
//
7+
//
88
}

Diff for: app/Http/Middleware/EncryptCookies.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
class EncryptCookies extends BaseEncrypter
88
{
9-
/**
10-
* The names of the cookies that should not be encrypted.
11-
*
12-
* @var array
13-
*/
14-
protected $except = [
15-
//
16-
];
9+
/**
10+
* The names of the cookies that should not be encrypted.
11+
*
12+
* @var array
13+
*/
14+
protected $except = [
15+
//
16+
];
1717
}

Diff for: app/Http/Middleware/VerifyCsrfToken.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
class VerifyCsrfToken extends BaseVerifier
88
{
9-
/**
10-
* The URIs that should be excluded from CSRF verification.
11-
*
12-
* @var array
13-
*/
14-
protected $except = [
15-
//
16-
];
9+
/**
10+
* The URIs that should be excluded from CSRF verification.
11+
*
12+
* @var array
13+
*/
14+
protected $except = [
15+
//
16+
];
1717
}

Diff for: app/Jobs/Job.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
abstract class Job
88
{
9-
/*
9+
/*
1010
|--------------------------------------------------------------------------
1111
| Queueable Jobs
1212
|--------------------------------------------------------------------------
@@ -17,5 +17,5 @@ abstract class Job
1717
|
1818
*/
1919

20-
use Queueable;
20+
use Queueable;
2121
}

Diff for: app/MasterData/AssociationValidator.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ class AssociationValidator extends Validator {
4040
*/
4141
protected function getAttributeNames() {
4242
return array(
43-
'id' => 'Standnummer',
44-
'name' => 'Bezeichnung',
45-
'wuser_username' => 'Benutzer'
43+
'id' => 'Standnummer',
44+
'name' => 'Bezeichnung',
45+
'wuser_username' => 'Benutzer'
4646
);
4747
}
4848

@@ -54,9 +54,9 @@ protected function getAttributeNames() {
5454
*/
5555
protected function getCreateRules(array $data) {
5656
return array(
57-
'id' => 'Required|integer|min:1|unique:association,id',
58-
'name' => 'Required|between:4,80|unique:association,name',
59-
'wuser_username' => 'Exists:wuser,username',
57+
'id' => 'Required|integer|min:1|unique:association,id',
58+
'name' => 'Required|between:4,80|unique:association,name',
59+
'wuser_username' => 'Exists:wuser,username',
6060
);
6161
}
6262

@@ -73,9 +73,9 @@ protected function getUpdateRules(array $data, Model $association = null) {
7373
//only check uniqueness of name if it was changed
7474
$nameUnchanged = isset($data['name']) && $data['name'] == $this->model->name;
7575
return array(
76-
'id' => 'Required|integer|min:1' . ($idUnchanged ? '' : '|unique:association,id'),
77-
'name' => 'Required|between:5,80' . ($nameUnchanged ? '' : '|unique:association,name'),
78-
'wuser_username' => 'Exists:wuser,username',
76+
'id' => 'Required|integer|min:1' . ($idUnchanged ? '' : '|unique:association,id'),
77+
'name' => 'Required|between:5,80' . ($nameUnchanged ? '' : '|unique:association,name'),
78+
'wuser_username' => 'Exists:wuser,username',
7979
);
8080
}
8181

Diff for: app/Providers/EventServiceProvider.php

+21-21
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@
77

88
class EventServiceProvider extends ServiceProvider
99
{
10-
/**
11-
* The event listener mappings for the application.
12-
*
13-
* @var array
14-
*/
15-
protected $listen = [
16-
'App\Events\SomeEvent' => [
17-
'App\Listeners\EventListener',
18-
],
19-
];
10+
/**
11+
* The event listener mappings for the application.
12+
*
13+
* @var array
14+
*/
15+
protected $listen = [
16+
'App\Events\SomeEvent' => [
17+
'App\Listeners\EventListener',
18+
],
19+
];
2020

21-
/**
22-
* Register any other events for your application.
23-
*
24-
* @param \Illuminate\Contracts\Events\Dispatcher $events
25-
* @return void
26-
*/
27-
public function boot(DispatcherContract $events)
28-
{
29-
parent::boot($events);
21+
/**
22+
* Register any other events for your application.
23+
*
24+
* @param \Illuminate\Contracts\Events\Dispatcher $events
25+
* @return void
26+
*/
27+
public function boot(DispatcherContract $events)
28+
{
29+
parent::boot($events);
3030

31-
//
32-
}
31+
//
32+
}
3333
}

Diff for: app/WineExport.php

+27-27
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,33 @@ class WineExport {
4646
* @var array of string
4747
*/
4848
private $headers = [
49-
'DateiNr',
50-
'SortenNr',
51-
'Sorte',
52-
'QualNr',
53-
'Qualität',
54-
'Marke',
55-
'Jahr',
56-
'BetriebsNr',
57-
'Betriebsbezeichnung',
58-
'Titel',
59-
'Vorname',
60-
'Nachname',
61-
'Telefon',
62-
'Mobil',
63-
'E-Mail',
64-
'Adresse',
65-
'WeinstandNr',
66-
'Weinstand',
67-
'Alkohol',
68-
'Alkohol ges.',
69-
'Zucker',
70-
'1. Bewertung',
71-
'2. Bewertung',
72-
'KdB',
73-
'SoSi',
74-
'Ex',
75-
'Ausschank',
49+
'DateiNr',
50+
'SortenNr',
51+
'Sorte',
52+
'QualNr',
53+
'Qualität',
54+
'Marke',
55+
'Jahr',
56+
'BetriebsNr',
57+
'Betriebsbezeichnung',
58+
'Titel',
59+
'Vorname',
60+
'Nachname',
61+
'Telefon',
62+
'Mobil',
63+
'E-Mail',
64+
'Adresse',
65+
'WeinstandNr',
66+
'Weinstand',
67+
'Alkohol',
68+
'Alkohol ges.',
69+
'Zucker',
70+
'1. Bewertung',
71+
'2. Bewertung',
72+
'KdB',
73+
'SoSi',
74+
'Ex',
75+
'Ausschank',
7676
];
7777

7878
/**

Diff for: bootstrap/app.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
$app = new Illuminate\Foundation\Application(
15-
realpath(__DIR__.'/../')
15+
realpath(__DIR__.'/../')
1616
);
1717

1818
/*
@@ -27,18 +27,18 @@
2727
*/
2828

2929
$app->singleton(
30-
Illuminate\Contracts\Http\Kernel::class,
31-
App\Http\Kernel::class
30+
Illuminate\Contracts\Http\Kernel::class,
31+
App\Http\Kernel::class
3232
);
3333

3434
$app->singleton(
35-
Illuminate\Contracts\Console\Kernel::class,
36-
App\Console\Kernel::class
35+
Illuminate\Contracts\Console\Kernel::class,
36+
App\Console\Kernel::class
3737
);
3838

3939
$app->singleton(
40-
Illuminate\Contracts\Debug\ExceptionHandler::class,
41-
App\Exceptions\Handler::class
40+
Illuminate\Contracts\Debug\ExceptionHandler::class,
41+
App\Exceptions\Handler::class
4242
);
4343

4444
/*

Diff for: bootstrap/autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
$compiledPath = __DIR__.'/cache/compiled.php';
3131

3232
if (file_exists($compiledPath)) {
33-
require $compiledPath;
33+
require $compiledPath;
3434
}

0 commit comments

Comments
 (0)