Apply fixes from StyleCI (#776)

This commit is contained in:
Phan An 2018-08-18 15:20:02 +02:00 committed by GitHub
parent 4fc5117509
commit cedb9f9922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 8 deletions

View file

@ -1,4 +1,5 @@
<?php
namespace App\Http\Controllers\API\MediaInformation;
use App\Models\Song;

View file

@ -2,15 +2,12 @@
namespace App\Models;
use App\Facades\Lastfm;
use App\Facades\Util;
use App\Traits\SupportsDeleteWhereIDsNotIn;
use Exception;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasManyThrough;
use Log;
/**
* @property int id The model ID

View file

@ -88,10 +88,10 @@ abstract class TestCase extends BaseTestCase
}
/**
* Mock an IOC dependency, for example an injected service in controllers
* Mock an IOC dependency, for example an injected service in controllers.
*
* @param string $abstract
* @param array $args
* @param array $args
*
* @return m\MockInterface
*/

View file

@ -4,7 +4,6 @@ namespace Tests\Integration\Models;
use App\Models\Album;
use App\Models\Artist;
use Lastfm;
use org\bovigo\vfs\vfsStream;
use Tests\TestCase;
@ -13,7 +12,6 @@ class AlbumTest extends TestCase
/** @test */
public function extra_info_can_be_retrieved_for_an_album()
{
}
/** @test */

View file

@ -3,7 +3,6 @@
namespace Tests\Integration\Models;
use App\Models\Artist;
use Lastfm;
use org\bovigo\vfs\vfsStream;
use Tests\TestCase;

View file

@ -1,4 +1,5 @@
<?php
namespace Tests\Integration\Services;
use App\Events\SongLikeToggled;