Skip to content

Commit 9627a8e

Browse files
Merge pull request #53 from AidynMakhataev/analysis-orBlDg
Apply fixes from StyleCI
2 parents 81742cf + 9abc58c commit 9627a8e

8 files changed

+13
-15
lines changed

Diff for: database/migrations/2018_02_21_000001_create_surveys_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateSurveysTable extends Migration
88
{

Diff for: database/migrations/2018_05_25_053226_create_survey_results_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateSurveyResultsTable extends Migration
88
{

Diff for: src/LaravelSurveyJsServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ private function definePublishable()
6161
], 'migrations');
6262

6363
$this->publishes([
64-
realpath(__DIR__.'/../public') => public_path('vendor/survey-manager'),
64+
realpath(__DIR__.'/../public') => public_path('vendor/survey-manager'),
6565
], 'public');
6666

6767
$this->publishes([
68-
realpath(__DIR__.'/../resources/views') => resource_path('views/vendor/survey-manager'),
68+
realpath(__DIR__.'/../resources/views') => resource_path('views/vendor/survey-manager'),
6969
]);
7070
}
7171
}

Diff for: src/app/Http/Controllers/API/SurveyAPIController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace AidynMakhataev\LaravelSurveyJs\app\Http\Controllers\API;
44

5-
use Illuminate\Routing\Controller;
6-
use AidynMakhataev\LaravelSurveyJs\app\Models\Survey;
7-
use AidynMakhataev\LaravelSurveyJs\app\Http\Resources\SurveyResource;
85
use AidynMakhataev\LaravelSurveyJs\app\Http\Requests\CreateSurveyRequest;
96
use AidynMakhataev\LaravelSurveyJs\app\Http\Requests\UpdateSurveyRequest;
7+
use AidynMakhataev\LaravelSurveyJs\app\Http\Resources\SurveyResource;
8+
use AidynMakhataev\LaravelSurveyJs\app\Models\Survey;
9+
use Illuminate\Routing\Controller;
1010

1111
class SurveyAPIController extends Controller
1212
{

Diff for: src/app/Http/Controllers/API/SurveyResultAPIController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace AidynMakhataev\LaravelSurveyJs\app\Http\Controllers\API;
44

5-
use Illuminate\Http\Request;
6-
use Illuminate\Routing\Controller;
7-
use AidynMakhataev\LaravelSurveyJs\app\Models\Survey;
85
use AidynMakhataev\LaravelSurveyJs\app\Http\Resources\SurveyResource;
96
use AidynMakhataev\LaravelSurveyJs\app\Http\Resources\SurveyResultResource;
7+
use AidynMakhataev\LaravelSurveyJs\app\Models\Survey;
8+
use Illuminate\Http\Request;
9+
use Illuminate\Routing\Controller;
1010

1111
class SurveyResultAPIController extends Controller
1212
{

Diff for: src/app/Http/Controllers/SurveyController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace AidynMakhataev\LaravelSurveyJs\app\Http\Controllers;
44

5-
use Illuminate\Routing\Controller;
65
use AidynMakhataev\LaravelSurveyJs\app\Models\Survey;
6+
use Illuminate\Routing\Controller;
77

88
class SurveyController extends Controller
99
{

Diff for: src/routes/api.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
Route::group(
54
[
65
'namespace' => 'AidynMakhataev\LaravelSurveyJs\app\Http\Controllers\API',

Diff for: src/routes/web.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
Route::group(
54
[
65
'namespace' => 'AidynMakhataev\LaravelSurveyJs\app\Http\Controllers',

0 commit comments

Comments
 (0)