1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Added and ran PHPCS

This commit is contained in:
Dan Brown
2022-09-18 01:25:20 +01:00
parent d0dc5e5c5d
commit 8a749c6acf
22 changed files with 120 additions and 30 deletions

View File

@@ -2,7 +2,6 @@
namespace Tests\Actions;
use function app;
use BookStack\Actions\Activity;
use BookStack\Actions\ActivityLogger;
use BookStack\Actions\ActivityType;
@@ -12,7 +11,6 @@ use BookStack\Entities\Models\Page;
use BookStack\Entities\Repos\PageRepo;
use BookStack\Entities\Tools\TrashCan;
use Carbon\Carbon;
use function config;
use Tests\TestCase;
class AuditLogTest extends TestCase

View File

@@ -80,7 +80,7 @@ class AttachmentTest extends TestCase
$expectedResp = [
'name' => $fileName,
'uploaded_to'=> $page->id,
'uploaded_to' => $page->id,
'extension' => 'txt',
'order' => 1,
'created_by' => $admin->id,

View File

@@ -3,6 +3,7 @@
namespace Tests;
use BookStack\Http\Request;
use function request;
use function url;