From 9d18092c857bf37f2b34084674fcfc836c009d8b Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:05 +0000 Subject: [PATCH 01/23] Adopt Laravel coding style The Laravel framework adopts the PSR-2 coding style with some additions. Laravel apps *should* adopt this coding style as well. However, Shift allows you to customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config to your project. You may use [Shift's .php_cs][2] file as a base. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200 --- app/Http/Controllers/AnnounceController.php | 16 ++++++++-------- config/log-viewer.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Http/Controllers/AnnounceController.php b/app/Http/Controllers/AnnounceController.php index 46414be8ff..0e9e355911 100644 --- a/app/Http/Controllers/AnnounceController.php +++ b/app/Http/Controllers/AnnounceController.php @@ -71,12 +71,12 @@ class AnnounceController extends Controller public function index(Request $request, $passkey) { try { - /** + /* * Check client. */ $this->checkClient($request); - /** + /* * Check passkey. */ $this->checkPasskey($passkey); @@ -96,7 +96,7 @@ public function index(Request $request, $passkey) */ $torrent = $this->checkTorrent($queries['info_hash']); - /** + /* * Lock Min Announce Interval. */ $this->checkMinInterval($queries, $user); @@ -111,7 +111,7 @@ public function index(Request $request, $passkey) */ $rep_dict = $this->generateSuccessAnnounceResponse($queries, $torrent, $user); - /** + /* * Dispatch The Specfic Annnounce Event Job. */ $this->sendAnnounceJob($queries, $user, $torrent); @@ -140,7 +140,7 @@ protected function checkClient(Request $request): void if ($request->header('accept-language') || $request->header('referer') || $request->header('accept-charset') - /** + /* * This header check may block Non-bittorrent client `Aria2` to access tracker, * Because they always add this header which other clients don't have. * @@ -324,7 +324,7 @@ protected function generateFailedAnnounceResponse(TrackerException $trackerExcep return [ 'failure reason' => $trackerException->getMessage(), 'min interval' => self::MIN, - /** + /* * BEP 31: Failure Retry Extension. * * However most bittorrent client don't support it, so this feature is disabled default @@ -404,7 +404,7 @@ private function checkAnnounceFields(Request $request): array } // Part.3 check Port is Valid and Allowed - /** + /* * Normally , the port must in 1 - 65535 , that is ( $port > 0 && $port < 0xffff ) * However, in some case , When `&event=stopped` the port may set to 0. */ @@ -455,7 +455,7 @@ private function generateSuccessAnnounceResponse($queries, $torrent, $user): arr 'incomplete' => $torrent->leechers, ]; - /** + /* * For non `stopped` event only * We query peers from database and send peerlist, otherwise just quick return. */ diff --git a/config/log-viewer.php b/config/log-viewer.php index 4a0f200ab6..ae45b0f6a0 100644 --- a/config/log-viewer.php +++ b/config/log-viewer.php @@ -93,7 +93,7 @@ */ 'icons' => [ - /** + /* * Font awesome >= 4.3 * http://fontawesome.io/icons/. */ From 14bee49eeb1f536f3ab787ff583a12f5a77012aa Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:16 +0000 Subject: [PATCH 02/23] Shift HTTP kernel and middleware --- app/Http/Kernel.php | 2 +- ...intenanceMode.php => PreventRequestsDuringMaintenance.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/Http/Middleware/{CheckForMaintenanceMode.php => PreventRequestsDuringMaintenance.php} (80%) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index d5332effb8..a28782df5f 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -26,7 +26,7 @@ class Kernel extends HttpKernel */ protected $middleware = [ // Default Laravel - \App\Http\Middleware\CheckForMaintenanceMode::class, + \App\Http\Middleware\PreventRequestsDuringMaintenance::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, diff --git a/app/Http/Middleware/CheckForMaintenanceMode.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php similarity index 80% rename from app/Http/Middleware/CheckForMaintenanceMode.php rename to app/Http/Middleware/PreventRequestsDuringMaintenance.php index 74d8f4f1a6..be097e1a68 100644 --- a/app/Http/Middleware/CheckForMaintenanceMode.php +++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php @@ -13,9 +13,9 @@ namespace App\Http\Middleware; -use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware; +use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware; -class CheckForMaintenanceMode extends Middleware +class PreventRequestsDuringMaintenance extends Middleware { /** * The URIs that should be reachable while maintenance mode is enabled. From 62bca767c135c5897a4a205a1ce1bf6d505638d1 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:17 +0000 Subject: [PATCH 03/23] Shift service providers --- app/Providers/EventServiceProvider.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index f3d6c0d67e..249d71b442 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -48,7 +48,6 @@ class EventServiceProvider extends ServiceProvider */ public function boot() { - parent::boot(); // } From bb5432b0169d83f24f21646039a7b022e44b0eef Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:17 +0000 Subject: [PATCH 04/23] Shift console routes --- routes/console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/console.php b/routes/console.php index 4ef0497730..0ecc9627d7 100644 --- a/routes/console.php +++ b/routes/console.php @@ -26,4 +26,4 @@ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); -})->describe('Display an inspiring quote'); +})->purpose('Display an inspiring quote'); From 7d8b790de5a274a932bf30657a0f5550fca9b67c Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:17 +0000 Subject: [PATCH 05/23] Ignore temporary framework files --- storage/framework/.gitignore | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore index 0c4253924a..af09a98ced 100644 --- a/storage/framework/.gitignore +++ b/storage/framework/.gitignore @@ -1,8 +1,10 @@ -config.php -routes.php -schedule-* -compiled.php -services.json -events.scanned.php -routes.scanned.php -down + +compiled.php +config.php +down +events.scanned.php +maintenance.php +routes.php +routes.scanned.php +schedule-* +services.json \ No newline at end of file From add31768f505d07b69324ab6973c8a3f76b51725 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:30 +0000 Subject: [PATCH 06/23] Shift to class based factories --- app/Models/Album.php | 3 + app/Models/Application.php | 3 + app/Models/ApplicationImageProof.php | 3 + app/Models/ApplicationUrlProof.php | 3 + app/Models/Article.php | 3 + app/Models/Audit.php | 3 + app/Models/Ban.php | 3 + app/Models/BonExchange.php | 3 + app/Models/BonTransactions.php | 3 + app/Models/Bookmark.php | 3 + app/Models/Bot.php | 3 + app/Models/BotTransaction.php | 3 + app/Models/Category.php | 3 + app/Models/ChatStatus.php | 3 + app/Models/Chatroom.php | 3 + app/Models/Comment.php | 3 + app/Models/FailedLoginAttempt.php | 3 + app/Models/FeaturedTorrent.php | 3 + app/Models/Follow.php | 3 + app/Models/Forum.php | 3 + app/Models/FreeleechToken.php | 3 + app/Models/GitUpdate.php | 3 + app/Models/Graveyard.php | 3 + app/Models/Group.php | 3 + app/Models/History.php | 3 + app/Models/Image.php | 3 + app/Models/Invite.php | 3 + app/Models/Like.php | 3 + app/Models/Message.php | 3 + app/Models/Note.php | 3 + app/Models/Notification.php | 3 + app/Models/Option.php | 3 + app/Models/Page.php | 3 + app/Models/Peer.php | 3 + app/Models/Permission.php | 3 + app/Models/PersonalFreeleech.php | 3 + app/Models/Playlist.php | 3 + app/Models/PlaylistTorrent.php | 3 + app/Models/Poll.php | 3 + app/Models/Post.php | 3 + app/Models/PrivateMessage.php | 3 + app/Models/Report.php | 3 + app/Models/Resolution.php | 3 + app/Models/Rss.php | 3 + app/Models/Seedbox.php | 3 + app/Models/Subscription.php | 3 + app/Models/Tag.php | 3 + app/Models/TagTorrent.php | 3 + app/Models/Thank.php | 3 + app/Models/Topic.php | 3 + app/Models/Torrent.php | 3 + app/Models/TorrentFile.php | 3 + app/Models/TorrentRequest.php | 3 + app/Models/TorrentRequestBounty.php | 3 + app/Models/TorrentRequestClaim.php | 3 + app/Models/TwoStepAuth.php | 3 + app/Models/Type.php | 3 + app/Models/Upload.php | 3 + app/Models/User.php | 3 + app/Models/UserActivation.php | 3 + app/Models/UserAudible.php | 3 + app/Models/UserEcho.php | 3 + app/Models/UserNotification.php | 3 + app/Models/UserPrivacy.php | 3 + app/Models/Voter.php | 3 + app/Models/Warning.php | 3 + app/Models/Wish.php | 3 + database/factories/AlbumFactory.php | 37 +++-- database/factories/ApplicationFactory.php | 41 ++++-- .../ApplicationImageProofFactory.php | 31 ++++- .../factories/ApplicationUrlProofFactory.php | 31 ++++- database/factories/ArticleFactory.php | 37 +++-- database/factories/AuditFactory.php | 37 +++-- database/factories/BanFactory.php | 37 +++-- database/factories/BonExchangeFactory.php | 40 ++++-- database/factories/BonTransactionsFactory.php | 47 +++++-- database/factories/BookmarkFactory.php | 31 ++++- database/factories/BotFactory.php | 70 ++++++---- database/factories/BotTransactionFactory.php | 41 ++++-- database/factories/CategoryFactory.php | 48 ++++--- database/factories/ChatStatusFactory.php | 32 ++++- database/factories/ChatroomFactory.php | 28 +++- database/factories/CommentFactory.php | 41 ++++-- .../factories/FailedLoginAttemptFactory.php | 32 ++++- database/factories/FeaturedTorrentFactory.php | 31 ++++- database/factories/FollowFactory.php | 31 ++++- database/factories/ForumFactory.php | 50 ++++--- database/factories/FreeleechTokenFactory.php | 30 ++++- database/factories/GitUpdateFactory.php | 30 ++++- database/factories/GraveyardFactory.php | 35 +++-- database/factories/GroupFactory.php | 62 ++++++--- database/factories/HistoryFactory.php | 61 ++++++--- database/factories/ImageFactory.php | 39 ++++-- database/factories/InviteFactory.php | 41 ++++-- database/factories/LikeFactory.php | 37 +++-- database/factories/MessageFactory.php | 37 +++-- database/factories/NoteFactory.php | 33 ++++- database/factories/NotificationFactory.php | 38 ++++-- database/factories/OptionFactory.php | 33 ++++- database/factories/PageFactory.php | 32 ++++- database/factories/PeerFactory.php | 53 +++++--- database/factories/PermissionFactory.php | 39 ++++-- .../factories/PersonalFreeleechFactory.php | 28 +++- database/factories/PlaylistFactory.php | 43 ++++-- database/factories/PlaylistTorrentFactory.php | 35 +++-- database/factories/PollFactory.php | 37 +++-- database/factories/PostFactory.php | 33 ++++- database/factories/PrivateMessageFactory.php | 39 ++++-- database/factories/ReportFactory.php | 47 +++++-- database/factories/ResolutionFactory.php | 32 ++++- database/factories/RssFactory.php | 41 ++++-- database/factories/SeedboxFactory.php | 33 ++++- database/factories/SubscriptionFactory.php | 33 ++++- database/factories/TagFactory.php | 30 ++++- database/factories/TagTorrentFactory.php | 31 ++++- database/factories/ThankFactory.php | 31 ++++- database/factories/TopicFactory.php | 65 +++++---- database/factories/TorrentFactory.php | 97 +++++++------ database/factories/TorrentFileFactory.php | 33 ++++- .../factories/TorrentRequestBountyFactory.php | 37 +++-- .../factories/TorrentRequestClaimFactory.php | 32 ++++- database/factories/TorrentRequestFactory.php | 69 ++++++---- database/factories/TwoStepAuthFactory.php | 30 ++++- database/factories/TypeFactory.php | 32 ++++- database/factories/UploadFactory.php | 26 +++- database/factories/UserActivationFactory.php | 31 ++++- database/factories/UserAudibleFactory.php | 37 +++-- database/factories/UserEchoFactory.php | 35 +++-- database/factories/UserFactory.php | 115 +++++++++------- .../factories/UserNotificationFactory.php | 87 +++++++----- database/factories/UserPrivacyFactory.php | 107 +++++++++------ database/factories/VoterFactory.php | 33 ++++- database/factories/WarningFactory.php | 41 ++++-- database/factories/WishFactory.php | 37 +++-- tests/Feature/Factories/UserFactoryTest.php | 2 +- .../Controllers/API/ChatControllerTest.php | 62 ++++----- .../Controllers/API/TorrentControllerTest.php | 18 +-- .../AchievementsControllerTest.php | 4 +- .../Http/Controllers/AlbumControllerTest.php | 16 +-- .../Controllers/AnnounceControllerTest.php | 4 +- .../Controllers/ArticleControllerTest.php | 6 +- .../Auth/ActivationControllerTest.php | 2 +- .../Auth/ApplicationControllerTest.php | 2 +- .../Auth/ForgotUsernameControllerTest.php | 2 +- .../Auth/TwoStepControllerTest.php | 12 +- .../Http/Controllers/BonusControllerTest.php | 34 ++--- .../Controllers/BookmarkControllerTest.php | 12 +- .../Controllers/CategoryControllerTest.php | 6 +- .../Controllers/CommentControllerTest.php | 28 ++-- .../Controllers/ContactControllerTest.php | 4 +- .../Http/Controllers/FollowControllerTest.php | 10 +- .../ForumCategoryControllerTest.php | 14 +- .../Http/Controllers/ForumControllerTest.php | 26 ++-- .../Http/Controllers/HomeControllerTest.php | 4 +- .../Staff/ArticleControllerTest.php | 12 +- .../Staff/CategoryControllerTest.php | 12 +- .../Staff/ChatBotControllerTest.php | 14 +- .../Staff/ChatRoomControllerTest.php | 10 +- .../Staff/ChatStatusControllerTest.php | 10 +- .../Staff/CheaterControllerTest.php | 4 +- .../Staff/CommandControllerTest.php | 4 +- .../Controllers/Staff/GiftControllerTest.php | 6 +- .../Controllers/Staff/GroupControllerTest.php | 10 +- .../Staff/InviteControllerTest.php | 4 +- .../Staff/MassActionControllerTest.php | 6 +- .../Controllers/Staff/NoteControllerTest.php | 10 +- .../Controllers/Staff/PageControllerTest.php | 12 +- .../Controllers/Staff/TypeControllerTest.php | 12 +- .../Controllers/GraveyardControllerTest.php | 13 +- .../Http/Controllers/ImageControllerTest.php | 15 ++- .../Http/Controllers/InviteControllerTest.php | 13 +- .../Controllers/LanguageControllerTest.php | 5 +- .../Http/Controllers/LikeControllerTest.php | 9 +- .../NotificationControllerTest.php | 21 +-- .../Http/Controllers/PageControllerTest.php | 17 +-- .../Controllers/PlaylistControllerTest.php | 23 ++-- .../PlaylistTorrentControllerTest.php | 7 +- .../Http/Controllers/PollControllerTest.php | 13 +- .../Http/Controllers/PostControllerTest.php | 19 +-- .../PrivateMessageControllerTest.php | 27 ++-- .../Http/Controllers/ReportControllerTest.php | 13 +- .../Controllers/RequestControllerTest.php | 27 ++-- .../Http/Controllers/RssControllerTest.php | 23 ++-- .../Controllers/SeedboxControllerTest.php | 5 +- .../Staff/ApplicationControllerTest.php | 15 ++- .../Controllers/Staff/AuditControllerTest.php | 7 +- .../Staff/AuthenticationControllerTest.php | 3 +- .../Staff/BackupControllerTest.php | 13 +- .../Controllers/Staff/BanControllerTest.php | 11 +- .../Controllers/Staff/FlushControllerTest.php | 5 +- .../Controllers/Staff/ForumControllerTest.php | 19 +-- .../Controllers/Staff/HomeControllerTest.php | 3 +- .../Staff/ModerationControllerTest.php | 9 +- .../Controllers/Staff/PollControllerTest.php | 11 +- .../Staff/ReportControllerTest.php | 11 +- .../Controllers/Staff/RssControllerTest.php | 19 +-- .../Staff/SeedboxControllerTest.php | 7 +- .../Controllers/Staff/TagControllerTest.php | 15 ++- .../Controllers/Staff/UserControllerTest.php | 17 +-- .../Staff/VersionControllerTest.php | 3 +- .../Staff/WarningControllerTest.php | 3 +- .../Http/Controllers/StatsControllerTest.php | 37 ++--- .../SubscriptionControllerTest.php | 25 ++-- .../Http/Controllers/ThankControllerTest.php | 5 +- .../Http/Controllers/TopicControllerTest.php | 41 +++--- .../Controllers/TopicLabelControllerTest.php | 15 ++- .../Controllers/TorrentControllerTest.php | 79 +++++------ .../Http/Controllers/UserControllerTest.php | 127 +++++++++--------- .../Controllers/WarningControllerTest.php | 25 ++-- .../Http/Controllers/WishControllerTest.php | 11 +- 210 files changed, 2844 insertions(+), 1347 deletions(-) create mode 100644 app/Models/Upload.php diff --git a/app/Models/Album.php b/app/Models/Album.php index 06b1fe8ec9..cb672d244b 100644 --- a/app/Models/Album.php +++ b/app/Models/Album.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -46,6 +47,8 @@ */ class Album extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Application.php b/app/Models/Application.php index f4ead8f605..d82f98dad0 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Hootlex\Moderation\Moderatable; use Illuminate\Database\Eloquent\Model; @@ -54,6 +55,8 @@ */ class Application extends Model { + use HasFactory; + use Moderatable; use Auditable; diff --git a/app/Models/ApplicationImageProof.php b/app/Models/ApplicationImageProof.php index 06ab58d6f8..035f40819e 100644 --- a/app/Models/ApplicationImageProof.php +++ b/app/Models/ApplicationImageProof.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -37,6 +38,8 @@ */ class ApplicationImageProof extends Model { + use HasFactory; + /** * The Attributes That Are Mass Assignable. * diff --git a/app/Models/ApplicationUrlProof.php b/app/Models/ApplicationUrlProof.php index cde0f3f982..3ef40bf6df 100644 --- a/app/Models/ApplicationUrlProof.php +++ b/app/Models/ApplicationUrlProof.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -37,6 +38,8 @@ */ class ApplicationUrlProof extends Model { + use HasFactory; + /** * The Attributes That Are Mass Assignable. * diff --git a/app/Models/Article.php b/app/Models/Article.php index 585626cc63..88eb668348 100644 --- a/app/Models/Article.php +++ b/app/Models/Article.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; @@ -49,6 +50,8 @@ */ class Article extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Audit.php b/app/Models/Audit.php index 5e02ad4d40..1687ec3f24 100644 --- a/app/Models/Audit.php +++ b/app/Models/Audit.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -43,6 +44,8 @@ */ class Audit extends Model { + use HasFactory; + /** * The Attributes That Are Mass Assignable. * diff --git a/app/Models/Ban.php b/app/Models/Ban.php index 2e8a86056a..58b6cd2f2d 100644 --- a/app/Models/Ban.php +++ b/app/Models/Ban.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -45,6 +46,8 @@ */ class Ban extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/BonExchange.php b/app/Models/BonExchange.php index 003b9f0e6e..2c3fe1d613 100644 --- a/app/Models/BonExchange.php +++ b/app/Models/BonExchange.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class BonExchange extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/BonTransactions.php b/app/Models/BonTransactions.php index 635c6eecb8..873a174705 100644 --- a/app/Models/BonTransactions.php +++ b/app/Models/BonTransactions.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -50,6 +51,8 @@ */ class BonTransactions extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php index d59d9d53d8..4db2f5dad2 100644 --- a/app/Models/Bookmark.php +++ b/app/Models/Bookmark.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class Bookmark extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Bot.php b/app/Models/Bot.php index 30ea6ee96c..bc3d89b8e9 100644 --- a/app/Models/Bot.php +++ b/app/Models/Bot.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -77,6 +78,8 @@ */ class Bot extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/BotTransaction.php b/app/Models/BotTransaction.php index 88cdacd529..3c1f92acee 100644 --- a/app/Models/BotTransaction.php +++ b/app/Models/BotTransaction.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -49,6 +50,8 @@ */ class BotTransaction extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Category.php b/app/Models/Category.php index c4ab50b63d..fa5558ede0 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -55,6 +56,8 @@ */ class Category extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/ChatStatus.php b/app/Models/ChatStatus.php index c6fe4b589a..3bd74570a2 100644 --- a/app/Models/ChatStatus.php +++ b/app/Models/ChatStatus.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -41,6 +42,8 @@ */ class ChatStatus extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Chatroom.php b/app/Models/Chatroom.php index 459726705c..cf7abfc397 100644 --- a/app/Models/Chatroom.php +++ b/app/Models/Chatroom.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; @@ -42,6 +43,8 @@ */ class Chatroom extends Model { + use HasFactory; + use Notifiable; use Auditable; diff --git a/app/Models/Comment.php b/app/Models/Comment.php index 7433ddf4bd..42e1333ce6 100644 --- a/app/Models/Comment.php +++ b/app/Models/Comment.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; @@ -55,6 +56,8 @@ */ class Comment extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/FailedLoginAttempt.php b/app/Models/FailedLoginAttempt.php index 4c71a9803c..a42cb08e9b 100644 --- a/app/Models/FailedLoginAttempt.php +++ b/app/Models/FailedLoginAttempt.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -38,6 +39,8 @@ */ class FailedLoginAttempt extends Model { + use HasFactory; + /** * The Attributes That Are Mass Assignable. * diff --git a/app/Models/FeaturedTorrent.php b/app/Models/FeaturedTorrent.php index 09577ebbd6..abee68f450 100644 --- a/app/Models/FeaturedTorrent.php +++ b/app/Models/FeaturedTorrent.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class FeaturedTorrent extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Follow.php b/app/Models/Follow.php index 3c3b7fde0d..5af71f42ee 100644 --- a/app/Models/Follow.php +++ b/app/Models/Follow.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; @@ -42,6 +43,8 @@ */ class Follow extends Model { + use HasFactory; + use Notifiable; use Auditable; diff --git a/app/Models/Forum.php b/app/Models/Forum.php index ddf3f60242..e11e761db2 100644 --- a/app/Models/Forum.php +++ b/app/Models/Forum.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Notifications\NewTopic; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -70,6 +71,8 @@ */ class Forum extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/FreeleechToken.php b/app/Models/FreeleechToken.php index 6e4fc3f2b4..c3d939e32d 100644 --- a/app/Models/FreeleechToken.php +++ b/app/Models/FreeleechToken.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -37,5 +38,7 @@ */ class FreeleechToken extends Model { + use HasFactory; + use Auditable; } diff --git a/app/Models/GitUpdate.php b/app/Models/GitUpdate.php index dbed9b36a7..b0c8b2ab56 100644 --- a/app/Models/GitUpdate.php +++ b/app/Models/GitUpdate.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -36,5 +37,7 @@ */ class GitUpdate extends Model { + use HasFactory; + protected $guarded = ['id']; } diff --git a/app/Models/Graveyard.php b/app/Models/Graveyard.php index 93226baae7..dec3a0bed1 100644 --- a/app/Models/Graveyard.php +++ b/app/Models/Graveyard.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class Graveyard extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Group.php b/app/Models/Group.php index 81dad1ddcb..4cd5b522f6 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -69,6 +70,8 @@ */ class Group extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/History.php b/app/Models/History.php index 8ff5647033..da2993dcd8 100644 --- a/app/Models/History.php +++ b/app/Models/History.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Kyslik\ColumnSortable\Sortable; @@ -68,6 +69,8 @@ */ class History extends Model { + use HasFactory; + use Sortable; /** diff --git a/app/Models/Image.php b/app/Models/Image.php index 7d1c2d125d..66d3082737 100644 --- a/app/Models/Image.php +++ b/app/Models/Image.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -46,6 +47,8 @@ */ class Image extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Invite.php b/app/Models/Invite.php index 16e77080d7..275aeb1b82 100644 --- a/app/Models/Invite.php +++ b/app/Models/Invite.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -49,6 +50,8 @@ */ class Invite extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Like.php b/app/Models/Like.php index 56483e1263..44c5132579 100644 --- a/app/Models/Like.php +++ b/app/Models/Like.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class Like extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Message.php b/app/Models/Message.php index e9960c8abd..a43d20fa49 100644 --- a/app/Models/Message.php +++ b/app/Models/Message.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -48,6 +49,8 @@ */ class Message extends Model { + use HasFactory; + /** * The Attributes That Are Mass Assignable. * diff --git a/app/Models/Note.php b/app/Models/Note.php index a0fb1552a2..9138b1d9a3 100644 --- a/app/Models/Note.php +++ b/app/Models/Note.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -41,6 +42,8 @@ */ class Note extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Notification.php b/app/Models/Notification.php index 9d9b5d07cf..ed701f05c5 100644 --- a/app/Models/Notification.php +++ b/app/Models/Notification.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class Notification extends Model { + use HasFactory; + use Auditable; // diff --git a/app/Models/Option.php b/app/Models/Option.php index e49483c29e..e4fedcaf7b 100644 --- a/app/Models/Option.php +++ b/app/Models/Option.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -40,6 +41,8 @@ */ class Option extends Model { + use HasFactory; + use Auditable; /*** The Attributes That Are Mass Assignable. diff --git a/app/Models/Page.php b/app/Models/Page.php index 209a4a347f..91391d137e 100644 --- a/app/Models/Page.php +++ b/app/Models/Page.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\BBCodeConverter; use App\Helpers\Markdown; use App\Traits\Auditable; @@ -41,6 +42,8 @@ */ class Page extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Peer.php b/app/Models/Peer.php index e6a925380e..3e3813e909 100644 --- a/app/Models/Peer.php +++ b/app/Models/Peer.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Kyslik\ColumnSortable\Sortable; @@ -61,6 +62,8 @@ */ class Peer extends Model { + use HasFactory; + use Sortable; /** diff --git a/app/Models/Permission.php b/app/Models/Permission.php index ee0254969a..2a82005adb 100644 --- a/app/Models/Permission.php +++ b/app/Models/Permission.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class Permission extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/PersonalFreeleech.php b/app/Models/PersonalFreeleech.php index a7e3d0f603..f298e3d7b9 100644 --- a/app/Models/PersonalFreeleech.php +++ b/app/Models/PersonalFreeleech.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -35,6 +36,8 @@ */ class PersonalFreeleech extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php index 30b4fe19e4..aad8707dc3 100644 --- a/app/Models/Playlist.php +++ b/app/Models/Playlist.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -54,6 +55,8 @@ */ class Playlist extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/PlaylistTorrent.php b/app/Models/PlaylistTorrent.php index 800f41ae9b..959babba1c 100644 --- a/app/Models/PlaylistTorrent.php +++ b/app/Models/PlaylistTorrent.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class PlaylistTorrent extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Poll.php b/app/Models/Poll.php index 041ad8b010..0df5b02af1 100644 --- a/app/Models/Poll.php +++ b/app/Models/Poll.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; @@ -47,6 +48,8 @@ */ class Poll extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Post.php b/app/Models/Post.php index 153206575a..d568089f25 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; @@ -48,6 +49,8 @@ */ class Post extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/PrivateMessage.php b/app/Models/PrivateMessage.php index c9ed8823ff..ca67dee462 100644 --- a/app/Models/PrivateMessage.php +++ b/app/Models/PrivateMessage.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; @@ -50,6 +51,8 @@ */ class PrivateMessage extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Report.php b/app/Models/Report.php index 45c764618d..b65b77073a 100644 --- a/app/Models/Report.php +++ b/app/Models/Report.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -58,6 +59,8 @@ */ class Report extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Resolution.php b/app/Models/Resolution.php index ce440b4cd9..b67c6b6cb0 100644 --- a/app/Models/Resolution.php +++ b/app/Models/Resolution.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -40,6 +41,8 @@ */ class Resolution extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Rss.php b/app/Models/Rss.php index 65fde3400b..707c3f2d94 100644 --- a/app/Models/Rss.php +++ b/app/Models/Rss.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; @@ -57,6 +58,8 @@ */ class Rss extends Model { + use HasFactory; + use SoftDeletes; use Auditable; diff --git a/app/Models/Seedbox.php b/app/Models/Seedbox.php index b47d560ea2..6482993d78 100644 --- a/app/Models/Seedbox.php +++ b/app/Models/Seedbox.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use App\Traits\Encryptable; use Illuminate\Database\Eloquent\Model; @@ -41,6 +42,8 @@ */ class Seedbox extends Model { + use HasFactory; + use Encryptable; use Auditable; diff --git a/app/Models/Subscription.php b/app/Models/Subscription.php index a6b13283df..f22b03ff94 100644 --- a/app/Models/Subscription.php +++ b/app/Models/Subscription.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -42,6 +43,8 @@ */ class Subscription extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Tag.php b/app/Models/Tag.php index 8b34ad8fd8..50a555fe48 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -35,6 +36,8 @@ */ class Tag extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/TagTorrent.php b/app/Models/TagTorrent.php index 0b1f26ee7e..370a1c87e0 100644 --- a/app/Models/TagTorrent.php +++ b/app/Models/TagTorrent.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -33,6 +34,8 @@ */ class TagTorrent extends Model { + use HasFactory; + /** * The Database Table Used By The Model. * diff --git a/app/Models/Thank.php b/app/Models/Thank.php index 0122572c8a..32e7509c20 100644 --- a/app/Models/Thank.php +++ b/app/Models/Thank.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class Thank extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Topic.php b/app/Models/Topic.php index ae57aa8172..454abebc92 100644 --- a/app/Models/Topic.php +++ b/app/Models/Topic.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Notifications\NewPost; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -78,6 +79,8 @@ */ class Topic extends Model { + use HasFactory; + use Auditable; protected $casts = [ diff --git a/app/Models/Torrent.php b/app/Models/Torrent.php index 085acfed7b..90fa433cba 100644 --- a/app/Models/Torrent.php +++ b/app/Models/Torrent.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Helpers\MediaInfo; @@ -137,6 +138,8 @@ */ class Torrent extends Model { + use HasFactory; + use Moderatable; use Sortable; use Auditable; diff --git a/app/Models/TorrentFile.php b/app/Models/TorrentFile.php index 30602443e6..f6fc05ea3d 100644 --- a/app/Models/TorrentFile.php +++ b/app/Models/TorrentFile.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\StringHelper; use Illuminate\Database\Eloquent\Model; @@ -36,6 +37,8 @@ */ class TorrentFile extends Model { + use HasFactory; + /** * Indicates If The Model Should Be Timestamped. * diff --git a/app/Models/TorrentRequest.php b/app/Models/TorrentRequest.php index f6275ee825..17cfcbe330 100644 --- a/app/Models/TorrentRequest.php +++ b/app/Models/TorrentRequest.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Notifications\NewComment; @@ -87,6 +88,8 @@ */ class TorrentRequest extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/TorrentRequestBounty.php b/app/Models/TorrentRequestBounty.php index 246010e2ad..05a00ec477 100644 --- a/app/Models/TorrentRequestBounty.php +++ b/app/Models/TorrentRequestBounty.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -43,6 +44,8 @@ */ class TorrentRequestBounty extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/TorrentRequestClaim.php b/app/Models/TorrentRequestClaim.php index ab73c8a22b..54f8220280 100644 --- a/app/Models/TorrentRequestClaim.php +++ b/app/Models/TorrentRequestClaim.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class TorrentRequestClaim extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/TwoStepAuth.php b/app/Models/TwoStepAuth.php index 87056d24ce..08d08d139d 100644 --- a/app/Models/TwoStepAuth.php +++ b/app/Models/TwoStepAuth.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -45,6 +46,8 @@ */ class TwoStepAuth extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Type.php b/app/Models/Type.php index 81c6981d91..3844c85f5d 100644 --- a/app/Models/Type.php +++ b/app/Models/Type.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class Type extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Upload.php b/app/Models/Upload.php new file mode 100644 index 0000000000..40ef603268 --- /dev/null +++ b/app/Models/Upload.php @@ -0,0 +1,3 @@ + use HasFactory; + +use Illuminate\Database\Eloquent\Factories\HasFactory; diff --git a/app/Models/User.php b/app/Models/User.php index f41a084cbb..8bee6a9e14 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Helpers\StringHelper; @@ -27,6 +28,8 @@ class User extends Authenticatable { + use HasFactory; + use Notifiable; use Achiever; use SoftDeletes; diff --git a/app/Models/UserActivation.php b/app/Models/UserActivation.php index f09de9014c..4db9d14076 100644 --- a/app/Models/UserActivation.php +++ b/app/Models/UserActivation.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -38,6 +39,8 @@ */ class UserActivation extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/UserAudible.php b/app/Models/UserAudible.php index 0b0053dca6..ea5f3bf839 100644 --- a/app/Models/UserAudible.php +++ b/app/Models/UserAudible.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -46,6 +47,8 @@ */ class UserAudible extends Model { + use HasFactory; + /** * Indicates If The Model Should Be Timestamped. * diff --git a/app/Models/UserEcho.php b/app/Models/UserEcho.php index 43a434f63c..603cf54889 100644 --- a/app/Models/UserEcho.php +++ b/app/Models/UserEcho.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -44,6 +45,8 @@ */ class UserEcho extends Model { + use HasFactory; + /** * Indicates If The Model Should Be Timestamped. * diff --git a/app/Models/UserNotification.php b/app/Models/UserNotification.php index 8982765ec0..36321382f7 100644 --- a/app/Models/UserNotification.php +++ b/app/Models/UserNotification.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -92,6 +93,8 @@ */ class UserNotification extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/UserPrivacy.php b/app/Models/UserPrivacy.php index b1ca4427b8..625deec77a 100644 --- a/app/Models/UserPrivacy.php +++ b/app/Models/UserPrivacy.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -112,6 +113,8 @@ */ class UserPrivacy extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Voter.php b/app/Models/Voter.php index 6edeab23e2..c47dcc70f1 100644 --- a/app/Models/Voter.php +++ b/app/Models/Voter.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -39,6 +40,8 @@ */ class Voter extends Model { + use HasFactory; + use Auditable; /** diff --git a/app/Models/Warning.php b/app/Models/Warning.php index 091ab32a78..5f9f8714fa 100644 --- a/app/Models/Warning.php +++ b/app/Models/Warning.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; @@ -57,6 +58,8 @@ */ class Warning extends Model { + use HasFactory; + use SoftDeletes; use Auditable; diff --git a/app/Models/Wish.php b/app/Models/Wish.php index 01ddc16546..545e6e1dcf 100644 --- a/app/Models/Wish.php +++ b/app/Models/Wish.php @@ -13,6 +13,7 @@ namespace App\Models; +use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; @@ -44,6 +45,8 @@ */ class Wish extends Model { + use HasFactory; + use Auditable; /** diff --git a/database/factories/AlbumFactory.php b/database/factories/AlbumFactory.php index 8789868bbf..4fa03a0dc2 100644 --- a/database/factories/AlbumFactory.php +++ b/database/factories/AlbumFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Album::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class AlbumFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Album::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'name' => $faker->name, - 'description' => $faker->text, - 'imdb' => $faker->word, - 'cover_image' => $faker->word, + 'name' => $this->faker->name, + 'description' => $this->faker->text, + 'imdb' => $this->faker->word, + 'cover_image' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/ApplicationFactory.php b/database/factories/ApplicationFactory.php index 2a0200c188..ead4528473 100644 --- a/database/factories/ApplicationFactory.php +++ b/database/factories/ApplicationFactory.php @@ -2,18 +2,37 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Application::class, function (Faker $faker) { - return [ - 'type' => $faker->word, - 'email' => $faker->unique()->safeEmail, - 'referrer' => $faker->text, - 'status' => $faker->boolean, - 'moderated_at' => $faker->dateTime(), +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ApplicationFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Application::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'type' => $this->faker->word, + 'email' => $this->faker->unique()->safeEmail, + 'referrer' => $this->faker->text, + 'status' => $this->faker->boolean, + 'moderated_at' => $this->faker->dateTime(), 'moderated_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'accepted_by' => $faker->randomNumber(), + 'accepted_by' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/ApplicationImageProofFactory.php b/database/factories/ApplicationImageProofFactory.php index e4968881fc..a1e9a028de 100644 --- a/database/factories/ApplicationImageProofFactory.php +++ b/database/factories/ApplicationImageProofFactory.php @@ -2,13 +2,32 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\ApplicationImageProof::class, function (Faker $faker) { - return [ +use App\Models\Application; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ApplicationImageProofFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\ApplicationImageProof::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'application_id' => function () { - return factory(App\Models\Application::class)->create()->id; + return Application::factory()->create()->id; }, - 'image' => $faker->word, + 'image' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/ApplicationUrlProofFactory.php b/database/factories/ApplicationUrlProofFactory.php index 19859b7c56..96e4077515 100644 --- a/database/factories/ApplicationUrlProofFactory.php +++ b/database/factories/ApplicationUrlProofFactory.php @@ -2,13 +2,32 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\ApplicationUrlProof::class, function (Faker $faker) { - return [ +use App\Models\Application; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ApplicationUrlProofFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\ApplicationUrlProof::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'application_id' => function () { - return factory(App\Models\Application::class)->create()->id; + return Application::factory()->create()->id; }, - 'url' => $faker->url, + 'url' => $this->faker->url, ]; -}); + } +} diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php index cd11e5cd53..f8df110ab7 100644 --- a/database/factories/ArticleFactory.php +++ b/database/factories/ArticleFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Article::class, function (Faker $faker) { - return [ - 'title' => $faker->word, - 'slug' => $faker->slug, - 'image' => $faker->word, - 'content' => $faker->text, +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ArticleFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Article::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'title' => $this->faker->word, + 'slug' => $this->faker->slug, + 'image' => $this->faker->word, + 'content' => $this->faker->text, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/AuditFactory.php b/database/factories/AuditFactory.php index 4369e36525..c10f77290b 100644 --- a/database/factories/AuditFactory.php +++ b/database/factories/AuditFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Audit::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class AuditFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Audit::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'model_name' => $faker->word, - 'model_entry_id' => $faker->randomNumber(), - 'action' => $faker->word, - 'record' => $faker->word, + 'model_name' => $this->faker->word, + 'model_entry_id' => $this->faker->randomNumber(), + 'action' => $this->faker->word, + 'record' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/BanFactory.php b/database/factories/BanFactory.php index c093ab8d01..61dcb99f32 100644 --- a/database/factories/BanFactory.php +++ b/database/factories/BanFactory.php @@ -2,18 +2,37 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Ban::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class BanFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Ban::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'owned_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'created_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'ban_reason' => $faker->text, - 'unban_reason' => $faker->text, - 'removed_at' => $faker->dateTime(), + 'ban_reason' => $this->faker->text, + 'unban_reason' => $this->faker->text, + 'removed_at' => $this->faker->dateTime(), ]; -}); + } +} diff --git a/database/factories/BonExchangeFactory.php b/database/factories/BonExchangeFactory.php index d73699adf9..3deb9d14e5 100644 --- a/database/factories/BonExchangeFactory.php +++ b/database/factories/BonExchangeFactory.php @@ -2,16 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\BonExchange::class, function (Faker $faker) { - return [ - 'description' => $faker->text, - 'value' => $faker->randomNumber(), - 'cost' => $faker->randomNumber(), - 'upload' => $faker->boolean, - 'download' => $faker->boolean, - 'personal_freeleech' => $faker->boolean, - 'invite' => $faker->boolean, +use Illuminate\Database\Eloquent\Factories\Factory; + +class BonExchangeFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\BonExchange::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'description' => $this->faker->text, + 'value' => $this->faker->randomNumber(), + 'cost' => $this->faker->randomNumber(), + 'upload' => $this->faker->boolean, + 'download' => $this->faker->boolean, + 'personal_freeleech' => $this->faker->boolean, + 'invite' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/BonTransactionsFactory.php b/database/factories/BonTransactionsFactory.php index 26226a7159..eccb025337 100644 --- a/database/factories/BonTransactionsFactory.php +++ b/database/factories/BonTransactionsFactory.php @@ -2,25 +2,44 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\BonTransactions::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class BonTransactionsFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\BonTransactions::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'itemID' => function () { - return factory(App\Models\BonExchange::class)->create()->id; + return BonExchange::factory()->create()->id; }, - 'name' => $faker->name, - 'cost' => $faker->randomFloat(), + 'name' => $this->faker->name, + 'cost' => $this->faker->randomFloat(), 'sender' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'receiver' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'torrent_id' => $faker->randomNumber(), - 'donation_id' => $faker->randomNumber(), - 'post_id' => $faker->randomNumber(), - 'comment' => $faker->text, - 'date_actioned' => $faker->dateTime(), + 'torrent_id' => $this->faker->randomNumber(), + 'donation_id' => $this->faker->randomNumber(), + 'post_id' => $this->faker->randomNumber(), + 'comment' => $this->faker->text, + 'date_actioned' => $this->faker->dateTime(), ]; -}); + } +} diff --git a/database/factories/BookmarkFactory.php b/database/factories/BookmarkFactory.php index 0023053d4d..1c26a49d67 100644 --- a/database/factories/BookmarkFactory.php +++ b/database/factories/BookmarkFactory.php @@ -2,15 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Bookmark::class, function (Faker $faker) { - return [ +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class BookmarkFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Bookmark::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/BotFactory.php b/database/factories/BotFactory.php index b6a62b5a86..83488cf7fe 100644 --- a/database/factories/BotFactory.php +++ b/database/factories/BotFactory.php @@ -2,31 +2,49 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Bot::class, function (Faker $faker) { - return [ - 'position' => $faker->randomNumber(), - 'slug' => $faker->slug, - 'name' => $faker->name, - 'command' => $faker->word, - 'color' => $faker->word, - 'icon' => $faker->word, - 'emoji' => $faker->word, - 'info' => $faker->word, - 'about' => $faker->word, - 'help' => $faker->text, - 'active' => $faker->boolean, - 'is_protected' => $faker->boolean, - 'is_triviabot' => $faker->boolean, - 'is_nerdbot' => $faker->boolean, - 'is_systembot' => $faker->boolean, - 'is_casinobot' => $faker->boolean, - 'is_betbot' => $faker->boolean, - 'uploaded' => $faker->randomNumber(), - 'downloaded' => $faker->randomNumber(), - 'fl_tokens' => $faker->randomNumber(), - 'seedbonus' => $faker->randomFloat(), - 'invites' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class BotFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Bot::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'position' => $this->faker->randomNumber(), + 'slug' => $this->faker->slug, + 'name' => $this->faker->name, + 'command' => $this->faker->word, + 'color' => $this->faker->word, + 'icon' => $this->faker->word, + 'emoji' => $this->faker->word, + 'info' => $this->faker->word, + 'about' => $this->faker->word, + 'help' => $this->faker->text, + 'active' => $this->faker->boolean, + 'is_protected' => $this->faker->boolean, + 'is_triviabot' => $this->faker->boolean, + 'is_nerdbot' => $this->faker->boolean, + 'is_systembot' => $this->faker->boolean, + 'is_casinobot' => $this->faker->boolean, + 'is_betbot' => $this->faker->boolean, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'fl_tokens' => $this->faker->randomNumber(), + 'seedbonus' => $this->faker->randomFloat(), + 'invites' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/BotTransactionFactory.php b/database/factories/BotTransactionFactory.php index 2a3151cca3..7799fa2b7f 100644 --- a/database/factories/BotTransactionFactory.php +++ b/database/factories/BotTransactionFactory.php @@ -2,20 +2,39 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\BotTransaction::class, function (Faker $faker) { - return [ - 'type' => $faker->word, - 'cost' => $faker->randomFloat(), +use App\Models\Bot; +use Illuminate\Database\Eloquent\Factories\Factory; + +class BotTransactionFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\BotTransaction::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'type' => $this->faker->word, + 'cost' => $this->faker->randomFloat(), 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'bot_id' => function () { - return factory(App\Models\Bot::class)->create()->id; + return Bot::factory()->create()->id; }, - 'to_user' => $faker->boolean, - 'to_bot' => $faker->boolean, - 'comment' => $faker->text, + 'to_user' => $this->faker->boolean, + 'to_bot' => $this->faker->boolean, + 'comment' => $this->faker->text, ]; -}); + } +} diff --git a/database/factories/CategoryFactory.php b/database/factories/CategoryFactory.php index 4bd253295f..a5ac1b0948 100644 --- a/database/factories/CategoryFactory.php +++ b/database/factories/CategoryFactory.php @@ -2,20 +2,38 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Category::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'image' => $faker->word, - 'position' => $faker->randomNumber(), - 'icon' => $faker->word, - 'no_meta' => $faker->boolean, - 'music_meta' => $faker->boolean, - 'game_meta' => $faker->boolean, - 'tv_meta' => $faker->boolean, - 'movie_meta' => $faker->boolean, - 'num_torrent' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class CategoryFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Category::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'image' => $this->faker->word, + 'position' => $this->faker->randomNumber(), + 'icon' => $this->faker->word, + 'no_meta' => $this->faker->boolean, + 'music_meta' => $this->faker->boolean, + 'game_meta' => $this->faker->boolean, + 'tv_meta' => $this->faker->boolean, + 'movie_meta' => $this->faker->boolean, + 'num_torrent' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/ChatStatusFactory.php b/database/factories/ChatStatusFactory.php index e2da573c77..6037cace37 100644 --- a/database/factories/ChatStatusFactory.php +++ b/database/factories/ChatStatusFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\ChatStatus::class, function (Faker $faker) { - return [ - 'name' => $faker->unique()->name, - 'color' => $faker->unique()->word, - 'icon' => $faker->word, +use Illuminate\Database\Eloquent\Factories\Factory; + +class ChatStatusFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\ChatStatus::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->unique()->name, + 'color' => $this->faker->unique()->word, + 'icon' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/ChatroomFactory.php b/database/factories/ChatroomFactory.php index 747bef4087..4b57da8029 100644 --- a/database/factories/ChatroomFactory.php +++ b/database/factories/ChatroomFactory.php @@ -2,10 +2,28 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Chatroom::class, function (Faker $faker) { - return [ - 'name' => $faker->unique()->word, +use Illuminate\Database\Eloquent\Factories\Factory; + +class ChatroomFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Chatroom::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->unique()->word, ]; -}); + } +} diff --git a/database/factories/CommentFactory.php b/database/factories/CommentFactory.php index f2a9467817..2931de72db 100644 --- a/database/factories/CommentFactory.php +++ b/database/factories/CommentFactory.php @@ -2,26 +2,45 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Comment::class, function (Faker $faker) { - return [ - 'content' => $faker->text, - 'anon' => (int) $faker->boolean(), +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class CommentFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Comment::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'content' => $this->faker->text, + 'anon' => (int) $this->faker->boolean(), 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, 'article_id' => function () { - return factory(App\Models\Article::class)->create()->id; + return Article::factory()->create()->id; }, 'requests_id' => function () { - return factory(App\Models\TorrentRequest::class)->create()->id; + return TorrentRequest::factory()->create()->id; }, 'playlist_id' => function () { - return factory(App\Models\Playlist::class)->create()->id; + return Playlist::factory()->create()->id; }, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/FailedLoginAttemptFactory.php b/database/factories/FailedLoginAttemptFactory.php index f85f8c0de5..f0850d2ac5 100644 --- a/database/factories/FailedLoginAttemptFactory.php +++ b/database/factories/FailedLoginAttemptFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\FailedLoginAttempt::class, function (Faker $faker) { - return [ - 'user_id' => $faker->randomNumber(), - 'username' => $faker->userName, - 'ip_address' => $faker->word, +use Illuminate\Database\Eloquent\Factories\Factory; + +class FailedLoginAttemptFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\FailedLoginAttempt::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'user_id' => $this->faker->randomNumber(), + 'username' => $this->faker->userName, + 'ip_address' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/FeaturedTorrentFactory.php b/database/factories/FeaturedTorrentFactory.php index b6c5249086..a065e0b0e7 100644 --- a/database/factories/FeaturedTorrentFactory.php +++ b/database/factories/FeaturedTorrentFactory.php @@ -2,15 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\FeaturedTorrent::class, function (Faker $faker) { - return [ +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class FeaturedTorrentFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\FeaturedTorrent::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/FollowFactory.php b/database/factories/FollowFactory.php index 4979542d01..6bb0109537 100644 --- a/database/factories/FollowFactory.php +++ b/database/factories/FollowFactory.php @@ -2,15 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Follow::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class FollowFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Follow::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'target_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/ForumFactory.php b/database/factories/ForumFactory.php index 81f1e87956..84f8e3c397 100644 --- a/database/factories/ForumFactory.php +++ b/database/factories/ForumFactory.php @@ -2,21 +2,39 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Forum::class, function (Faker $faker) { - return [ - 'position' => $faker->randomNumber(), - 'num_topic' => $faker->randomNumber(), - 'num_post' => $faker->randomNumber(), - 'last_topic_id' => $faker->randomNumber(), - 'last_topic_name' => $faker->word, - 'last_topic_slug' => $faker->word, - 'last_post_user_id' => $faker->randomNumber(), - 'last_post_user_username' => $faker->word, - 'name' => $faker->name, - 'slug' => $faker->slug, - 'description' => $faker->text, - 'parent_id' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class ForumFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Forum::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'position' => $this->faker->randomNumber(), + 'num_topic' => $this->faker->randomNumber(), + 'num_post' => $this->faker->randomNumber(), + 'last_topic_id' => $this->faker->randomNumber(), + 'last_topic_name' => $this->faker->word, + 'last_topic_slug' => $this->faker->word, + 'last_post_user_id' => $this->faker->randomNumber(), + 'last_post_user_username' => $this->faker->word, + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'description' => $this->faker->text, + 'parent_id' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/FreeleechTokenFactory.php b/database/factories/FreeleechTokenFactory.php index da6015b121..235e5dadb0 100644 --- a/database/factories/FreeleechTokenFactory.php +++ b/database/factories/FreeleechTokenFactory.php @@ -2,11 +2,29 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\FreeleechToken::class, function (Faker $faker) { - return [ - 'user_id' => $faker->randomNumber(), - 'torrent_id' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class FreeleechTokenFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\FreeleechToken::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'user_id' => $this->faker->randomNumber(), + 'torrent_id' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/GitUpdateFactory.php b/database/factories/GitUpdateFactory.php index 21eabcc502..9106d40dc1 100644 --- a/database/factories/GitUpdateFactory.php +++ b/database/factories/GitUpdateFactory.php @@ -2,11 +2,29 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\GitUpdate::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'hash' => $faker->word, +use Illuminate\Database\Eloquent\Factories\Factory; + +class GitUpdateFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\GitUpdate::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'hash' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/GraveyardFactory.php b/database/factories/GraveyardFactory.php index fdc457db8f..a2d7457042 100644 --- a/database/factories/GraveyardFactory.php +++ b/database/factories/GraveyardFactory.php @@ -2,17 +2,36 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Graveyard::class, function (Faker $faker) { - return [ +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class GraveyardFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Graveyard::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, - 'seedtime' => $faker->randomNumber(), - 'rewarded' => $faker->boolean, + 'seedtime' => $this->faker->randomNumber(), + 'rewarded' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/GroupFactory.php b/database/factories/GroupFactory.php index 1b864f548c..3351d68923 100644 --- a/database/factories/GroupFactory.php +++ b/database/factories/GroupFactory.php @@ -2,27 +2,45 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Group::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'position' => $faker->randomNumber(), - 'level' => $faker->randomNumber(), - 'color' => $faker->word, - 'icon' => $faker->word, - 'effect' => $faker->word, - 'is_internal' => $faker->boolean, - 'is_owner' => $faker->boolean, - 'is_admin' => $faker->boolean, - 'is_modo' => $faker->boolean, - 'is_trusted' => $faker->boolean, - 'is_immune' => $faker->boolean, - 'is_freeleech' => $faker->boolean, - 'is_double_upload' => $faker->boolean, - 'can_upload' => $faker->boolean, - 'is_incognito' => $faker->boolean, - 'autogroup' => $faker->boolean, +use Illuminate\Database\Eloquent\Factories\Factory; + +class GroupFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Group::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), + 'level' => $this->faker->randomNumber(), + 'color' => $this->faker->word, + 'icon' => $this->faker->word, + 'effect' => $this->faker->word, + 'is_internal' => $this->faker->boolean, + 'is_owner' => $this->faker->boolean, + 'is_admin' => $this->faker->boolean, + 'is_modo' => $this->faker->boolean, + 'is_trusted' => $this->faker->boolean, + 'is_immune' => $this->faker->boolean, + 'is_freeleech' => $this->faker->boolean, + 'is_double_upload' => $this->faker->boolean, + 'can_upload' => $this->faker->boolean, + 'is_incognito' => $this->faker->boolean, + 'autogroup' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/HistoryFactory.php b/database/factories/HistoryFactory.php index 28b5eff2ba..296837387e 100644 --- a/database/factories/HistoryFactory.php +++ b/database/factories/HistoryFactory.php @@ -2,30 +2,49 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\History::class, function (Faker $faker) { - return [ +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class HistoryFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\History::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'agent' => $faker->word, + 'agent' => $this->faker->word, 'info_hash' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, - 'uploaded' => $faker->randomNumber(), - 'actual_uploaded' => $faker->randomNumber(), - 'client_uploaded' => $faker->randomNumber(), - 'downloaded' => $faker->randomNumber(), - 'actual_downloaded' => $faker->randomNumber(), - 'client_downloaded' => $faker->randomNumber(), - 'seeder' => $faker->boolean, - 'active' => $faker->boolean, - 'seedtime' => $faker->randomNumber(), - 'immune' => $faker->boolean, - 'hitrun' => $faker->boolean, - 'prewarn' => $faker->boolean, - 'completed_at' => $faker->dateTime(), - 'deleted_at' => $faker->dateTime(), + 'uploaded' => $this->faker->randomNumber(), + 'actual_uploaded' => $this->faker->randomNumber(), + 'client_uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'actual_downloaded' => $this->faker->randomNumber(), + 'client_downloaded' => $this->faker->randomNumber(), + 'seeder' => $this->faker->boolean, + 'active' => $this->faker->boolean, + 'seedtime' => $this->faker->randomNumber(), + 'immune' => $this->faker->boolean, + 'hitrun' => $this->faker->boolean, + 'prewarn' => $this->faker->boolean, + 'completed_at' => $this->faker->dateTime(), + 'deleted_at' => $this->faker->dateTime(), ]; -}); + } +} diff --git a/database/factories/ImageFactory.php b/database/factories/ImageFactory.php index f36ad2410e..c456a739fe 100644 --- a/database/factories/ImageFactory.php +++ b/database/factories/ImageFactory.php @@ -2,17 +2,36 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Image::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ImageFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Image::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'album_id' => $faker->randomNumber(), - 'image' => $faker->word, - 'description' => $faker->text, - 'type' => $faker->word, - 'downloads' => $faker->randomNumber(), + 'album_id' => $this->faker->randomNumber(), + 'image' => $this->faker->word, + 'description' => $this->faker->text, + 'type' => $this->faker->word, + 'downloads' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/InviteFactory.php b/database/factories/InviteFactory.php index ee7bda2144..4c01ad77d7 100644 --- a/database/factories/InviteFactory.php +++ b/database/factories/InviteFactory.php @@ -2,20 +2,39 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Invite::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class InviteFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Invite::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'email' => $faker->safeEmail, - 'code' => $faker->word, - 'expires_on' => $faker->dateTime(), + 'email' => $this->faker->safeEmail, + 'code' => $this->faker->word, + 'expires_on' => $this->faker->dateTime(), 'accepted_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'accepted_at' => $faker->dateTime(), - 'custom' => $faker->text, + 'accepted_at' => $this->faker->dateTime(), + 'custom' => $this->faker->text, ]; -}); + } +} diff --git a/database/factories/LikeFactory.php b/database/factories/LikeFactory.php index ac567f20e2..95c8231935 100644 --- a/database/factories/LikeFactory.php +++ b/database/factories/LikeFactory.php @@ -2,18 +2,37 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Like::class, function (Faker $faker) { - return [ +use App\Models\Post; +use Illuminate\Database\Eloquent\Factories\Factory; + +class LikeFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Like::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'post_id' => function () { - return factory(App\Models\Post::class)->create()->id; + return Post::factory()->create()->id; }, - 'subtitle_id' => $faker->randomNumber(), - 'like' => $faker->boolean, - 'dislike' => $faker->boolean, + 'subtitle_id' => $this->faker->randomNumber(), + 'like' => $this->faker->boolean, + 'dislike' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/MessageFactory.php b/database/factories/MessageFactory.php index 9e14836856..e6323e9b75 100644 --- a/database/factories/MessageFactory.php +++ b/database/factories/MessageFactory.php @@ -2,22 +2,41 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Message::class, function (Faker $faker) { - return [ +use App\Models\Bot; +use Illuminate\Database\Eloquent\Factories\Factory; + +class MessageFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Message::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'chatroom_id' => function () { - return factory(App\Models\Chatroom::class)->create()->id; + return Chatroom::factory()->create()->id; }, 'receiver_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'bot_id' => function () { - return factory(App\Models\Bot::class)->create()->id; + return Bot::factory()->create()->id; }, - 'message' => $faker->text, + 'message' => $this->faker->text, ]; -}); + } +} diff --git a/database/factories/NoteFactory.php b/database/factories/NoteFactory.php index b33bf24d35..541f716949 100644 --- a/database/factories/NoteFactory.php +++ b/database/factories/NoteFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Note::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class NoteFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Note::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'staff_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'message' => $faker->text, + 'message' => $this->faker->text, ]; -}); + } +} diff --git a/database/factories/NotificationFactory.php b/database/factories/NotificationFactory.php index 213f70865a..5b11bad55e 100644 --- a/database/factories/NotificationFactory.php +++ b/database/factories/NotificationFactory.php @@ -2,14 +2,32 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; - -$factory->define(App\Models\Notification::class, function (Faker $faker) { - return [ - 'type' => $faker->word, - 'notifiable_id' => $faker->randomNumber(), - 'notifiable_type' => $faker->word, - 'data' => $faker->text, - 'read_at' => $faker->dateTime(), +namespace Database\Factories; + +use Illuminate\Database\Eloquent\Factories\Factory; + +class NotificationFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Notification::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'type' => $this->faker->word, + 'notifiable_id' => $this->faker->randomNumber(), + 'notifiable_type' => $this->faker->word, + 'data' => $this->faker->text, + 'read_at' => $this->faker->dateTime(), ]; -}); + } +} diff --git a/database/factories/OptionFactory.php b/database/factories/OptionFactory.php index 33917801c8..ed4c1fb87e 100644 --- a/database/factories/OptionFactory.php +++ b/database/factories/OptionFactory.php @@ -2,14 +2,33 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Option::class, function (Faker $faker) { - return [ +use App\Models\Poll; +use Illuminate\Database\Eloquent\Factories\Factory; + +class OptionFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Option::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'poll_id' => function () { - return factory(App\Models\Poll::class)->create()->id; + return Poll::factory()->create()->id; }, - 'name' => $faker->name, - 'votes' => $faker->randomNumber(), + 'name' => $this->faker->name, + 'votes' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/PageFactory.php b/database/factories/PageFactory.php index 6b2e5bc723..b04c8cd52e 100644 --- a/database/factories/PageFactory.php +++ b/database/factories/PageFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Page::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'content' => $faker->text, +use Illuminate\Database\Eloquent\Factories\Factory; + +class PageFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Page::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'content' => $this->faker->text, ]; -}); + } +} diff --git a/database/factories/PeerFactory.php b/database/factories/PeerFactory.php index c4cb066ad7..a2bf0d9931 100644 --- a/database/factories/PeerFactory.php +++ b/database/factories/PeerFactory.php @@ -2,28 +2,47 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Peer::class, function (Faker $faker) { - return [ - 'peer_id' => $faker->word, - 'md5_peer_id' => $faker->word, - 'info_hash' => $faker->word, - 'ip' => $faker->word, - 'port' => $faker->randomNumber(), - 'agent' => $faker->word, - 'uploaded' => $faker->randomNumber(), - 'downloaded' => $faker->randomNumber(), - 'left' => $faker->randomNumber(), - 'seeder' => $faker->boolean, +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PeerFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Peer::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'peer_id' => $this->faker->word, + 'md5_peer_id' => $this->faker->word, + 'info_hash' => $this->faker->word, + 'ip' => $this->faker->word, + 'port' => $this->faker->randomNumber(), + 'agent' => $this->faker->word, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'left' => $this->faker->randomNumber(), + 'seeder' => $this->faker->boolean, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrents.id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/PermissionFactory.php b/database/factories/PermissionFactory.php index 2b7d0f95d2..6b0e139d55 100644 --- a/database/factories/PermissionFactory.php +++ b/database/factories/PermissionFactory.php @@ -2,19 +2,38 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Permission::class, function (Faker $faker) { - return [ +use App\Models\Group; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PermissionFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Permission::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'forum_id' => function () { - return factory(App\Models\Forum::class)->create()->id; + return Forum::factory()->create()->id; }, 'group_id' => function () { - return factory(App\Models\Group::class)->create()->id; + return Group::factory()->create()->id; }, - 'show_forum' => $faker->boolean, - 'read_topic' => $faker->boolean, - 'reply_topic' => $faker->boolean, - 'start_topic' => $faker->boolean, + 'show_forum' => $this->faker->boolean, + 'read_topic' => $this->faker->boolean, + 'reply_topic' => $this->faker->boolean, + 'start_topic' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/PersonalFreeleechFactory.php b/database/factories/PersonalFreeleechFactory.php index 50011e7f82..8d79783d9a 100644 --- a/database/factories/PersonalFreeleechFactory.php +++ b/database/factories/PersonalFreeleechFactory.php @@ -2,10 +2,28 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\PersonalFreeleech::class, function (Faker $faker) { - return [ - 'user_id' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class PersonalFreeleechFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\PersonalFreeleech::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'user_id' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/PlaylistFactory.php b/database/factories/PlaylistFactory.php index 7df8794280..e31605c768 100644 --- a/database/factories/PlaylistFactory.php +++ b/database/factories/PlaylistFactory.php @@ -2,19 +2,38 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Playlist::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PlaylistFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Playlist::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'name' => $faker->name, - 'description' => $faker->text, - 'cover_image' => $faker->word, - 'position' => $faker->randomNumber(), - 'is_private' => $faker->boolean, - 'is_pinned' => $faker->boolean, - 'is_featured' => $faker->boolean, + 'name' => $this->faker->name, + 'description' => $this->faker->text, + 'cover_image' => $this->faker->word, + 'position' => $this->faker->randomNumber(), + 'is_private' => $this->faker->boolean, + 'is_pinned' => $this->faker->boolean, + 'is_featured' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/PlaylistTorrentFactory.php b/database/factories/PlaylistTorrentFactory.php index c4018d9a1a..2e3f11cd4d 100644 --- a/database/factories/PlaylistTorrentFactory.php +++ b/database/factories/PlaylistTorrentFactory.php @@ -2,17 +2,36 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\PlaylistTorrent::class, function (Faker $faker) { - return [ - 'position' => $faker->randomNumber(), +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PlaylistTorrentFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\PlaylistTorrent::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'position' => $this->faker->randomNumber(), 'playlist_id' => function () { - return factory(App\Models\Playlist::class)->create()->id; + return Playlist::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, - 'tmdb_id' => $faker->randomNumber(), + 'tmdb_id' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/PollFactory.php b/database/factories/PollFactory.php index 71278ae6a9..d4d76cf959 100644 --- a/database/factories/PollFactory.php +++ b/database/factories/PollFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Poll::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PollFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Poll::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'title' => $faker->word, - 'slug' => $faker->slug, - 'ip_checking' => $faker->boolean, - 'multiple_choice' => $faker->boolean, + 'title' => $this->faker->word, + 'slug' => $this->faker->slug, + 'ip_checking' => $this->faker->boolean, + 'multiple_choice' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 698b5b120a..52d923ce84 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Post::class, function (Faker $faker) { - return [ - 'content' => $faker->text, +use App\Models\Topic; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PostFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Post::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'content' => $this->faker->text, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'topic_id' => function () { - return factory(App\Models\Topic::class)->create()->id; + return Topic::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/PrivateMessageFactory.php b/database/factories/PrivateMessageFactory.php index 316b978a58..78fd8ac893 100644 --- a/database/factories/PrivateMessageFactory.php +++ b/database/factories/PrivateMessageFactory.php @@ -2,19 +2,38 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\PrivateMessage::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class PrivateMessageFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\PrivateMessage::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'sender_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'receiver_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'subject' => $faker->word, - 'message' => $faker->text, - 'read' => $faker->boolean, - 'related_to' => $faker->randomNumber(), + 'subject' => $this->faker->word, + 'message' => $this->faker->text, + 'read' => $this->faker->boolean, + 'related_to' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/ReportFactory.php b/database/factories/ReportFactory.php index 7cf9bd87b8..a5a762f76c 100644 --- a/database/factories/ReportFactory.php +++ b/database/factories/ReportFactory.php @@ -2,29 +2,48 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Report::class, function (Faker $faker) { - return [ - 'type' => $faker->word, +use App\Models\TorrentRequest; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ReportFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Report::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'type' => $this->faker->word, 'reporter_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'staff_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'title' => $faker->word, - 'message' => $faker->text, - 'solved' => $faker->randomNumber(), - 'verdict' => $faker->text, + 'title' => $this->faker->word, + 'message' => $this->faker->text, + 'solved' => $this->faker->randomNumber(), + 'verdict' => $this->faker->text, 'reported_user' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, 'request_id' => function () { - return factory(App\Models\TorrentRequest::class)->create()->id; + return TorrentRequest::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/ResolutionFactory.php b/database/factories/ResolutionFactory.php index adaea5ef87..b68ddf5c38 100644 --- a/database/factories/ResolutionFactory.php +++ b/database/factories/ResolutionFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Resolution::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'position' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class ResolutionFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Resolution::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/RssFactory.php b/database/factories/RssFactory.php index a9f91a50f5..1dfda633bc 100644 --- a/database/factories/RssFactory.php +++ b/database/factories/RssFactory.php @@ -2,20 +2,39 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Rss::class, function (Faker $faker) { - return [ - 'position' => $faker->randomNumber(), - 'name' => $faker->name, +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class RssFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Rss::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'position' => $this->faker->randomNumber(), + 'name' => $this->faker->name, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'staff_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'is_private' => $faker->boolean, - 'is_torrent' => $faker->boolean, - 'json_torrent' => $faker->word, + 'is_private' => $this->faker->boolean, + 'is_torrent' => $this->faker->boolean, + 'json_torrent' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/SeedboxFactory.php b/database/factories/SeedboxFactory.php index 637626a3bd..842ffc1de7 100644 --- a/database/factories/SeedboxFactory.php +++ b/database/factories/SeedboxFactory.php @@ -2,14 +2,33 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Seedbox::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class SeedboxFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Seedbox::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'name' => $faker->name, - 'ip' => $faker->word, + 'name' => $this->faker->name, + 'ip' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/SubscriptionFactory.php b/database/factories/SubscriptionFactory.php index 51f59ce514..987ab88d96 100644 --- a/database/factories/SubscriptionFactory.php +++ b/database/factories/SubscriptionFactory.php @@ -2,18 +2,37 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Subscription::class, function (Faker $faker) { - return [ +use App\Models\Topic; +use Illuminate\Database\Eloquent\Factories\Factory; + +class SubscriptionFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Subscription::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'forum_id' => function () { - return factory(App\Models\Forum::class)->create()->id; + return Forum::factory()->create()->id; }, 'topic_id' => function () { - return factory(App\Models\Topic::class)->create()->id; + return Topic::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index 3ec06a2284..50caafefa9 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -2,11 +2,29 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Tag::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, +use Illuminate\Database\Eloquent\Factories\Factory; + +class TagFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Tag::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, ]; -}); + } +} diff --git a/database/factories/TagTorrentFactory.php b/database/factories/TagTorrentFactory.php index 1d8cb62ca2..b29a0f9756 100644 --- a/database/factories/TagTorrentFactory.php +++ b/database/factories/TagTorrentFactory.php @@ -2,13 +2,32 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\TagTorrent::class, function (Faker $faker) { - return [ - 'torrent_id' => $faker->randomNumber(), +use App\Models\Tag; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TagTorrentFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TagTorrent::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'torrent_id' => $this->faker->randomNumber(), 'tag_name' => function () { - return factory(App\Models\Tag::class)->create()->id; + return Tag::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/ThankFactory.php b/database/factories/ThankFactory.php index ee0f82e3b0..2ccab058f0 100644 --- a/database/factories/ThankFactory.php +++ b/database/factories/ThankFactory.php @@ -2,15 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Thank::class, function (Faker $faker) { - return [ +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class ThankFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Thank::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/TopicFactory.php b/database/factories/TopicFactory.php index 60aa6ec5f4..6442ccd399 100644 --- a/database/factories/TopicFactory.php +++ b/database/factories/TopicFactory.php @@ -2,32 +2,51 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Topic::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'state' => $faker->word, - 'pinned' => $faker->boolean, - 'approved' => $faker->boolean, - 'denied' => $faker->boolean, - 'solved' => $faker->boolean, - 'invalid' => $faker->boolean, - 'bug' => $faker->boolean, - 'suggestion' => $faker->boolean, - 'implemented' => $faker->boolean, - 'num_post' => $faker->randomNumber(), +use App\Models\Forum; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TopicFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Topic::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'state' => $this->faker->word, + 'pinned' => $this->faker->boolean, + 'approved' => $this->faker->boolean, + 'denied' => $this->faker->boolean, + 'solved' => $this->faker->boolean, + 'invalid' => $this->faker->boolean, + 'bug' => $this->faker->boolean, + 'suggestion' => $this->faker->boolean, + 'implemented' => $this->faker->boolean, + 'num_post' => $this->faker->randomNumber(), 'first_post_user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'last_post_user_id' => $faker->randomNumber(), - 'first_post_user_username' => $faker->word, - 'last_post_user_username' => $faker->word, - 'last_reply_at' => $faker->dateTime(), - 'views' => $faker->randomNumber(), + 'last_post_user_id' => $this->faker->randomNumber(), + 'first_post_user_username' => $this->faker->word, + 'last_post_user_username' => $this->faker->word, + 'last_reply_at' => $this->faker->dateTime(), + 'views' => $this->faker->randomNumber(), 'forum_id' => function () { - return factory(App\Models\Forum::class)->create()->id; + return Forum::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/TorrentFactory.php b/database/factories/TorrentFactory.php index 89597a35fa..395a709deb 100644 --- a/database/factories/TorrentFactory.php +++ b/database/factories/TorrentFactory.php @@ -2,54 +2,73 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Torrent::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'description' => $faker->text, - 'mediainfo' => $faker->text, - 'info_hash' => $faker->word, - 'file_name' => $faker->word, - 'num_file' => $faker->randomNumber(), - 'size' => $faker->randomFloat(), - 'nfo' => $faker->text, - 'leechers' => $faker->randomNumber(), - 'seeders' => $faker->randomNumber(), - 'times_completed' => $faker->randomNumber(), +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TorrentFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Torrent::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'description' => $this->faker->text, + 'mediainfo' => $this->faker->text, + 'info_hash' => $this->faker->word, + 'file_name' => $this->faker->word, + 'num_file' => $this->faker->randomNumber(), + 'size' => $this->faker->randomFloat(), + 'nfo' => $this->faker->text, + 'leechers' => $this->faker->randomNumber(), + 'seeders' => $this->faker->randomNumber(), + 'times_completed' => $this->faker->randomNumber(), 'category_id' => function () { - return factory(App\Models\Category::class)->create()->id; + return Category::factory()->create()->id; }, - 'announce' => $faker->word, + 'announce' => $this->faker->word, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'imdb' => $faker->randomNumber(), - 'tvdb' => $faker->randomNumber(), - 'tmdb' => $faker->randomNumber(), - 'mal' => $faker->randomNumber(), - 'igdb' => $faker->randomNumber(), + 'imdb' => $this->faker->randomNumber(), + 'tvdb' => $this->faker->randomNumber(), + 'tmdb' => $this->faker->randomNumber(), + 'mal' => $this->faker->randomNumber(), + 'igdb' => $this->faker->randomNumber(), 'type_id' => function () { - return factory(App\Models\Type::class)->create()->id; + return Type::factory()->create()->id; }, 'resolution_id' => function () { - return factory(App\Models\Resolution::class)->create()->id; + return Resolution::factory()->create()->id; }, - 'stream' => $faker->boolean, - 'free' => $faker->boolean, - 'doubleup' => $faker->boolean, - 'highspeed' => $faker->boolean, - 'featured' => $faker->boolean, - 'status' => (int) $faker->boolean, - 'moderated_at' => $faker->dateTime(), + 'stream' => $this->faker->boolean, + 'free' => $this->faker->boolean, + 'doubleup' => $this->faker->boolean, + 'highspeed' => $this->faker->boolean, + 'featured' => $this->faker->boolean, + 'status' => (int) $this->faker->boolean, + 'moderated_at' => $this->faker->dateTime(), 'moderated_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'anon' => $faker->boolean, - 'sticky' => $faker->boolean, - 'sd' => $faker->boolean, - 'internal' => $faker->boolean, - 'release_year' => $faker->date('Y'), + 'anon' => $this->faker->boolean, + 'sticky' => $this->faker->boolean, + 'sd' => $this->faker->boolean, + 'internal' => $this->faker->boolean, + 'release_year' => $this->faker->date('Y'), ]; -}); + } +} diff --git a/database/factories/TorrentFileFactory.php b/database/factories/TorrentFileFactory.php index 88dd668e71..a30ba4f629 100644 --- a/database/factories/TorrentFileFactory.php +++ b/database/factories/TorrentFileFactory.php @@ -2,14 +2,33 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\TorrentFile::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'size' => $faker->randomNumber(), +use App\Models\Torrent; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TorrentFileFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TorrentFile::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'size' => $this->faker->randomNumber(), 'torrent_id' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/TorrentRequestBountyFactory.php b/database/factories/TorrentRequestBountyFactory.php index da982dc10e..d1ac109099 100644 --- a/database/factories/TorrentRequestBountyFactory.php +++ b/database/factories/TorrentRequestBountyFactory.php @@ -2,18 +2,37 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\TorrentRequestBounty::class, function (Faker $faker) { - return [ +use App\Models\TorrentRequest; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TorrentRequestBountyFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TorrentRequestBounty::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'seedbonus' => $faker->randomFloat(), - 'requests_id' => $faker->randomNumber(), - 'anon' => $faker->boolean, + 'seedbonus' => $this->faker->randomFloat(), + 'requests_id' => $this->faker->randomNumber(), + 'anon' => $this->faker->boolean, 'request_id' => function () { - return factory(App\Models\TorrentRequest::class)->create()->id; + return TorrentRequest::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/TorrentRequestClaimFactory.php b/database/factories/TorrentRequestClaimFactory.php index f010643f52..0322705dcd 100644 --- a/database/factories/TorrentRequestClaimFactory.php +++ b/database/factories/TorrentRequestClaimFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\TorrentRequestClaim::class, function (Faker $faker) { - return [ - 'request_id' => $faker->randomNumber(), - 'username' => $faker->userName, - 'anon' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class TorrentRequestClaimFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TorrentRequestClaim::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'request_id' => $this->faker->randomNumber(), + 'username' => $this->faker->userName, + 'anon' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/TorrentRequestFactory.php b/database/factories/TorrentRequestFactory.php index df6dbc3b43..0f956841f4 100644 --- a/database/factories/TorrentRequestFactory.php +++ b/database/factories/TorrentRequestFactory.php @@ -2,44 +2,63 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\TorrentRequest::class, function (Faker $faker) { - return [ - 'name' => $faker->name, +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class TorrentRequestFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TorrentRequest::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, 'category_id' => function () { - return factory(App\Models\Category::class)->create()->id; + return Category::factory()->create()->id; }, 'type_id' => function () { - return factory(App\Models\Type::class)->create()->id; + return Type::factory()->create()->id; }, 'resolution_id' => function () { - return factory(App\Models\Resolution::class)->create()->id; + return Resolution::factory()->create()->id; }, - 'imdb' => $faker->word, - 'tvdb' => $faker->word, - 'tmdb' => $faker->word, - 'mal' => $faker->word, - 'igdb' => $faker->word, - 'description' => $faker->text, + 'imdb' => $this->faker->word, + 'tvdb' => $this->faker->word, + 'tmdb' => $this->faker->word, + 'mal' => $this->faker->word, + 'igdb' => $this->faker->word, + 'description' => $this->faker->text, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'bounty' => $faker->randomFloat(), - 'votes' => $faker->randomNumber(), - 'claimed' => $faker->boolean, - 'anon' => $faker->boolean, + 'bounty' => $this->faker->randomFloat(), + 'votes' => $this->faker->randomNumber(), + 'claimed' => $this->faker->boolean, + 'anon' => $this->faker->boolean, 'filled_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'filled_hash' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, - 'filled_when' => $faker->dateTime(), - 'filled_anon' => $faker->boolean, + 'filled_when' => $this->faker->dateTime(), + 'filled_anon' => $this->faker->boolean, 'approved_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'approved_when' => $faker->dateTime(), + 'approved_when' => $this->faker->dateTime(), ]; -}); + } +} diff --git a/database/factories/TwoStepAuthFactory.php b/database/factories/TwoStepAuthFactory.php index 05d42ee070..51a121932c 100644 --- a/database/factories/TwoStepAuthFactory.php +++ b/database/factories/TwoStepAuthFactory.php @@ -2,16 +2,34 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ +namespace Database\Factories; + +use Illuminate\Database\Eloquent\Factories\Factory; use Carbon\Carbon; -use Faker\Generator as Faker; -$factory->define(App\Models\TwoStepAuth::class, function (Faker $faker) { - return [ - 'userId' => $faker->randomNumber(), - 'authCode' => sprintf('%s%s%s%s', $faker->numberBetween(0, 9), $faker->numberBetween(0, 9), $faker->numberBetween(0, 9), $faker->numberBetween(0, 9)), +class TwoStepAuthFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\TwoStepAuth::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'userId' => $this->faker->randomNumber(), + 'authCode' => sprintf('%s%s%s%s', $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9)), 'authCount' => 0, 'authStatus' => false, 'authDate' => null, 'requestDate' => Carbon::now(), ]; -}); + } +} diff --git a/database/factories/TypeFactory.php b/database/factories/TypeFactory.php index fb8bb2db96..15cacdabeb 100644 --- a/database/factories/TypeFactory.php +++ b/database/factories/TypeFactory.php @@ -2,12 +2,30 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Type::class, function (Faker $faker) { - return [ - 'name' => $faker->name, - 'slug' => $faker->slug, - 'position' => $faker->randomNumber(), +use Illuminate\Database\Eloquent\Factories\Factory; + +class TypeFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Type::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), ]; -}); + } +} diff --git a/database/factories/UploadFactory.php b/database/factories/UploadFactory.php index e021e8b41f..b124ab7d9c 100644 --- a/database/factories/UploadFactory.php +++ b/database/factories/UploadFactory.php @@ -2,9 +2,27 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Upload::class, function (Faker $faker) { - return [ +use Illuminate\Database\Eloquent\Factories\Factory; + +class UploadFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Upload::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ ]; -}); + } +} diff --git a/database/factories/UserActivationFactory.php b/database/factories/UserActivationFactory.php index fcecc92bfa..95d2494d05 100644 --- a/database/factories/UserActivationFactory.php +++ b/database/factories/UserActivationFactory.php @@ -2,13 +2,32 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\UserActivation::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserActivationFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\UserActivation::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'token' => $faker->uuid, + 'token' => $this->faker->uuid, ]; -}); + } +} diff --git a/database/factories/UserAudibleFactory.php b/database/factories/UserAudibleFactory.php index 8d5081a741..8c32c6312a 100644 --- a/database/factories/UserAudibleFactory.php +++ b/database/factories/UserAudibleFactory.php @@ -2,22 +2,41 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\UserAudible::class, function (Faker $faker) { - return [ +use App\Models\Bot; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserAudibleFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\UserAudible::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'room_id' => function () { - return factory(App\Models\Chatroom::class)->create()->id; + return Chatroom::factory()->create()->id; }, 'target_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'bot_id' => function () { - return factory(App\Models\Bot::class)->create()->id; + return Bot::factory()->create()->id; }, - 'status' => $faker->boolean, + 'status' => $this->faker->boolean, ]; -}); + } +} diff --git a/database/factories/UserEchoFactory.php b/database/factories/UserEchoFactory.php index 1f32364f9e..338acaa362 100644 --- a/database/factories/UserEchoFactory.php +++ b/database/factories/UserEchoFactory.php @@ -2,21 +2,40 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\UserEcho::class, function (Faker $faker) { - return [ +use App\Models\Bot; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserEchoFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\UserEcho::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'room_id' => function () { - return factory(App\Models\Chatroom::class)->create()->id; + return Chatroom::factory()->create()->id; }, 'target_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'bot_id' => function () { - return factory(App\Models\Bot::class)->create()->id; + return Bot::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index e25f10a12e..a7501da471 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -2,63 +2,82 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\User::class, function (Faker $faker) { - return [ - 'username' => $faker->unique()->userName, - 'email' => $faker->unique()->safeEmail, +use App\Models\ChatStatus; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\User::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'username' => $this->faker->unique()->userName, + 'email' => $this->faker->unique()->safeEmail, 'password' => bcrypt('secret'), - 'passkey' => $faker->word, + 'passkey' => $this->faker->word, 'group_id' => function () { - return factory(App\Models\Group::class)->create()->id; + return Group::factory()->create()->id; }, 'active' => true, - 'uploaded' => $faker->randomNumber(), - 'downloaded' => $faker->randomNumber(), - 'image' => $faker->word, - 'title' => $faker->word, - 'about' => $faker->word, - 'signature' => $faker->text, - 'fl_tokens' => $faker->randomNumber(), - 'seedbonus' => $faker->randomFloat(), - 'invites' => $faker->randomNumber(), - 'hitandruns' => $faker->randomNumber(), - 'rsskey' => $faker->word, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'image' => $this->faker->word, + 'title' => $this->faker->word, + 'about' => $this->faker->word, + 'signature' => $this->faker->text, + 'fl_tokens' => $this->faker->randomNumber(), + 'seedbonus' => $this->faker->randomFloat(), + 'invites' => $this->faker->randomNumber(), + 'hitandruns' => $this->faker->randomNumber(), + 'rsskey' => $this->faker->word, 'chatroom_id' => function () { - return factory(App\Models\Chatroom::class)->create()->id; + return Chatroom::factory()->create()->id; }, - 'censor' => $faker->boolean, - 'chat_hidden' => $faker->boolean, - 'hidden' => $faker->boolean, - 'style' => $faker->boolean, - 'nav' => $faker->boolean, - 'torrent_layout' => $faker->boolean, - 'torrent_filters' => $faker->boolean, - 'custom_css' => $faker->word, - 'ratings' => $faker->boolean, - 'read_rules' => $faker->boolean, - 'can_chat' => $faker->boolean, - 'can_comment' => $faker->boolean, - 'can_download' => $faker->boolean, - 'can_request' => $faker->boolean, - 'can_invite' => $faker->boolean, - 'can_upload' => $faker->boolean, - 'show_poster' => $faker->boolean, - 'peer_hidden' => $faker->boolean, - 'private_profile' => $faker->boolean, - 'block_notifications' => $faker->boolean, - 'stat_hidden' => $faker->boolean, + 'censor' => $this->faker->boolean, + 'chat_hidden' => $this->faker->boolean, + 'hidden' => $this->faker->boolean, + 'style' => $this->faker->boolean, + 'nav' => $this->faker->boolean, + 'torrent_layout' => $this->faker->boolean, + 'torrent_filters' => $this->faker->boolean, + 'custom_css' => $this->faker->word, + 'ratings' => $this->faker->boolean, + 'read_rules' => $this->faker->boolean, + 'can_chat' => $this->faker->boolean, + 'can_comment' => $this->faker->boolean, + 'can_download' => $this->faker->boolean, + 'can_request' => $this->faker->boolean, + 'can_invite' => $this->faker->boolean, + 'can_upload' => $this->faker->boolean, + 'show_poster' => $this->faker->boolean, + 'peer_hidden' => $this->faker->boolean, + 'private_profile' => $this->faker->boolean, + 'block_notifications' => $this->faker->boolean, + 'stat_hidden' => $this->faker->boolean, 'twostep' => false, 'remember_token' => Str::random(10), - 'api_token' => $faker->uuid, - //'last_login' => $faker->dateTime(), - 'last_action' => $faker->dateTime(), - //'disabled_at' => $faker->dateTime(), - //'deleted_by' => $faker->randomNumber(), - 'locale' => $faker->word, + 'api_token' => $this->faker->uuid, + //'last_login' => $this->faker->dateTime(), + 'last_action' => $this->faker->dateTime(), + //'disabled_at' => $this->faker->dateTime(), + //'deleted_by' => $this->faker->randomNumber(), + 'locale' => $this->faker->word, 'chat_status_id' => function () { - return factory(App\Models\ChatStatus::class)->create()->id; + return ChatStatus::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/UserNotificationFactory.php b/database/factories/UserNotificationFactory.php index c440028326..b2ed4dc108 100644 --- a/database/factories/UserNotificationFactory.php +++ b/database/factories/UserNotificationFactory.php @@ -2,41 +2,60 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\UserNotification::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserNotificationFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\UserNotification::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'show_bon_gift' => $faker->boolean, - 'show_mention_forum_post' => $faker->boolean, - 'show_mention_article_comment' => $faker->boolean, - 'show_mention_request_comment' => $faker->boolean, - 'show_mention_torrent_comment' => $faker->boolean, - 'show_subscription_topic' => $faker->boolean, - 'show_subscription_forum' => $faker->boolean, - 'show_forum_topic' => $faker->boolean, - 'show_following_upload' => $faker->boolean, - 'show_request_bounty' => $faker->boolean, - 'show_request_comment' => $faker->boolean, - 'show_request_fill' => $faker->boolean, - 'show_request_fill_approve' => $faker->boolean, - 'show_request_fill_reject' => $faker->boolean, - 'show_request_claim' => $faker->boolean, - 'show_request_unclaim' => $faker->boolean, - 'show_torrent_comment' => $faker->boolean, - 'show_torrent_tip' => $faker->boolean, - 'show_torrent_thank' => $faker->boolean, - 'show_account_follow' => $faker->boolean, - 'show_account_unfollow' => $faker->boolean, - 'json_account_groups' => $faker->word, - 'json_bon_groups' => $faker->word, - 'json_mention_groups' => $faker->word, - 'json_request_groups' => $faker->word, - 'json_torrent_groups' => $faker->word, - 'json_forum_groups' => $faker->word, - 'json_following_groups' => $faker->word, - 'json_subscription_groups' => $faker->word, + 'show_bon_gift' => $this->faker->boolean, + 'show_mention_forum_post' => $this->faker->boolean, + 'show_mention_article_comment' => $this->faker->boolean, + 'show_mention_request_comment' => $this->faker->boolean, + 'show_mention_torrent_comment' => $this->faker->boolean, + 'show_subscription_topic' => $this->faker->boolean, + 'show_subscription_forum' => $this->faker->boolean, + 'show_forum_topic' => $this->faker->boolean, + 'show_following_upload' => $this->faker->boolean, + 'show_request_bounty' => $this->faker->boolean, + 'show_request_comment' => $this->faker->boolean, + 'show_request_fill' => $this->faker->boolean, + 'show_request_fill_approve' => $this->faker->boolean, + 'show_request_fill_reject' => $this->faker->boolean, + 'show_request_claim' => $this->faker->boolean, + 'show_request_unclaim' => $this->faker->boolean, + 'show_torrent_comment' => $this->faker->boolean, + 'show_torrent_tip' => $this->faker->boolean, + 'show_torrent_thank' => $this->faker->boolean, + 'show_account_follow' => $this->faker->boolean, + 'show_account_unfollow' => $this->faker->boolean, + 'json_account_groups' => $this->faker->word, + 'json_bon_groups' => $this->faker->word, + 'json_mention_groups' => $this->faker->word, + 'json_request_groups' => $this->faker->word, + 'json_torrent_groups' => $this->faker->word, + 'json_forum_groups' => $this->faker->word, + 'json_following_groups' => $this->faker->word, + 'json_subscription_groups' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/UserPrivacyFactory.php b/database/factories/UserPrivacyFactory.php index 9dc533cb67..6dd49b2aff 100644 --- a/database/factories/UserPrivacyFactory.php +++ b/database/factories/UserPrivacyFactory.php @@ -2,51 +2,70 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\UserPrivacy::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class UserPrivacyFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\UserPrivacy::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'show_achievement' => $faker->boolean, - 'show_bon' => $faker->boolean, - 'show_comment' => $faker->boolean, - 'show_download' => $faker->boolean, - 'show_follower' => $faker->boolean, - 'show_online' => $faker->boolean, - 'show_peer' => $faker->boolean, - 'show_post' => $faker->boolean, - 'show_profile' => $faker->boolean, - 'show_profile_about' => $faker->boolean, - 'show_profile_achievement' => $faker->boolean, - 'show_profile_badge' => $faker->boolean, - 'show_profile_follower' => $faker->boolean, - 'show_profile_title' => $faker->boolean, - 'show_profile_bon_extra' => $faker->boolean, - 'show_profile_comment_extra' => $faker->boolean, - 'show_profile_forum_extra' => $faker->boolean, - 'show_profile_request_extra' => $faker->boolean, - 'show_profile_torrent_count' => $faker->boolean, - 'show_profile_torrent_extra' => $faker->boolean, - 'show_profile_torrent_ratio' => $faker->boolean, - 'show_profile_torrent_seed' => $faker->boolean, - 'show_profile_warning' => $faker->boolean, - 'show_rank' => $faker->boolean, - 'show_requested' => $faker->boolean, - 'show_topic' => $faker->boolean, - 'show_upload' => $faker->boolean, - 'show_wishlist' => $faker->boolean, - 'json_profile_groups' => $faker->word, - 'json_torrent_groups' => $faker->word, - 'json_forum_groups' => $faker->word, - 'json_bon_groups' => $faker->word, - 'json_comment_groups' => $faker->word, - 'json_wishlist_groups' => $faker->word, - 'json_follower_groups' => $faker->word, - 'json_achievement_groups' => $faker->word, - 'json_rank_groups' => $faker->word, - 'json_request_groups' => $faker->word, - 'json_other_groups' => $faker->word, + 'show_achievement' => $this->faker->boolean, + 'show_bon' => $this->faker->boolean, + 'show_comment' => $this->faker->boolean, + 'show_download' => $this->faker->boolean, + 'show_follower' => $this->faker->boolean, + 'show_online' => $this->faker->boolean, + 'show_peer' => $this->faker->boolean, + 'show_post' => $this->faker->boolean, + 'show_profile' => $this->faker->boolean, + 'show_profile_about' => $this->faker->boolean, + 'show_profile_achievement' => $this->faker->boolean, + 'show_profile_badge' => $this->faker->boolean, + 'show_profile_follower' => $this->faker->boolean, + 'show_profile_title' => $this->faker->boolean, + 'show_profile_bon_extra' => $this->faker->boolean, + 'show_profile_comment_extra' => $this->faker->boolean, + 'show_profile_forum_extra' => $this->faker->boolean, + 'show_profile_request_extra' => $this->faker->boolean, + 'show_profile_torrent_count' => $this->faker->boolean, + 'show_profile_torrent_extra' => $this->faker->boolean, + 'show_profile_torrent_ratio' => $this->faker->boolean, + 'show_profile_torrent_seed' => $this->faker->boolean, + 'show_profile_warning' => $this->faker->boolean, + 'show_rank' => $this->faker->boolean, + 'show_requested' => $this->faker->boolean, + 'show_topic' => $this->faker->boolean, + 'show_upload' => $this->faker->boolean, + 'show_wishlist' => $this->faker->boolean, + 'json_profile_groups' => $this->faker->word, + 'json_torrent_groups' => $this->faker->word, + 'json_forum_groups' => $this->faker->word, + 'json_bon_groups' => $this->faker->word, + 'json_comment_groups' => $this->faker->word, + 'json_wishlist_groups' => $this->faker->word, + 'json_follower_groups' => $this->faker->word, + 'json_achievement_groups' => $this->faker->word, + 'json_rank_groups' => $this->faker->word, + 'json_request_groups' => $this->faker->word, + 'json_other_groups' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/VoterFactory.php b/database/factories/VoterFactory.php index b37ee7916e..5e4bc79649 100644 --- a/database/factories/VoterFactory.php +++ b/database/factories/VoterFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Voter::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class VoterFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Voter::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'poll_id' => function () { - return factory(App\Models\Poll::class)->create()->id; + return Poll::factory()->create()->id; }, 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'ip_address' => $faker->word, + 'ip_address' => $this->faker->word, ]; -}); + } +} diff --git a/database/factories/WarningFactory.php b/database/factories/WarningFactory.php index cd9dcdd6be..61e139bc19 100644 --- a/database/factories/WarningFactory.php +++ b/database/factories/WarningFactory.php @@ -2,24 +2,43 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Warning::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class WarningFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Warning::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'warned_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, 'torrent' => function () { - return factory(App\Models\Torrent::class)->create()->id; + return Torrent::factory()->create()->id; }, - 'reason' => $faker->text, - 'expires_on' => $faker->dateTime(), - 'active' => $faker->boolean, + 'reason' => $this->faker->text, + 'expires_on' => $this->faker->dateTime(), + 'active' => $this->faker->boolean, 'deleted_by' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, ]; -}); + } +} diff --git a/database/factories/WishFactory.php b/database/factories/WishFactory.php index 4591baa191..90b659a5e8 100644 --- a/database/factories/WishFactory.php +++ b/database/factories/WishFactory.php @@ -2,16 +2,35 @@ /* @var $factory \Illuminate\Database\Eloquent\Factory */ -use Faker\Generator as Faker; +namespace Database\Factories; -$factory->define(App\Models\Wish::class, function (Faker $faker) { - return [ +use App\Models\User; +use Illuminate\Database\Eloquent\Factories\Factory; + +class WishFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var string + */ + protected $model = \App\Models\Wish::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ 'user_id' => function () { - return factory(App\Models\User::class)->create()->id; + return User::factory()->create()->id; }, - 'title' => $faker->word, - 'imdb' => $faker->word, - 'type' => $faker->word, - 'source' => $faker->word, + 'title' => $this->faker->word, + 'imdb' => $this->faker->word, + 'type' => $this->faker->word, + 'source' => $this->faker->word, ]; -}); + } +} diff --git a/tests/Feature/Factories/UserFactoryTest.php b/tests/Feature/Factories/UserFactoryTest.php index 3afe33501e..b86baac6d3 100644 --- a/tests/Feature/Factories/UserFactoryTest.php +++ b/tests/Feature/Factories/UserFactoryTest.php @@ -15,7 +15,7 @@ protected function setUp(): void /** @test */ public function factoryReturnsCorrectValuesWhenCreated() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->assertInstanceOf(User::class, $user); diff --git a/tests/Feature/Http/Controllers/API/ChatControllerTest.php b/tests/Feature/Http/Controllers/API/ChatControllerTest.php index 01b8382e80..a93bbbbdbe 100644 --- a/tests/Feature/Http/Controllers/API/ChatControllerTest.php +++ b/tests/Feature/Http/Controllers/API/ChatControllerTest.php @@ -29,7 +29,7 @@ protected function setUp(): void /** @test */ public function audibles_returns_an_ok_response() { - $userAudible = factory(UserAudible::class)->create(); + $userAudible = UserAudible::factory()->create(); $response = $this->actingAs($userAudible->user)->get('api/chat/audibles'); @@ -47,13 +47,13 @@ public function bot_messages_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(BotsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $bot = Bot::where('slug', 'systembot')->firstOrFail(); $systemUser = User::where('username', 'System')->firstOrFail(); - factory(Message::class)->create([ + Message::factory()->create([ 'user_id' => $user->id, 'receiver_id' => $systemUser->id, 'bot_id' => $bot->id, @@ -80,7 +80,7 @@ public function bots_returns_an_ok_response() { $this->seed(BotsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('api/chat/bots'); @@ -97,7 +97,7 @@ public function bots_returns_an_ok_response() /** @test */ public function config_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('api/chat/config'); @@ -115,9 +115,9 @@ public function create_message_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(BotsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $chatroom = factory(Chatroom::class)->create(); + $chatroom = Chatroom::factory()->create(); $bot = Bot::where('slug', 'systembot')->firstOrFail(); @@ -140,9 +140,9 @@ public function create_message_returns_an_ok_response() /** @test */ public function delete_bot_echo_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userEcho = factory(UserEcho::class)->create([ + $userEcho = UserEcho::factory()->create([ 'user_id' => $user->id, ]); @@ -161,9 +161,9 @@ public function delete_bot_echo_returns_an_ok_response() /** @test */ public function delete_message_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $message = factory(Message::class)->create(); + $message = Message::factory()->create(); $response = $this->actingAs($user)->get(sprintf('api/chat/message/%s/delete', $message->id)); @@ -174,9 +174,9 @@ public function delete_message_returns_an_ok_response() /** @test */ public function delete_room_echo_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userEcho = factory(UserEcho::class)->create([ + $userEcho = UserEcho::factory()->create([ 'user_id' => $user->id, ]); @@ -194,9 +194,9 @@ public function delete_room_echo_returns_an_ok_response() /** @test */ public function delete_target_echo_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userEcho = factory(UserEcho::class)->create([ + $userEcho = UserEcho::factory()->create([ 'user_id' => $user->id, ]); @@ -214,7 +214,7 @@ public function delete_target_echo_returns_an_ok_response() /** @test */ public function echoes_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('api/chat/echoes'); @@ -231,9 +231,9 @@ public function echoes_returns_an_ok_response() /** @test */ public function messages_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $message = factory(Message::class)->create(); + $message = Message::factory()->create(); $response = $this->actingAs($user)->get(sprintf('api/chat/messages/%s', $message['chatroom_id'])); @@ -250,9 +250,9 @@ public function messages_returns_an_ok_response() /** @test */ public function private_messages_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $message = factory(Message::class)->create([ + $message = Message::factory()->create([ 'user_id' => $user->id, ]); @@ -271,7 +271,7 @@ public function private_messages_returns_an_ok_response() /** @test */ public function rooms_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('api/chat/rooms'); @@ -287,7 +287,7 @@ public function rooms_returns_an_ok_response() /** @test */ public function statuses_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('api/chat/statuses'); @@ -305,9 +305,9 @@ public function statuses_returns_an_ok_response() /** @test */ public function toggle_bot_audible_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userAudible = factory(UserAudible::class)->create([ + $userAudible = UserAudible::factory()->create([ 'user_id' => $user->id, ]); @@ -325,9 +325,9 @@ public function toggle_bot_audible_returns_an_ok_response() /** @test */ public function toggle_room_audible_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userAudible = factory(UserAudible::class)->create([ + $userAudible = UserAudible::factory()->create([ 'user_id' => $user->id, ]); @@ -345,9 +345,9 @@ public function toggle_room_audible_returns_an_ok_response() /** @test */ public function toggle_target_audible_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userAudible = factory(UserAudible::class)->create([ + $userAudible = UserAudible::factory()->create([ 'user_id' => $user->id, ]); @@ -367,7 +367,7 @@ public function update_user_chat_status_returns_an_ok_response() { $this->seed(UsersTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(sprintf('api/chat/user/%s/status', $user->id), [ 'status_id' => $user['chat_status_id'], @@ -383,7 +383,7 @@ public function update_user_chat_status_returns_an_ok_response() /** @test */ public function update_user_room_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(sprintf('api/chat/user/%s/chatroom', $user->id), [ 'room_id' => $user['chatroom_id'], @@ -399,7 +399,7 @@ public function update_user_room_returns_an_ok_response() /** @test */ public function update_user_target_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(sprintf('api/chat/user/%s/target', $user->id)); diff --git a/tests/Feature/Http/Controllers/API/TorrentControllerTest.php b/tests/Feature/Http/Controllers/API/TorrentControllerTest.php index c26ce1bce2..fe6375ac25 100644 --- a/tests/Feature/Http/Controllers/API/TorrentControllerTest.php +++ b/tests/Feature/Http/Controllers/API/TorrentControllerTest.php @@ -23,7 +23,7 @@ class TorrentControllerTest extends TestCase */ public function filter_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user, 'api')->getJson('api/torrents/filter'); @@ -54,7 +54,7 @@ public function filter_returns_an_ok_response() */ public function index_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user, 'api')->getJson(route('torrents.index')); @@ -85,9 +85,9 @@ public function index_returns_an_ok_response() */ public function show_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $torrent = factory(Torrent::class)->create([ + $torrent = Torrent::factory()->create([ 'user_id' => $user->id, 'status' => 1, ]); @@ -110,13 +110,13 @@ public function store_returns_an_ok_response() $this->seed(ChatroomTableSeeder::class); $this->seed(BotsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $category = factory(Category::class)->create(); - $type = factory(Type::class)->create(); - $resolution = factory(Resolution::class)->create(); + $category = Category::factory()->create(); + $type = Type::factory()->create(); + $resolution = Resolution::factory()->create(); - $torrent = factory(Torrent::class)->make(); + $torrent = Torrent::factory()->make(); $response = $this->actingAs($user, 'api')->postJson('api/torrents/upload', [ 'torrent' => new UploadedFile( diff --git a/tests/Feature/Http/Controllers/AchievementsControllerTest.php b/tests/Feature/Http/Controllers/AchievementsControllerTest.php index 838376c3fc..78c4381326 100644 --- a/tests/Feature/Http/Controllers/AchievementsControllerTest.php +++ b/tests/Feature/Http/Controllers/AchievementsControllerTest.php @@ -18,7 +18,7 @@ public function index_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('achievements.index')); @@ -37,7 +37,7 @@ public function show_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('achievements.show', [ 'username' => $user->username, diff --git a/tests/Feature/Http/Controllers/AlbumControllerTest.php b/tests/Feature/Http/Controllers/AlbumControllerTest.php index 3222a0ddb3..628a3b9d32 100644 --- a/tests/Feature/Http/Controllers/AlbumControllerTest.php +++ b/tests/Feature/Http/Controllers/AlbumControllerTest.php @@ -17,7 +17,7 @@ public function create_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('albums.create')); @@ -32,9 +32,9 @@ public function destroy_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $album = factory(Album::class)->create([ + $album = Album::factory()->create([ 'user_id' => $user->id, ]); @@ -49,7 +49,7 @@ public function index_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('albums.index')); @@ -62,9 +62,9 @@ public function show_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $album = factory(Album::class)->create([ + $album = Album::factory()->create([ 'user_id' => $user->id, ]); @@ -81,9 +81,9 @@ public function store_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $album = factory(Album::class)->raw([ + $album = Album::factory()->raw([ 'user_id' => $user->id, ]); diff --git a/tests/Feature/Http/Controllers/AnnounceControllerTest.php b/tests/Feature/Http/Controllers/AnnounceControllerTest.php index 2c13fda24a..70b1e3b04f 100644 --- a/tests/Feature/Http/Controllers/AnnounceControllerTest.php +++ b/tests/Feature/Http/Controllers/AnnounceControllerTest.php @@ -22,13 +22,13 @@ public function announce_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_download' => true, ]); $infoHash = sha1(random_bytes(20)); - factory(Torrent::class)->create([ + Torrent::factory()->create([ 'info_hash' => bin2hex($infoHash), 'status' => 1, // Approved ]); diff --git a/tests/Feature/Http/Controllers/ArticleControllerTest.php b/tests/Feature/Http/Controllers/ArticleControllerTest.php index 548fd9358d..2d032198c8 100644 --- a/tests/Feature/Http/Controllers/ArticleControllerTest.php +++ b/tests/Feature/Http/Controllers/ArticleControllerTest.php @@ -19,7 +19,7 @@ public function index_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('articles.index')); @@ -35,8 +35,8 @@ public function show_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $article = factory(Article::class)->create(); - $user = factory(User::class)->create(); + $article = Article::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('articles.show', ['id' => $article->id])); diff --git a/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php b/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php index bb1db1ae7c..7ab3f7fc62 100644 --- a/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php @@ -18,7 +18,7 @@ public function activate_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $activation = factory(UserActivation::class)->create(); + $activation = UserActivation::factory()->create(); $this->get(route('activate', ['token' => $activation->token])) ->assertRedirect(route('login')) diff --git a/tests/Feature/Http/Controllers/Auth/ApplicationControllerTest.php b/tests/Feature/Http/Controllers/Auth/ApplicationControllerTest.php index e063ec00a3..50767fe678 100644 --- a/tests/Feature/Http/Controllers/Auth/ApplicationControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/ApplicationControllerTest.php @@ -27,7 +27,7 @@ public function store_returns_an_ok_response() { config(['captcha.enabled' => false]); - $application = factory(Application::class)->make(); + $application = Application::factory()->make(); $this->post(route('application.store'), $application->toArray()) ->assertRedirect(route('login')) diff --git a/tests/Feature/Http/Controllers/Auth/ForgotUsernameControllerTest.php b/tests/Feature/Http/Controllers/Auth/ForgotUsernameControllerTest.php index 6c2352263f..a252b4464b 100644 --- a/tests/Feature/Http/Controllers/Auth/ForgotUsernameControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/ForgotUsernameControllerTest.php @@ -17,7 +17,7 @@ public function send_username_reminder_returns_an_ok_response() { config(['captcha.enabled' => false]); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->post(route('username.email'), [ 'email' => $user->email, diff --git a/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php b/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php index 5e56e8790c..703aae08fd 100644 --- a/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php @@ -21,11 +21,11 @@ public function resend_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'twostep' => true, ]); - factory(TwoStepAuth::class)->create([ + TwoStepAuth::factory()->create([ 'userId' => $user->id, ]); @@ -42,11 +42,11 @@ public function show_verification_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'twostep' => true, ]); - factory(TwoStepAuth::class)->create([ + TwoStepAuth::factory()->create([ 'userId' => $user->id, ]); @@ -64,11 +64,11 @@ public function verify_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'twostep' => true, ]); - $twoStep = factory(TwoStepAuth::class)->create([ + $twoStep = TwoStepAuth::factory()->create([ 'userId' => $user->id, ]); diff --git a/tests/Feature/Http/Controllers/BonusControllerTest.php b/tests/Feature/Http/Controllers/BonusControllerTest.php index a2fce4c4c4..8149b9eeda 100644 --- a/tests/Feature/Http/Controllers/BonusControllerTest.php +++ b/tests/Feature/Http/Controllers/BonusControllerTest.php @@ -27,7 +27,7 @@ protected function setUp(): void /** @test */ public function bonus_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bonus')); @@ -60,11 +60,11 @@ public function upload_exchange_returns_an_ok_response() { // User's seed bonus must be >= cost for exchange to succeed. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'seedbonus' => 2, ]); - $bon = factory(BonExchange::class)->create([ + $bon = BonExchange::factory()->create([ 'cost' => 1, 'upload' => true, 'download' => false, @@ -85,12 +85,12 @@ public function download_exchange_returns_an_ok_response() // Likewise, User's downloaded value must be >= Bon value. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'seedbonus' => 2, 'downloaded' => 2, ]); - $bon = factory(BonExchange::class)->create([ + $bon = BonExchange::factory()->create([ 'cost' => 1, 'value' => 1, 'upload' => false, @@ -112,12 +112,12 @@ public function personal_freeleech_exchange_returns_an_ok_response() // Likewise, User's downloaded value must be >= Bon value. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'seedbonus' => 2, 'downloaded' => 2, ]); - $bon = factory(BonExchange::class)->create([ + $bon = BonExchange::factory()->create([ 'cost' => 1, 'value' => 1, 'upload' => false, @@ -135,7 +135,7 @@ public function personal_freeleech_exchange_returns_an_ok_response() /** @test */ public function gift_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bonus_gift')); @@ -147,7 +147,7 @@ public function gift_returns_an_ok_response() /** @test */ public function gifts_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bonus_gifts')); @@ -167,11 +167,11 @@ public function send_gift_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $senderUser = factory(User::class)->create([ + $senderUser = User::factory()->create([ 'seedbonus' => 2, ]); - $recipientUser = factory(User::class)->create(); + $recipientUser = User::factory()->create(); $response = $this->actingAs($senderUser)->post(route('bonus_send_gift'), [ 'to_username' => $recipientUser->username, @@ -186,7 +186,7 @@ public function send_gift_returns_an_ok_response() /** @test */ public function store_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bonus_store')); @@ -206,11 +206,11 @@ public function tip_poster_returns_an_ok_response() { // User's seed bonus must be >= tip amount for exchange to succeed. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'seedbonus' => 2, ]); - $post = factory(Post::class)->create(); + $post = Post::factory()->create(); $response = $this->actingAs($user)->post(route('tip_poster', ['id' => $post->id]), [ 'post' => $post->id, @@ -226,11 +226,11 @@ public function tip_uploader_returns_an_ok_response() { // User's seed bonus must be >= tip amount for exchange to succeed. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'seedbonus' => 2, ]); - $torrent = factory(Torrent::class)->create(); + $torrent = Torrent::factory()->create(); $response = $this->actingAs($user)->post(route('tip_uploader', ['id' => $torrent->id]), [ 'tip' => 1, @@ -243,7 +243,7 @@ public function tip_uploader_returns_an_ok_response() /** @test */ public function tips_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bonus_tips')); diff --git a/tests/Feature/Http/Controllers/BookmarkControllerTest.php b/tests/Feature/Http/Controllers/BookmarkControllerTest.php index 6435690d44..60e3e89152 100644 --- a/tests/Feature/Http/Controllers/BookmarkControllerTest.php +++ b/tests/Feature/Http/Controllers/BookmarkControllerTest.php @@ -22,9 +22,9 @@ protected function setUp(): void /** @test */ public function destroy_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $bookmark = factory(Bookmark::class)->create([ + $bookmark = Bookmark::factory()->create([ 'user_id' => $user->id, ]); @@ -37,9 +37,9 @@ public function destroy_returns_an_ok_response() /** @test */ public function index_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - factory(Bookmark::class)->create([ + Bookmark::factory()->create([ 'user_id' => $user->id, ]); @@ -56,9 +56,9 @@ public function index_returns_an_ok_response() /** @test */ public function store_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $bookmark = factory(Bookmark::class)->make([ + $bookmark = Bookmark::factory()->make([ 'user_id' => $user->id, ]); diff --git a/tests/Feature/Http/Controllers/CategoryControllerTest.php b/tests/Feature/Http/Controllers/CategoryControllerTest.php index 3f625299b0..e46a9279ed 100644 --- a/tests/Feature/Http/Controllers/CategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/CategoryControllerTest.php @@ -22,7 +22,7 @@ protected function setUp(): void /** @test */ public function index_returns_an_ok_response() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('categories.index')); @@ -34,9 +34,9 @@ public function index_returns_an_ok_response() /** @test */ public function show_returns_an_ok_response() { - $category = factory(Category::class)->create(); + $category = Category::factory()->create(); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('categories.show', ['id' => $category->id])); diff --git a/tests/Feature/Http/Controllers/CommentControllerTest.php b/tests/Feature/Http/Controllers/CommentControllerTest.php index 9de7910a24..6423d06321 100644 --- a/tests/Feature/Http/Controllers/CommentControllerTest.php +++ b/tests/Feature/Http/Controllers/CommentControllerTest.php @@ -29,11 +29,11 @@ public function article_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $article = factory(Article::class)->create([ + $article = Article::factory()->create([ 'user_id' => $user->id, ]); @@ -56,11 +56,11 @@ public function delete_comment_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $comment = factory(Comment::class)->create([ + $comment = Comment::factory()->create([ 'user_id' => $user->id, ]); @@ -78,11 +78,11 @@ public function edit_comment_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $comment = factory(Comment::class)->create([ + $comment = Comment::factory()->create([ 'user_id' => $user->id, ]); @@ -104,11 +104,11 @@ public function playlist_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $playlist = factory(Playlist::class)->create([ + $playlist = Playlist::factory()->create([ 'user_id' => $user->id, ]); @@ -133,11 +133,11 @@ public function quickthanks_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $torrent = factory(Torrent::class)->create([ + $torrent = Torrent::factory()->create([ 'user_id' => $user->id, 'status' => 1, ]); @@ -158,11 +158,11 @@ public function request_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $torrentRequest = factory(TorrentRequest::class)->create([ + $torrentRequest = TorrentRequest::factory()->create([ 'user_id' => $user->id, ]); @@ -185,11 +185,11 @@ public function torrent_returns_an_ok_response() $this->seed(BotsTableSeeder::class); $this->seed(ChatroomTableSeeder::class); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'can_comment' => true, ]); - $torrent = factory(Torrent::class)->create([ + $torrent = Torrent::factory()->create([ 'user_id' => $user->id, 'status' => 1, ]); diff --git a/tests/Feature/Http/Controllers/ContactControllerTest.php b/tests/Feature/Http/Controllers/ContactControllerTest.php index c3da34a929..7da0293c73 100644 --- a/tests/Feature/Http/Controllers/ContactControllerTest.php +++ b/tests/Feature/Http/Controllers/ContactControllerTest.php @@ -18,7 +18,7 @@ public function index_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('contact.index')); @@ -32,7 +32,7 @@ public function store_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('contact.store'), [ 'email' => 'foo@bar.com', diff --git a/tests/Feature/Http/Controllers/FollowControllerTest.php b/tests/Feature/Http/Controllers/FollowControllerTest.php index d49529b75e..d9379ce23d 100644 --- a/tests/Feature/Http/Controllers/FollowControllerTest.php +++ b/tests/Feature/Http/Controllers/FollowControllerTest.php @@ -19,11 +19,11 @@ public function destroy_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userToFollow = factory(User::class)->create(); + $userToFollow = User::factory()->create(); - $follow = factory(Follow::class)->create([ + $follow = Follow::factory()->create([ 'user_id' => $user->id, 'target_id' => $userToFollow->id, ]); @@ -42,9 +42,9 @@ public function store_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); - $userToFollow = factory(User::class)->create(); + $userToFollow = User::factory()->create(); $response = $this->actingAs($user)->post(route('follow.store', ['username' => $userToFollow->username])); diff --git a/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php b/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php index 466544a1d9..5a20c1dd6e 100644 --- a/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php @@ -20,17 +20,17 @@ public function show_category_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); // This Forum has a parent Forum, which makes it a "Forum Category". - $parentForum = factory(Forum::class)->create(); + $parentForum = Forum::factory()->create(); - factory(Permission::class)->create([ + Permission::factory()->create([ 'forum_id' => $parentForum->id, ]); - $forum = factory(Forum::class)->create([ + $forum = Forum::factory()->create([ 'parent_id' => $parentForum->id, ]); @@ -47,16 +47,16 @@ public function show_forum_returns_an_ok_response() // This Forum does not have a parent, which makes it a proper Forum // (and not a "Forum Category"). - $forum = factory(Forum::class)->create([ + $forum = Forum::factory()->create([ 'parent_id' => 0, ]); - $permissions = factory(Permission::class)->create([ + $permissions = Permission::factory()->create([ 'forum_id' => $forum->id, 'show_forum' => true, ]); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'group_id' => $permissions['group_id'], ]); diff --git a/tests/Feature/Http/Controllers/ForumControllerTest.php b/tests/Feature/Http/Controllers/ForumControllerTest.php index 98b46750fe..32df4d1660 100644 --- a/tests/Feature/Http/Controllers/ForumControllerTest.php +++ b/tests/Feature/Http/Controllers/ForumControllerTest.php @@ -20,7 +20,7 @@ public function index_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->get(route('forums.index')) ->assertOk() @@ -37,7 +37,7 @@ public function latest_posts_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->get(route('forum_latest_posts')) ->assertOk() @@ -55,7 +55,7 @@ public function latest_topics_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->get(route('forum_latest_topics')) ->assertOk() @@ -73,7 +73,7 @@ public function search_topics_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->get(route('forum_search_form')) ->assertOk() @@ -95,7 +95,7 @@ public function search_posts_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->call('GET', route('forum_search_form', ['body' => 1])) ->assertOk() @@ -119,14 +119,14 @@ public function show_category_returns_an_ok_response() // This Forum has a parent Forum, which makes it a "Forum Category". - $parentForum = factory(Forum::class)->create(); + $parentForum = Forum::factory()->create(); - $permissions = factory(Permission::class)->create([ + $permissions = Permission::factory()->create([ 'forum_id' => $parentForum->id, 'show_forum' => true, ]); - $forum = factory(Forum::class)->create([ + $forum = Forum::factory()->create([ 'parent_id' => $parentForum->id, ]); @@ -134,7 +134,7 @@ public function show_category_returns_an_ok_response() // the Group ID is instead derived from the child ("Forum Category") // permissions. - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'group_id' => $permissions['group_id'], ]); @@ -157,16 +157,16 @@ public function show_forum_returns_an_ok_response() // This Forum does not have a parent, which makes it a proper Forum // (and not a "Forum Category"). - $forum = factory(Forum::class)->create([ + $forum = Forum::factory()->create([ 'parent_id' => 0, ]); - $permissions = factory(Permission::class)->create([ + $permissions = Permission::factory()->create([ 'forum_id' => $forum->id, 'show_forum' => true, ]); - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'group_id' => $permissions['group_id'], ]); @@ -180,7 +180,7 @@ public function subscriptions_returns_an_ok_response() $this->seed(UsersTableSeeder::class); $this->seed(GroupsTableSeeder::class); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user)->get(route('forum_subscriptions')) ->assertOk() diff --git a/tests/Feature/Http/Controllers/HomeControllerTest.php b/tests/Feature/Http/Controllers/HomeControllerTest.php index 2e738cf9bb..01c7b70971 100644 --- a/tests/Feature/Http/Controllers/HomeControllerTest.php +++ b/tests/Feature/Http/Controllers/HomeControllerTest.php @@ -29,7 +29,7 @@ public function whenNotAuthenticatedHomepageRedirectsToLogin() /** @test */ public function whenAuthenticatedHomepageReturns200() { - $user = factory(User::class)->create(); + $user = User::factory()->create(); $this->actingAs($user) ->get(route('home.index')) @@ -58,7 +58,7 @@ public function whenAuthenticatedHomepageReturns200() /** @test */ public function whenAuthenticatedAndTwoStepRequiredHomepageRedirectsToTwoStep() { - $user = factory(User::class)->create([ + $user = User::factory()->create([ 'twostep' => true, ]); diff --git a/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php b/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php index 4737fc8f56..b964b2f671 100644 --- a/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -54,7 +54,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $article = factory(Article::class)->create(); + $article = Article::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.articles.destroy', ['id' => $article->id])); $response->assertRedirect(route('staff.articles.index')); @@ -68,7 +68,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $article = factory(Article::class)->create(); + $article = Article::factory()->create(); $response = $this->actingAs($user)->get(route('staff.articles.edit', ['id' => $article->id])); @@ -101,7 +101,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $article = factory(Article::class)->make(); + $article = Article::factory()->make(); $response = $this->actingAs($user)->post(route('staff.articles.store'), [ 'title' => $article->title, @@ -121,7 +121,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $article = factory(Article::class)->create(); + $article = Article::factory()->create(); $response = $this->actingAs($user)->post(route('staff.articles.update', ['id' => $article->id]), [ 'title' => $article->title, diff --git a/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php b/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php index ad2f9fa24a..8c48de65fe 100644 --- a/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -53,7 +53,7 @@ public function destroy_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $category = factory(Category::class)->create(); + $category = Category::factory()->create(); $user = $this->createStaffUser(); $response = $this->actingAs($user)->delete(route('staff.categories.destroy', ['id' => $category->id])); @@ -69,7 +69,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $category = factory(Category::class)->create(); + $category = Category::factory()->create(); $response = $this->actingAs($user)->get(route('staff.categories.edit', ['id' => $category->id])); @@ -102,7 +102,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $category = factory(Category::class)->make(); + $category = Category::factory()->make(); $response = $this->actingAs($user)->post(route('staff.categories.store'), [ 'name' => $category->name, @@ -127,7 +127,7 @@ public function update_returns_an_ok_response() { $this->seed(GroupsTableSeeder::class); - $category = factory(Category::class)->create(); + $category = Category::factory()->create(); $user = $this->createStaffUser(); $response = $this->actingAs($user)->patch(route('staff.categories.update', ['id' => $category->id]), [ diff --git a/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php index bbeddff4e1..6d8692d6b9 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -39,7 +39,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $bot = factory(Bot::class)->create([ + $bot = Bot::factory()->create([ 'is_protected' => false, ]); @@ -55,7 +55,7 @@ public function disable_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $bot = factory(Bot::class)->create(); + $bot = Bot::factory()->create(); $response = $this->actingAs($user)->get(route('staff.bots.disable', ['id' => $bot->id])); $response->assertRedirect(route('staff.bots.index')); @@ -69,7 +69,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $bot = factory(Bot::class)->create(); + $bot = Bot::factory()->create(); $response = $this->actingAs($user)->get(route('staff.bots.edit', ['id' => $bot->id])); @@ -86,7 +86,7 @@ public function enable_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $bot = factory(Bot::class)->create(); + $bot = Bot::factory()->create(); $response = $this->actingAs($user)->get(route('staff.bots.enable', ['id' => $bot->id])); $response->assertRedirect(route('staff.bots.index')); @@ -116,7 +116,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $bot = factory(Bot::class)->create(); + $bot = Bot::factory()->create(); $response = $this->actingAs($user)->patch(route('staff.bots.update', ['id' => $bot->id]), [ 'position' => $bot->position, diff --git a/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php index 5a320f0455..b811d64070 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -39,7 +39,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chatroom = factory(Chatroom::class)->create(); + $chatroom = Chatroom::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.rooms.destroy', ['id' => $chatroom->id])); @@ -70,7 +70,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chatroom = factory(Chatroom::class)->make(); + $chatroom = Chatroom::factory()->make(); $response = $this->actingAs($user)->post(route('staff.rooms.store'), [ 'name' => $chatroom->name, @@ -87,7 +87,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chatroom = factory(Chatroom::class)->create(); + $chatroom = Chatroom::factory()->create(); $response = $this->actingAs($user)->post(route('staff.rooms.update', ['id' => $chatroom->id]), [ 'name' => $chatroom->name, diff --git a/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php index 04c59d2c52..ae238cda3e 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -39,7 +39,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chat_status = factory(ChatStatus::class)->create(); + $chat_status = ChatStatus::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.statuses.destroy', ['id' => $chat_status->id])); $response->assertRedirect(route('staff.statuses.index')); @@ -69,7 +69,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chat_status = factory(ChatStatus::class)->make(); + $chat_status = ChatStatus::factory()->make(); $response = $this->actingAs($user)->post(route('staff.statuses.store'), [ 'name' => $chat_status->name, @@ -88,7 +88,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $chat_status = factory(ChatStatus::class)->create(); + $chat_status = ChatStatus::factory()->create(); $response = $this->actingAs($user)->post(route('staff.statuses.update', ['id' => $chat_status->id]), [ 'name' => $chat_status->name, diff --git a/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php b/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php index daddb77045..b3e7c18b64 100644 --- a/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php @@ -19,9 +19,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, diff --git a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php index 127e4426f1..92d0d5429b 100644 --- a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php @@ -19,9 +19,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, diff --git a/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php b/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php index e002454a85..cf6b3a2095 100644 --- a/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php @@ -19,9 +19,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -53,7 +53,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $staff = $this->createStaffUser(); - $user = factory(User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($staff)->post(route('staff.gifts.store'), [ 'username' => $user->username, diff --git a/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php b/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php index 114373fffe..433e023601 100644 --- a/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php @@ -19,9 +19,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -53,7 +53,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $group = factory(Group::class)->create(); + $group = Group::factory()->create(); $response = $this->actingAs($user)->get(route('staff.groups.edit', ['id' => $group->id])); @@ -86,7 +86,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $group = factory(Group::class)->make(); + $group = Group::factory()->make(); $response = $this->actingAs($user)->post(route('staff.groups.store'), [ 'name' => $group->name, @@ -120,7 +120,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $group = factory(Group::class)->create(); + $group = Group::factory()->create(); $response = $this->actingAs($user)->post(route('staff.groups.update', ['id' => $group->id]), [ 'name' => $group->name, diff --git a/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php b/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php index ae4d6997e9..f48eb50dbd 100644 --- a/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php @@ -19,9 +19,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, diff --git a/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php b/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php index ec9df8a03c..034949ea49 100644 --- a/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -54,7 +54,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $message = factory(PrivateMessage::class)->create(); + $message = PrivateMessage::factory()->create(); $response = $this->actingAs($user)->post(route('staff.mass-pm.store'), [ 'sender_id' => $user->id, diff --git a/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php b/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php index 9f5c1469cc..5596ea6e20 100644 --- a/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -39,7 +39,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $staff = $this->createStaffUser(); - $note = factory(Note::class)->create(); + $note = Note::factory()->create(); $user = User::whereId($note->user_id)->first(); $response = $this->actingAs($staff)->delete(route('staff.notes.destroy', ['id' => $note->id])); @@ -71,8 +71,8 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $staff = $this->createStaffUser(); - $user = factory(User::class)->create(); - $note = factory(Note::class)->make(); + $user = User::factory()->create(); + $note = Note::factory()->make(); $response = $this->actingAs($staff)->post(route('staff.notes.store', ['username' => $user->username]), [ 'user_id' => $user->id, diff --git a/tests/Feature/Http/Controllers/Staff/PageControllerTest.php b/tests/Feature/Http/Controllers/Staff/PageControllerTest.php index 80f508454b..443c45aa5f 100644 --- a/tests/Feature/Http/Controllers/Staff/PageControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/PageControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -54,7 +54,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $page = factory(Page::class)->create(); + $page = Page::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.pages.destroy', ['id' => $page->id])); @@ -69,7 +69,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $page = factory(Page::class)->create(); + $page = Page::factory()->create(); $response = $this->actingAs($user)->get(route('staff.pages.edit', ['id' => $page->id])); @@ -102,7 +102,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $page = factory(Page::class)->make(); + $page = Page::factory()->make(); $response = $this->actingAs($user)->post(route('staff.pages.store'), [ 'name' => $page->name, @@ -121,7 +121,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $page = factory(Page::class)->create(); + $page = Page::factory()->create(); $response = $this->actingAs($user)->post(route('staff.pages.update', ['id' => $page->id]), [ 'name' => $page->name, diff --git a/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php b/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php index f3f3b34874..a85e585867 100644 --- a/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php @@ -20,9 +20,9 @@ protected function setUp(): void protected function createStaffUser() { - return factory(User::class)->create([ + return User::factory()->create([ 'group_id' => function () { - return factory(Group::class)->create([ + return Group::factory()->create([ 'is_owner' => true, 'is_admin' => true, 'is_modo' => true, @@ -54,7 +54,7 @@ public function destroy_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $type = factory(Type::class)->create(); + $type = Type::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.types.destroy', ['id' => $type->id])); @@ -69,7 +69,7 @@ public function edit_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $type = factory(Type::class)->create(); + $type = Type::factory()->create(); $response = $this->actingAs($user)->get(route('staff.types.edit', ['id' => $type->id])); @@ -102,7 +102,7 @@ public function store_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $type = factory(Type::class)->make(); + $type = Type::factory()->make(); $response = $this->actingAs($user)->post(route('staff.types.store'), [ 'name' => $type->name, @@ -121,7 +121,7 @@ public function update_returns_an_ok_response() $this->seed(GroupsTableSeeder::class); $user = $this->createStaffUser(); - $type = factory(Type::class)->create(); + $type = Type::factory()->create(); $response = $this->actingAs($user)->patch(route('staff.types.update', ['id' => $type->id]), [ 'name' => $type->name, diff --git a/tests/Todo/Feature/Http/Controllers/GraveyardControllerTest.php b/tests/Todo/Feature/Http/Controllers/GraveyardControllerTest.php index a8cca47e7b..72ccfe90d7 100644 --- a/tests/Todo/Feature/Http/Controllers/GraveyardControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/GraveyardControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $graveyard = factory(\App\Models\Graveyard::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $graveyard = Graveyard::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('graveyard.destroy', ['id' => $graveyard->id])); @@ -37,7 +38,7 @@ public function faceted_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('graveyard.')); @@ -54,7 +55,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('graveyard.index')); @@ -75,8 +76,8 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $graveyard = factory(\App\Models\Graveyard::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $graveyard = Graveyard::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('graveyard.store', ['id' => $graveyard->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/ImageControllerTest.php b/tests/Todo/Feature/Http/Controllers/ImageControllerTest.php index 72a3b123a7..5b4bcb01ba 100644 --- a/tests/Todo/Feature/Http/Controllers/ImageControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/ImageControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $image = factory(\App\Models\Image::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $image = Image::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('images.create', ['id' => $image->id])); @@ -35,8 +36,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $image = factory(\App\Models\Image::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $image = Image::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('images.destroy', ['id' => $image->id])); @@ -53,8 +54,8 @@ public function download_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $image = factory(\App\Models\Image::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $image = Image::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('images.download', ['id' => $image->id])); @@ -70,7 +71,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('images.store'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/InviteControllerTest.php b/tests/Todo/Feature/Http/Controllers/InviteControllerTest.php index 9e616f7fd2..2538583a61 100644 --- a/tests/Todo/Feature/Http/Controllers/InviteControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/InviteControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('invites.create')); @@ -32,8 +33,8 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $invite = factory(\App\Models\Invite::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $invite = Invite::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('invites.index', ['username' => $invite->username])); @@ -53,8 +54,8 @@ public function send_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $invite = factory(\App\Models\Invite::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $invite = Invite::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('invites.send', ['id' => $invite->id]), [ // TODO: send request data @@ -72,7 +73,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('invites.store'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/LanguageControllerTest.php b/tests/Todo/Feature/Http/Controllers/LanguageControllerTest.php index 7b09eeedc6..4493b379d2 100644 --- a/tests/Todo/Feature/Http/Controllers/LanguageControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/LanguageControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function back_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $language = factory(\App\Models\Language::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $language = Language::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('back', ['locale' => $language->locale])); diff --git a/tests/Todo/Feature/Http/Controllers/LikeControllerTest.php b/tests/Todo/Feature/Http/Controllers/LikeControllerTest.php index 152bcd3be3..2740b00699 100644 --- a/tests/Todo/Feature/Http/Controllers/LikeControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/LikeControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $like = factory(\App\Models\Like::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $like = Like::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('dislike', ['postId' => $like->postId])); @@ -37,8 +38,8 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $like = factory(\App\Models\Like::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $like = Like::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('like', ['postId' => $like->postId])); diff --git a/tests/Todo/Feature/Http/Controllers/NotificationControllerTest.php b/tests/Todo/Feature/Http/Controllers/NotificationControllerTest.php index 4f0482d064..6070311c4b 100644 --- a/tests/Todo/Feature/Http/Controllers/NotificationControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/NotificationControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $notification = factory(\App\Models\Notification::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $notification = Notification::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('notifications.destroy', ['id' => $notification->id])); @@ -34,7 +35,7 @@ public function destroy_all_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('notifications.destroyall')); @@ -50,7 +51,7 @@ public function faceted_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('notifications.')); @@ -67,7 +68,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('notifications.index')); @@ -85,8 +86,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $notification = factory(\App\Models\Notification::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $notification = Notification::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('notifications.show', ['id' => $notification->id])); @@ -102,8 +103,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $notification = factory(\App\Models\Notification::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $notification = Notification::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('notifications.update', ['id' => $notification->id]), [ // TODO: send request data @@ -121,7 +122,7 @@ public function update_all_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('notifications.updateall'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/PageControllerTest.php b/tests/Todo/Feature/Http/Controllers/PageControllerTest.php index fe7e2dd289..09f190d7d4 100644 --- a/tests/Todo/Feature/Http/Controllers/PageControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PageControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function about_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('about')); @@ -33,7 +34,7 @@ public function blacklist_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('blacklist')); @@ -52,7 +53,7 @@ public function email_list_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('emaillist')); @@ -71,7 +72,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('pages.index')); @@ -89,7 +90,7 @@ public function internal_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('internal')); @@ -107,8 +108,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $page = factory(\App\Models\Page::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $page = Page::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('pages.show', ['id' => $page->id])); @@ -126,7 +127,7 @@ public function staff_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff')); diff --git a/tests/Todo/Feature/Http/Controllers/PlaylistControllerTest.php b/tests/Todo/Feature/Http/Controllers/PlaylistControllerTest.php index 8186150601..79b1082b38 100644 --- a/tests/Todo/Feature/Http/Controllers/PlaylistControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PlaylistControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('playlists.create')); @@ -36,8 +37,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $playlist = factory(\App\Models\Playlist::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $playlist = Playlist::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('playlists.destroy', ['id' => $playlist->id])); @@ -54,8 +55,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $playlist = factory(\App\Models\Playlist::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $playlist = Playlist::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('playlists.edit', ['id' => $playlist->id])); @@ -73,7 +74,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('playlists.index')); @@ -91,8 +92,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $playlist = factory(\App\Models\Playlist::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $playlist = Playlist::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('playlists.show', ['id' => $playlist->id])); @@ -112,7 +113,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('playlists.store'), [ // TODO: send request data @@ -130,8 +131,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $playlist = factory(\App\Models\Playlist::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $playlist = Playlist::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->patch(route('playlists.update', ['id' => $playlist->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/PlaylistTorrentControllerTest.php b/tests/Todo/Feature/Http/Controllers/PlaylistTorrentControllerTest.php index 68818f3ac2..a2251bbca3 100644 --- a/tests/Todo/Feature/Http/Controllers/PlaylistTorrentControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PlaylistTorrentControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $playlist_torrent = factory(\App\Models\PlaylistTorrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $playlist_torrent = PlaylistTorrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('playlists.detach', ['id' => $playlist_torrent->id])); @@ -34,7 +35,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('playlists.attach'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/PollControllerTest.php b/tests/Todo/Feature/Http/Controllers/PollControllerTest.php index 125670e4a1..6e9c875918 100644 --- a/tests/Todo/Feature/Http/Controllers/PollControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PollControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('polls')); @@ -34,8 +35,8 @@ public function result_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $poll = factory(\App\Models\Poll::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $poll = Poll::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('poll_results', ['id' => $poll->id])); @@ -52,8 +53,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $poll = factory(\App\Models\Poll::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $poll = Poll::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('poll', ['id' => $poll->id])); @@ -69,7 +70,7 @@ public function vote_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post('polls/vote', [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/PostControllerTest.php b/tests/Todo/Feature/Http/Controllers/PostControllerTest.php index 8ca3a26575..14752947d7 100644 --- a/tests/Todo/Feature/Http/Controllers/PostControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PostControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function post_delete_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $post = factory(\App\Models\Post::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $post = Post::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_post_delete', ['postId' => $post->postId])); @@ -36,8 +37,8 @@ public function post_edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $post = factory(\App\Models\Post::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $post = Post::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('forum_post_edit', ['postId' => $post->postId]), [ // TODO: send request data @@ -55,9 +56,9 @@ public function post_edit_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $post = factory(\App\Models\Post::class)->create(); - $post = factory(\App\Models\Post::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $post = Post::factory()->create(); + $post = Post::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_post_edit_form', ['id' => $post->id, 'postId' => $post->postId])); @@ -78,8 +79,8 @@ public function reply_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $post = factory(\App\Models\Post::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $post = Post::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('forum_reply', ['id' => $post->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/PrivateMessageControllerTest.php b/tests/Todo/Feature/Http/Controllers/PrivateMessageControllerTest.php index 748e4a90d8..4b8177080f 100644 --- a/tests/Todo/Feature/Http/Controllers/PrivateMessageControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PrivateMessageControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function delete_private_message_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $private_message = factory(\App\Models\PrivateMessage::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $private_message = PrivateMessage::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('delete-pm', ['id' => $private_message->id]), [ // TODO: send request data @@ -35,8 +36,8 @@ public function get_private_message_by_id_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $private_message = factory(\App\Models\PrivateMessage::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $private_message = PrivateMessage::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('message', ['id' => $private_message->id])); @@ -55,7 +56,7 @@ public function get_private_messages_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('inbox')); @@ -74,7 +75,7 @@ public function get_private_messages_sent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('outbox')); @@ -93,7 +94,7 @@ public function make_private_message_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('create')); @@ -113,7 +114,7 @@ public function mark_all_as_read_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('mark-all-read')); @@ -129,8 +130,8 @@ public function reply_private_message_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $private_message = factory(\App\Models\PrivateMessage::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $private_message = PrivateMessage::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('reply-pm', ['id' => $private_message->id]), [ // TODO: send request data @@ -148,7 +149,7 @@ public function search_p_m_inbox_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('searchPMInbox'), [ // TODO: send request data @@ -169,7 +170,7 @@ public function search_p_m_outbox_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('searchPMOutbox'), [ // TODO: send request data @@ -190,7 +191,7 @@ public function send_private_message_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('send-pm'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/ReportControllerTest.php b/tests/Todo/Feature/Http/Controllers/ReportControllerTest.php index 0c5fc89d5f..ac09afbe00 100644 --- a/tests/Todo/Feature/Http/Controllers/ReportControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/ReportControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $report = factory(\App\Models\Report::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $report = Report::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('report_request', ['id' => $report->id]), [ // TODO: send request data @@ -38,8 +39,8 @@ public function torrent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $report = factory(\App\Models\Report::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $report = Report::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('report_torrent', ['id' => $report->id]), [ // TODO: send request data @@ -57,8 +58,8 @@ public function user_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $report = factory(\App\Models\Report::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $report = Report::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('report_user', ['username' => $report->username]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/RequestControllerTest.php b/tests/Todo/Feature/Http/Controllers/RequestControllerTest.php index 02ea5cca69..4c0835812f 100644 --- a/tests/Todo/Feature/Http/Controllers/RequestControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/RequestControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function add_bonus_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('add_votes', ['id' => $id]), [ // TODO: send request data @@ -37,7 +38,7 @@ public function add_request_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('add_request_form')); @@ -60,7 +61,7 @@ public function approve_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('approveRequest', ['id' => $id])); @@ -76,7 +77,7 @@ public function claim_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('claimRequest', ['id' => $id]), [ // TODO: send request data @@ -94,7 +95,7 @@ public function delete_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('deleteRequest', ['id' => $id]), [ // TODO: send request data @@ -112,7 +113,7 @@ public function edit_request_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('edit_request_form', ['id' => $id])); @@ -133,7 +134,7 @@ public function faceted_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('requests/filter'); @@ -150,7 +151,7 @@ public function fill_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('fill_request', ['id' => $id]), [ // TODO: send request data @@ -168,7 +169,7 @@ public function reject_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('rejectRequest', ['id' => $id])); @@ -184,7 +185,7 @@ public function request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('request', ['id' => $id])); @@ -208,7 +209,7 @@ public function requests_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('requests')); @@ -234,7 +235,7 @@ public function reset_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('resetRequest', ['id' => $id])); @@ -250,7 +251,7 @@ public function unclaim_request_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('unclaimRequest', ['id' => $id])); diff --git a/tests/Todo/Feature/Http/Controllers/RssControllerTest.php b/tests/Todo/Feature/Http/Controllers/RssControllerTest.php index 1459f1a1b1..6c0bd58936 100644 --- a/tests/Todo/Feature/Http/Controllers/RssControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/RssControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('rss.create')); @@ -40,8 +41,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('rss.destroy', ['id' => $rss->id])); @@ -58,8 +59,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('rss.edit', ['id' => $rss->id])); @@ -81,7 +82,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('rss.index')); @@ -102,8 +103,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $rss = factory(\App\Models\Rss::class)->create(); + $rss = Rss::factory()->create(); + $rss = Rss::factory()->create(); $response = $this->get(route('rss.show.rsskey', ['id' => $rss->id, 'rsskey' => $rss->rsskey])); @@ -119,7 +120,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('rss.store'), [ // TODO: send request data @@ -137,8 +138,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->patch(route('rss.update', ['id' => $rss->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/SeedboxControllerTest.php b/tests/Todo/Feature/Http/Controllers/SeedboxControllerTest.php index 0f5467190b..a00525fda4 100644 --- a/tests/Todo/Feature/Http/Controllers/SeedboxControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/SeedboxControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $seedbox = factory(\App\Models\Seedbox::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $seedbox = Seedbox::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('seedboxes.index', ['username' => $seedbox->username])); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/ApplicationControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/ApplicationControllerTest.php index d5b46f7db8..c7028cc681 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/ApplicationControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/ApplicationControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function approve_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $application = factory(\App\Models\Application::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $application = Application::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.applications.approve', ['id' => $application->id]), [ // TODO: send request data @@ -38,7 +39,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.applications.index')); @@ -56,8 +57,8 @@ public function reject_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $application = factory(\App\Models\Application::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $application = Application::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.applications.reject', ['id' => $application->id]), [ // TODO: send request data @@ -75,8 +76,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $application = factory(\App\Models\Application::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $application = Application::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.applications.show', ['id' => $application->id])); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/AuditControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/AuditControllerTest.php index c790233b76..bbeff0bfd2 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/AuditControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/AuditControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $audit = factory(\App\Models\Audit::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $audit = Audit::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.audits.destroy', ['id' => $audit->id])); @@ -34,7 +35,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.audits.index')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/AuthenticationControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/AuthenticationControllerTest.php index d63d20c889..f2479d9091 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/AuthenticationControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/AuthenticationControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.authentications.index')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/BackupControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/BackupControllerTest.php index 33fb1f864e..0afff0f407 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/BackupControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/BackupControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.backups.full'), [ // TODO: send request data @@ -34,7 +35,7 @@ public function database_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.backups.database'), [ // TODO: send request data @@ -52,7 +53,7 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.backups.destroy')); @@ -69,7 +70,7 @@ public function download_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.backups.download')); @@ -85,7 +86,7 @@ public function files_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.backups.files'), [ // TODO: send request data @@ -103,7 +104,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.backups.index')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/BanControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/BanControllerTest.php index 94c9c7e649..912035ca9f 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/BanControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/BanControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.bans.index')); @@ -37,8 +38,8 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $ban = factory(\App\Models\Ban::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $ban = Ban::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.bans.store', ['username' => $ban->username]), [ // TODO: send request data @@ -56,8 +57,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $ban = factory(\App\Models\Ban::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $ban = Ban::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.bans.update', ['username' => $ban->username]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/FlushControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/FlushControllerTest.php index 6644e52c91..2e3d07e6f6 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/FlushControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/FlushControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function chat_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.flush.chat')); @@ -32,7 +33,7 @@ public function peers_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.flush.peers')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/ForumControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/ForumControllerTest.php index 336d2c55c3..1bccf66052 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/ForumControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/ForumControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.forums.create')); @@ -38,8 +39,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $forum = factory(\App\Models\Forum::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $forum = Forum::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.forums.destroy', ['id' => $forum->id])); @@ -56,8 +57,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $forum = factory(\App\Models\Forum::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $forum = Forum::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.forums.edit', ['id' => $forum->id])); @@ -77,7 +78,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.forums.index')); @@ -95,7 +96,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.forums.store'), [ // TODO: send request data @@ -113,8 +114,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $forum = factory(\App\Models\Forum::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $forum = Forum::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.forums.update', ['id' => $forum->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/HomeControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/HomeControllerTest.php index 5ea864757e..3f2a166e31 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/HomeControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/HomeControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.dashboard.index')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/ModerationControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/ModerationControllerTest.php index 9669a14c4d..e7cff22f75 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/ModerationControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/ModerationControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function approve_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.moderation.approve', ['id' => $id])); @@ -32,7 +33,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.moderation.index')); @@ -53,7 +54,7 @@ public function postpone_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.moderation.postpone'), [ // TODO: send request data @@ -71,7 +72,7 @@ public function reject_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.moderation.reject'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/PollControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/PollControllerTest.php index 9a8f9bb5a5..9e0b49459a 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/PollControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/PollControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.polls.create')); @@ -33,7 +34,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.polls.index')); @@ -51,8 +52,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $poll = factory(\App\Models\Poll::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $poll = Poll::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.polls.show', ['id' => $poll->id])); @@ -70,7 +71,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.polls.store'), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/ReportControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/ReportControllerTest.php index ca8c93f478..37feb1d736 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/ReportControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/ReportControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.reports.index')); @@ -37,8 +38,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $report = factory(\App\Models\Report::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $report = Report::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.reports.show', ['id' => $report->id])); @@ -57,8 +58,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $report = factory(\App\Models\Report::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $report = Report::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.reports.update', ['id' => $report->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/RssControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/RssControllerTest.php index 92127add5f..fa3924fe7e 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/RssControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/RssControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.rss.create')); @@ -40,8 +41,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.rss.destroy', ['id' => $rss->id])); @@ -58,8 +59,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.rss.edit', ['id' => $rss->id])); @@ -81,7 +82,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.rss.index')); @@ -100,7 +101,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.rss.store'), [ // TODO: send request data @@ -118,8 +119,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $rss = factory(\App\Models\Rss::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $rss = Rss::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->patch(route('staff.rss.update', ['id' => $rss->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/SeedboxControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/SeedboxControllerTest.php index 228848a9d6..a2e478c1d2 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/SeedboxControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/SeedboxControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $seedbox = factory(\App\Models\Seedbox::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $seedbox = Seedbox::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('staff.seedboxes.destroy', ['id' => $seedbox->id])); @@ -34,7 +35,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.seedboxes.index')); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/TagControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/TagControllerTest.php index ddb252e370..21243e9f95 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/TagControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/TagControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function create_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.tags.create')); @@ -36,8 +37,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $tag = factory(\App\Models\Tag::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $tag = Tag::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.tags.edit', ['id' => $tag->id])); @@ -55,7 +56,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.tags.index')); @@ -73,7 +74,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.tags.store'), [ // TODO: send request data @@ -91,8 +92,8 @@ public function update_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $tag = factory(\App\Models\Tag::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $tag = Tag::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.tags.update', ['id' => $tag->id]), [ // TODO: send request data diff --git a/tests/Todo/Feature/Http/Controllers/Staff/UserControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/UserControllerTest.php index 804b26dfd4..76b7e79489 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/UserControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/UserControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('user_edit', ['username' => $user->username]), [ // TODO: send request data @@ -38,7 +39,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_search')); @@ -60,8 +61,8 @@ public function permissions_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('user_permissions', ['username' => $user->username]), [ // TODO: send request data @@ -79,7 +80,7 @@ public function search_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_results')); @@ -97,8 +98,8 @@ public function settings_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_setting', ['username' => $user->username])); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/VersionControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/VersionControllerTest.php index 615e196da3..4afec99d58 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/VersionControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/VersionControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function check_version_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('dashboard/UNIT3D'); diff --git a/tests/Todo/Feature/Http/Controllers/Staff/WarningControllerTest.php b/tests/Todo/Feature/Http/Controllers/Staff/WarningControllerTest.php index 40bc981178..e3d685514f 100644 --- a/tests/Todo/Feature/Http/Controllers/Staff/WarningControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/Staff/WarningControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers\Staff; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.warnings.index')); diff --git a/tests/Todo/Feature/Http/Controllers/StatsControllerTest.php b/tests/Todo/Feature/Http/Controllers/StatsControllerTest.php index 17b6ef54af..a6bfaf2d11 100644 --- a/tests/Todo/Feature/Http/Controllers/StatsControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/StatsControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,7 +17,7 @@ public function bankers_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bankers')); @@ -34,7 +35,7 @@ public function bountied_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bountied')); @@ -52,7 +53,7 @@ public function completed_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('completed')); @@ -70,7 +71,7 @@ public function dead_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('dead')); @@ -88,7 +89,7 @@ public function downloaded_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('downloaded')); @@ -106,7 +107,7 @@ public function dying_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('dying')); @@ -124,7 +125,7 @@ public function group_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('group', ['id' => $id])); @@ -143,7 +144,7 @@ public function groups_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('groups')); @@ -161,7 +162,7 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('stats')); @@ -197,7 +198,7 @@ public function languages_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('languages')); @@ -215,7 +216,7 @@ public function leeched_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('leeched')); @@ -233,7 +234,7 @@ public function leechers_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('leechers')); @@ -251,7 +252,7 @@ public function seeded_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('seeded')); @@ -269,7 +270,7 @@ public function seeders_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('seeders')); @@ -287,7 +288,7 @@ public function seedsize_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('seedsize')); @@ -305,7 +306,7 @@ public function seedtime_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('seedtime')); @@ -323,7 +324,7 @@ public function uploaded_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('uploaded')); @@ -341,7 +342,7 @@ public function uploaders_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('uploaders')); diff --git a/tests/Todo/Feature/Http/Controllers/SubscriptionControllerTest.php b/tests/Todo/Feature/Http/Controllers/SubscriptionControllerTest.php index 85b4694def..7cb62942bd 100644 --- a/tests/Todo/Feature/Http/Controllers/SubscriptionControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/SubscriptionControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,9 +20,9 @@ public function subscribe_forum_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $subscription = factory(\App\Models\Subscription::class)->create(); - $forum = factory(\App\Models\Forum::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $subscription = Subscription::factory()->create(); + $forum = Forum::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('subscribe_forum', ['route' => $subscription->route, $forum])); @@ -37,9 +38,9 @@ public function subscribe_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $subscription = factory(\App\Models\Subscription::class)->create(); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $subscription = Subscription::factory()->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('subscribe_topic', ['route' => $subscription->route, $topic])); @@ -55,9 +56,9 @@ public function unsubscribe_forum_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $subscription = factory(\App\Models\Subscription::class)->create(); - $forum = factory(\App\Models\Forum::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $subscription = Subscription::factory()->create(); + $forum = Forum::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('unsubscribe_forum', ['route' => $subscription->route, $forum])); @@ -73,9 +74,9 @@ public function unsubscribe_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $subscription = factory(\App\Models\Subscription::class)->create(); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $subscription = Subscription::factory()->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('unsubscribe_topic', ['route' => $subscription->route, $topic])); diff --git a/tests/Todo/Feature/Http/Controllers/ThankControllerTest.php b/tests/Todo/Feature/Http/Controllers/ThankControllerTest.php index c1d5998708..1d059cd934 100644 --- a/tests/Todo/Feature/Http/Controllers/ThankControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/ThankControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $thank = factory(\App\Models\Thank::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $thank = Thank::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('thanks.store', ['id' => $thank->id])); diff --git a/tests/Todo/Feature/Http/Controllers/TopicControllerTest.php b/tests/Todo/Feature/Http/Controllers/TopicControllerTest.php index 906c330944..f332d14a9e 100644 --- a/tests/Todo/Feature/Http/Controllers/TopicControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/TopicControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function add_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_new_topic_form', ['id' => $topic->id])); @@ -36,8 +37,8 @@ public function close_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_close', ['id' => $topic->id])); @@ -53,8 +54,8 @@ public function delete_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_delete_topic', ['id' => $topic->id])); @@ -70,8 +71,8 @@ public function edit_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_edit_topic_form', ['id' => $topic->id])); @@ -90,8 +91,8 @@ public function edit_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('forum_edit_topic', ['id' => $topic->id]), [ // TODO: send request data @@ -109,8 +110,8 @@ public function new_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('forum_new_topic', ['id' => $topic->id]), [ // TODO: send request data @@ -128,8 +129,8 @@ public function open_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_open', ['id' => $topic->id])); @@ -145,8 +146,8 @@ public function pin_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_pin_topic', ['id' => $topic->id])); @@ -162,8 +163,8 @@ public function topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_topic', ['id' => $topic->id])); @@ -179,8 +180,8 @@ public function unpin_topic_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $topic = factory(\App\Models\Topic::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $topic = Topic::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('forum_unpin_topic', ['id' => $topic->id])); diff --git a/tests/Todo/Feature/Http/Controllers/TopicLabelControllerTest.php b/tests/Todo/Feature/Http/Controllers/TopicLabelControllerTest.php index 00429c4a26..a10afa924d 100644 --- a/tests/Todo/Feature/Http/Controllers/TopicLabelControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/TopicLabelControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function approve_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.approve', ['id' => $id])); @@ -35,7 +36,7 @@ public function bug_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.bug', ['id' => $id])); @@ -51,7 +52,7 @@ public function deny_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.deny', ['id' => $id])); @@ -67,7 +68,7 @@ public function implement_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.implement', ['id' => $id])); @@ -83,7 +84,7 @@ public function invalid_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.invalid', ['id' => $id])); @@ -99,7 +100,7 @@ public function solve_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.solve', ['id' => $id])); @@ -115,7 +116,7 @@ public function suggest_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('topics.suggest', ['id' => $id])); diff --git a/tests/Todo/Feature/Http/Controllers/TorrentControllerTest.php b/tests/Todo/Feature/Http/Controllers/TorrentControllerTest.php index ba7249deea..66e9b56b9a 100644 --- a/tests/Todo/Feature/Http/Controllers/TorrentControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/TorrentControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function bump_torrent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('bumpTorrent', ['id' => $torrent->id])); @@ -33,7 +34,7 @@ public function card_layout_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('cards')); @@ -53,7 +54,7 @@ public function delete_torrent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('delete'), [ // TODO: send request data @@ -71,8 +72,8 @@ public function download_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('download', ['id' => $torrent->id])); @@ -88,8 +89,8 @@ public function download_check_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('download_check', ['id' => $torrent->id])); @@ -108,8 +109,8 @@ public function edit_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('edit', ['id' => $torrent->id]), [ // TODO: send request data @@ -127,8 +128,8 @@ public function edit_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('edit_form', ['id' => $torrent->id])); @@ -148,7 +149,7 @@ public function faceted_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('torrents/filter'); @@ -165,7 +166,7 @@ public function filtered_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('torrents/filterSettings'); @@ -181,8 +182,8 @@ public function freeleech_token_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('freeleech_token', ['id' => $torrent->id])); @@ -198,8 +199,8 @@ public function grant_double_up_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrent_doubleup', ['id' => $torrent->id])); @@ -215,8 +216,8 @@ public function grant_f_l_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrent_fl', ['id' => $torrent->id])); @@ -232,8 +233,8 @@ public function grant_featured_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrent_feature', ['id' => $torrent->id])); @@ -249,7 +250,7 @@ public function grouping_layout_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('groupings')); @@ -266,8 +267,8 @@ public function history_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('history', ['id' => $torrent->id])); @@ -286,8 +287,8 @@ public function peers_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('peers', ['id' => $torrent->id])); @@ -306,8 +307,8 @@ public function reseed_torrent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('reseed', ['id' => $torrent->id])); @@ -323,9 +324,9 @@ public function similar_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrents.similar', ['category_id' => $torrent->category_id, 'tmdb' => $torrent->tmdb])); @@ -346,8 +347,8 @@ public function sticky_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrent_sticky', ['id' => $torrent->id])); @@ -363,8 +364,8 @@ public function torrent_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $torrent = factory(\App\Models\Torrent::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $torrent = Torrent::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrent', ['id' => $torrent->id])); @@ -404,7 +405,7 @@ public function torrents_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('torrents')); @@ -429,7 +430,7 @@ public function upload_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('upload'), [ // TODO: send request data @@ -447,7 +448,7 @@ public function upload_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('upload_form')); diff --git a/tests/Todo/Feature/Http/Controllers/UserControllerTest.php b/tests/Todo/Feature/Http/Controllers/UserControllerTest.php index e81124c688..9b0bfa36cb 100644 --- a/tests/Todo/Feature/Http/Controllers/UserControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/UserControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,7 +20,7 @@ public function accept_rules_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('accept.rules'), [ // TODO: send request data @@ -37,8 +38,8 @@ public function active_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_active', ['username' => $user->username])); @@ -62,8 +63,8 @@ public function change_api_token_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('change_api_token', ['username' => $user->username]), [ // TODO: send request data @@ -81,8 +82,8 @@ public function change_p_i_d_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('change_pid', ['username' => $user->username]), [ // TODO: send request data @@ -100,8 +101,8 @@ public function change_r_i_d_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('change_rid', ['username' => $user->username]), [ // TODO: send request data @@ -119,8 +120,8 @@ public function change_settings_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('change_settings', ['username' => $user->username]), [ // TODO: send request data @@ -138,8 +139,8 @@ public function disable_notifications_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('notification_disable', ['username' => $user->username])); @@ -155,8 +156,8 @@ public function download_history_torrents_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('download_history_torrents', ['username' => $user->username])); @@ -172,8 +173,8 @@ public function downloads_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_downloads', ['username' => $user->username])); @@ -197,8 +198,8 @@ public function edit_profile_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('user_edit_profile', ['username' => $user->username]), [ // TODO: send request data @@ -216,8 +217,8 @@ public function edit_profile_form_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_edit_profile_form', ['username' => $user->username])); @@ -236,8 +237,8 @@ public function enable_notifications_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('notification_enable', ['username' => $user->username])); @@ -253,8 +254,8 @@ public function followers_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_followers', ['username' => $user->username])); @@ -274,8 +275,8 @@ public function get_bans_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('banlog', ['username' => $user->username])); @@ -294,8 +295,8 @@ public function make_hidden_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_hidden', ['username' => $user->username])); @@ -311,8 +312,8 @@ public function make_private_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_private', ['username' => $user->username])); @@ -328,8 +329,8 @@ public function make_public_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_public', ['username' => $user->username])); @@ -345,8 +346,8 @@ public function make_visible_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_visible', ['username' => $user->username])); @@ -362,8 +363,8 @@ public function my_filter_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('myfilter', ['username' => $user->username]), [ // TODO: send request data @@ -382,8 +383,8 @@ public function notification_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_notification', ['username' => $user->username])); @@ -402,8 +403,8 @@ public function posts_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_posts', ['username' => $user->username])); @@ -423,8 +424,8 @@ public function privacy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_privacy', ['username' => $user->username])); @@ -443,8 +444,8 @@ public function requested_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_requested', ['username' => $user->username])); @@ -464,8 +465,8 @@ public function resurrections_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_resurrections', ['username' => $user->username])); @@ -485,8 +486,8 @@ public function security_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_security', ['username' => $user->username])); @@ -504,8 +505,8 @@ public function seeds_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_seeds', ['username' => $user->username])); @@ -529,8 +530,8 @@ public function settings_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_settings', ['username' => $user->username])); @@ -549,8 +550,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('users.show', ['username' => $user->username])); @@ -581,8 +582,8 @@ public function topics_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_topics', ['username' => $user->username])); @@ -602,8 +603,8 @@ public function torrents_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_torrents', ['username' => $user->username])); @@ -627,8 +628,8 @@ public function unsatisfieds_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_unsatisfieds', ['username' => $user->username])); @@ -652,8 +653,8 @@ public function uploads_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('user_uploads', ['username' => $user->username])); diff --git a/tests/Todo/Feature/Http/Controllers/WarningControllerTest.php b/tests/Todo/Feature/Http/Controllers/WarningControllerTest.php index b3d5830bbe..3e04f96a61 100644 --- a/tests/Todo/Feature/Http/Controllers/WarningControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/WarningControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; @@ -19,8 +20,8 @@ public function deactivate_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('deactivateWarning', ['id' => $warning->id])); @@ -36,8 +37,8 @@ public function deactivate_all_warnings_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('massDeactivateWarnings', ['username' => $warning->username])); @@ -53,8 +54,8 @@ public function delete_all_warnings_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('massDeleteWarnings', ['username' => $warning->username])); @@ -70,8 +71,8 @@ public function delete_warning_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->delete(route('deleteWarning', ['id' => $warning->id])); @@ -87,8 +88,8 @@ public function restore_warning_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('restoreWarning', ['id' => $warning->id])); @@ -104,8 +105,8 @@ public function show_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $warning = factory(\App\Models\Warning::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $warning = Warning::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('warnings.show', ['username' => $warning->username])); diff --git a/tests/Todo/Feature/Http/Controllers/WishControllerTest.php b/tests/Todo/Feature/Http/Controllers/WishControllerTest.php index a16c5a3390..d31ddbac45 100644 --- a/tests/Todo/Feature/Http/Controllers/WishControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/WishControllerTest.php @@ -2,6 +2,7 @@ namespace Tests\Todo\Feature\Http\Controllers; +use App\Models\User; use Tests\TestCase; /** @@ -16,8 +17,8 @@ public function destroy_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $wish = factory(\App\Models\Wish::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $wish = Wish::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('wishes.destroy', ['id' => $wish->id])); @@ -33,8 +34,8 @@ public function index_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $wish = factory(\App\Models\Wish::class)->create(); - $user = factory(\App\Models\User::class)->create(); + $wish = Wish::factory()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('wishes.index', ['username' => $wish->username])); @@ -54,7 +55,7 @@ public function store_returns_an_ok_response() { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); - $user = factory(\App\Models\User::class)->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('wishes.store'), [ // TODO: send request data From 089632a4ac22804c421b0d2cb97f7a8f1586967d Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:37 +0000 Subject: [PATCH 07/23] Namespace seeders --- .../AchievementDetailsTableSeeder.php | 2 ++ database/{seeds => seeders}/ArticlesTableSeeder.php | 2 ++ .../{seeds => seeders}/BonExchangeTableSeeder.php | 2 ++ database/{seeds => seeders}/BotsTableSeeder.php | 2 ++ .../{seeds => seeders}/CategoriesTableSeeder.php | 2 ++ database/{seeds => seeders}/ChatStatusSeeder.php | 2 ++ database/{seeds => seeders}/ChatroomTableSeeder.php | 2 ++ database/{seeds => seeders}/DatabaseSeeder.php | 9 +++++++++ database/{seeds => seeders}/ForumsTableSeeder.php | 2 ++ database/{seeds => seeders}/GroupsTableSeeder.php | 2 ++ database/{seeds => seeders}/MediaLanguagesSeeder.php | 2 ++ database/{seeds => seeders}/PagesTableSeeder.php | 2 ++ .../{seeds => seeders}/PermissionsTableSeeder.php | 2 ++ .../{seeds => seeders}/ResolutionsTableSeeder.php | 2 ++ database/{seeds => seeders}/TagsTableSeeder.php | 2 ++ database/{seeds => seeders}/TypesTableSeeder.php | 2 ++ database/{seeds => seeders}/UsersTableSeeder.php | 2 ++ .../Http/Controllers/API/ChatControllerTest.php | 6 ++++-- .../Http/Controllers/API/TorrentControllerTest.php | 9 ++++++--- .../Http/Controllers/AchievementsControllerTest.php | 3 ++- .../Feature/Http/Controllers/AlbumControllerTest.php | 3 ++- .../Http/Controllers/AnnounceControllerTest.php | 3 ++- .../Http/Controllers/ArticleControllerTest.php | 3 ++- .../Controllers/Auth/ActivationControllerTest.php | 3 ++- .../Http/Controllers/Auth/TwoStepControllerTest.php | 3 ++- .../Feature/Http/Controllers/BonusControllerTest.php | 12 ++++++++---- .../Http/Controllers/BookmarkControllerTest.php | 3 ++- .../Http/Controllers/CategoryControllerTest.php | 3 ++- .../Http/Controllers/CommentControllerTest.php | 12 ++++++++---- .../Http/Controllers/ContactControllerTest.php | 6 ++++-- .../Http/Controllers/FollowControllerTest.php | 6 ++++-- .../Http/Controllers/ForumCategoryControllerTest.php | 6 ++++-- .../Feature/Http/Controllers/ForumControllerTest.php | 6 ++++-- .../Feature/Http/Controllers/HomeControllerTest.php | 3 ++- .../Http/Controllers/Staff/ArticleControllerTest.php | 3 ++- .../Controllers/Staff/CategoryControllerTest.php | 3 ++- .../Http/Controllers/Staff/ChatBotControllerTest.php | 3 ++- .../Controllers/Staff/ChatRoomControllerTest.php | 3 ++- .../Controllers/Staff/ChatStatusControllerTest.php | 3 ++- .../Http/Controllers/Staff/CheaterControllerTest.php | 3 ++- .../Http/Controllers/Staff/CommandControllerTest.php | 3 ++- .../Http/Controllers/Staff/GiftControllerTest.php | 3 ++- .../Http/Controllers/Staff/GroupControllerTest.php | 3 ++- .../Http/Controllers/Staff/InviteControllerTest.php | 3 ++- .../Controllers/Staff/MassActionControllerTest.php | 3 ++- .../Http/Controllers/Staff/NoteControllerTest.php | 3 ++- .../Http/Controllers/Staff/PageControllerTest.php | 3 ++- .../Http/Controllers/Staff/TypeControllerTest.php | 3 ++- 48 files changed, 129 insertions(+), 44 deletions(-) rename database/{seeds => seeders}/AchievementDetailsTableSeeder.php (99%) rename database/{seeds => seeders}/ArticlesTableSeeder.php (97%) rename database/{seeds => seeders}/BonExchangeTableSeeder.php (99%) rename database/{seeds => seeders}/BotsTableSeeder.php (99%) rename database/{seeds => seeders}/CategoriesTableSeeder.php (99%) rename database/{seeds => seeders}/ChatStatusSeeder.php (98%) rename database/{seeds => seeders}/ChatroomTableSeeder.php (96%) rename database/{seeds => seeders}/DatabaseSeeder.php (80%) rename database/{seeds => seeders}/ForumsTableSeeder.php (98%) rename database/{seeds => seeders}/GroupsTableSeeder.php (99%) rename database/{seeds => seeders}/MediaLanguagesSeeder.php (99%) rename database/{seeds => seeders}/PagesTableSeeder.php (99%) rename database/{seeds => seeders}/PermissionsTableSeeder.php (99%) rename database/{seeds => seeders}/ResolutionsTableSeeder.php (98%) rename database/{seeds => seeders}/TagsTableSeeder.php (99%) rename database/{seeds => seeders}/TypesTableSeeder.php (99%) rename database/{seeds => seeders}/UsersTableSeeder.php (98%) diff --git a/database/seeds/AchievementDetailsTableSeeder.php b/database/seeders/AchievementDetailsTableSeeder.php similarity index 99% rename from database/seeds/AchievementDetailsTableSeeder.php rename to database/seeders/AchievementDetailsTableSeeder.php index 1d9d9ebb81..bd5e85dffc 100644 --- a/database/seeds/AchievementDetailsTableSeeder.php +++ b/database/seeders/AchievementDetailsTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use Illuminate\Database\Seeder; class AchievementDetailsTableSeeder extends Seeder diff --git a/database/seeds/ArticlesTableSeeder.php b/database/seeders/ArticlesTableSeeder.php similarity index 97% rename from database/seeds/ArticlesTableSeeder.php rename to database/seeders/ArticlesTableSeeder.php index 6bfc747878..cf8b7ed81e 100644 --- a/database/seeds/ArticlesTableSeeder.php +++ b/database/seeders/ArticlesTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use Illuminate\Database\Seeder; class ArticlesTableSeeder extends Seeder diff --git a/database/seeds/BonExchangeTableSeeder.php b/database/seeders/BonExchangeTableSeeder.php similarity index 99% rename from database/seeds/BonExchangeTableSeeder.php rename to database/seeders/BonExchangeTableSeeder.php index 0c0d7ebb33..0eee5d1d24 100644 --- a/database/seeds/BonExchangeTableSeeder.php +++ b/database/seeders/BonExchangeTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use App\Helpers\ByteUnits; use Illuminate\Database\Seeder; diff --git a/database/seeds/BotsTableSeeder.php b/database/seeders/BotsTableSeeder.php similarity index 99% rename from database/seeds/BotsTableSeeder.php rename to database/seeders/BotsTableSeeder.php index b6ce9f7b56..07b56edfa5 100644 --- a/database/seeds/BotsTableSeeder.php +++ b/database/seeders/BotsTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use App\Models\Bot; use Illuminate\Database\Seeder; diff --git a/database/seeds/CategoriesTableSeeder.php b/database/seeders/CategoriesTableSeeder.php similarity index 99% rename from database/seeds/CategoriesTableSeeder.php rename to database/seeders/CategoriesTableSeeder.php index 7c35f4f770..be0171823b 100644 --- a/database/seeds/CategoriesTableSeeder.php +++ b/database/seeders/CategoriesTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use Illuminate\Database\Seeder; class CategoriesTableSeeder extends Seeder diff --git a/database/seeds/ChatStatusSeeder.php b/database/seeders/ChatStatusSeeder.php similarity index 98% rename from database/seeds/ChatStatusSeeder.php rename to database/seeders/ChatStatusSeeder.php index 001ea004eb..f3827d4105 100644 --- a/database/seeds/ChatStatusSeeder.php +++ b/database/seeders/ChatStatusSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use App\Models\ChatStatus; use Illuminate\Database\Seeder; diff --git a/database/seeds/ChatroomTableSeeder.php b/database/seeders/ChatroomTableSeeder.php similarity index 96% rename from database/seeds/ChatroomTableSeeder.php rename to database/seeders/ChatroomTableSeeder.php index 97cb36dbe7..07981f52c8 100644 --- a/database/seeds/ChatroomTableSeeder.php +++ b/database/seeders/ChatroomTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use App\Models\Chatroom; use Illuminate\Database\Seeder; diff --git a/database/seeds/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php similarity index 80% rename from database/seeds/DatabaseSeeder.php rename to database/seeders/DatabaseSeeder.php index 030a5b59a7..c28a7e821d 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -11,6 +11,15 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + +use Database\Seeders\ChatroomTableSeeder; +use Database\Seeders\ChatStatusSeeder; +use Database\Seeders\CategoriesTableSeeder; +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\BonExchangeTableSeeder; +use Database\Seeders\ArticlesTableSeeder; +use Database\Seeders\AchievementDetailsTableSeeder; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder diff --git a/database/seeds/ForumsTableSeeder.php b/database/seeders/ForumsTableSeeder.php similarity index 98% rename from database/seeds/ForumsTableSeeder.php rename to database/seeders/ForumsTableSeeder.php index efcb9aa5b5..c7b16f843d 100644 --- a/database/seeds/ForumsTableSeeder.php +++ b/database/seeders/ForumsTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use Illuminate\Database\Seeder; class ForumsTableSeeder extends Seeder diff --git a/database/seeds/GroupsTableSeeder.php b/database/seeders/GroupsTableSeeder.php similarity index 99% rename from database/seeds/GroupsTableSeeder.php rename to database/seeders/GroupsTableSeeder.php index a13bad9044..2220dd86a5 100644 --- a/database/seeds/GroupsTableSeeder.php +++ b/database/seeders/GroupsTableSeeder.php @@ -11,6 +11,8 @@ * @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ +namespace Database\Seeders; + use App\Models\Group; use Illuminate\Database\Seeder; diff --git a/database/seeds/MediaLanguagesSeeder.php b/database/seeders/MediaLanguagesSeeder.php similarity index 99% rename from database/seeds/MediaLanguagesSeeder.php rename to database/seeders/MediaLanguagesSeeder.php index d10dc764a4..0d474cf69c 100644 --- a/database/seeds/MediaLanguagesSeeder.php +++ b/database/seeders/MediaLanguagesSeeder.php @@ -1,5 +1,7 @@ Date: Tue, 8 Sep 2020 22:24:37 +0000 Subject: [PATCH 08/23] Shift PSR-4 autoloading --- composer.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 9b0f5fde27..dffcb71f62 100644 --- a/composer.json +++ b/composer.json @@ -71,12 +71,10 @@ }, "autoload": { "psr-4": { - "App\\": "app/" + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" }, - "classmap": [ - "database/seeds", - "database/factories" - ], "files": [ "app/Helpers/Helpers.php" ] From b71ba3ea897775665b02a1c9ae182315e6d66e23 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:37 +0000 Subject: [PATCH 09/23] Shift config files --- config/queue.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/config/queue.php b/config/queue.php index c043b0b94b..122229666d 100644 --- a/config/queue.php +++ b/config/queue.php @@ -35,36 +35,36 @@ ], 'database' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', 'retry_after' => 90, ], 'beanstalkd' => [ - 'driver' => 'beanstalkd', - 'host' => 'localhost', - 'queue' => 'default', + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', 'retry_after' => 90, - 'block_for' => 0, + 'block_for' => 0, ], 'sqs' => [ 'driver' => 'sqs', - 'key' => env('AWS_ACCESS_KEY_ID'), + 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), - 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'queue' => env('SQS_QUEUE', 'your-queue-name'), 'suffix' => env('SQS_SUFFIX'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - 'queue' => env('REDIS_QUEUE', 'default'), + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, - 'block_for' => null, + 'block_for' => null, ], ], @@ -81,9 +81,9 @@ */ 'failed' => [ - 'driver' => env('QUEUE_FAILED_DRIVER', 'database'), + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 'database' => env('DB_CONNECTION', 'mysql'), - 'table' => 'failed_jobs', + 'table' => 'failed_jobs', ], ]; From 0db0a27aa7e141382b852f76dc725068cc0aa45b Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:37 +0000 Subject: [PATCH 10/23] Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them so you can review the commit diff for changes. Moving forward, you should use ENV variables or create a separate config file to allow the core config files to remain automatically upgradeable. --- config/auth.php | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/config/auth.php b/config/auth.php index 9d1e3724c0..158deac874 100644 --- a/config/auth.php +++ b/config/auth.php @@ -14,7 +14,7 @@ */ 'defaults' => [ - 'guard' => 'web', + 'guard' => 'web', 'passwords' => 'users', ], @@ -37,14 +37,14 @@ 'guards' => [ 'web' => [ - 'driver' => 'session', + 'driver' => 'session', 'provider' => 'users', ], 'api' => [ - 'driver' => 'token', + 'driver' => 'token', 'provider' => 'users', - 'hash' => false, + 'hash' => false, ], ], @@ -68,7 +68,7 @@ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\Models\User::class, + 'model' => App\Models\User::class, ], // 'users' => [ @@ -95,8 +95,8 @@ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', - 'expire' => 60, + 'table' => 'password_resets', + 'expire' => 60, 'throttle' => 60, ], ], @@ -114,32 +114,18 @@ 'password_timeout' => 10800, - /* - |-------------------------------------------------------------------------- - | Verification Authentication Enabled - |-------------------------------------------------------------------------- - */ - 'TwoStepEnabled' => true, - /* - |-------------------------------------------------------------------------- - | Verification Email Settings - |-------------------------------------------------------------------------- - */ - 'verificationEmailFrom' => env('MAIL_FROM_ADDRESS', env('MAIL_FROM_NAME')), - 'verificationEmailFromName' => ' 2-Step Verification', - /* - |-------------------------------------------------------------------------- - | Verification Timings Settings - |-------------------------------------------------------------------------- - */ + 'verificationEmailFromName' => ' 2-Step Verification', 'TwoStepExceededCount' => 3, + 'TwoStepExceededCountdownMinutes' => 60 * 24, + 'TwoStepVerifiedLifetimeMinutes' => 6 * 60, + 'TwoStepTimeResetBufferSeconds' => 6 * 60, ]; From 5a369d5f5f938b980cc513d5cce98060ade5fbbf Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:24:37 +0000 Subject: [PATCH 11/23] Shift Laravel dependencies --- composer.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index dffcb71f62..0fb93747be 100644 --- a/composer.json +++ b/composer.json @@ -15,20 +15,20 @@ "bandwidth-throttle/token-bucket": "^2.0", "bepsvpt/secure-headers": "^6.0", "christofferok/laravel-emojione": "^4.0", - "doctrine/dbal": "^2.9", + "doctrine/dbal": "^2.10", "elhebert/laravel-sri": "^2.1", "emojione/assets": "^4.5", "fideloper/proxy": "^4.2", - "fruitcake/laravel-cors": "^1.0", + "fruitcake/laravel-cors": "^2.0", "gabrielelana/byte-units": "^0.5.0", "gstt/laravel-achievements": "^1.0", - "guzzlehttp/guzzle": "^6.3", + "guzzlehttp/guzzle": "^7.0.1", "hootlex/laravel-moderation": "^1.0", - "intervention/image": "^2.4", + "intervention/image": "^2.5", "kyslik/column-sortable": "^6.0", - "laravel/framework": "^7.11", + "laravel/framework": "^8.0", "laravel/tinker": "^2.0", - "laravel/ui": "^2.0", + "laravel/ui": "^2.2", "livewire/livewire": "^1.3", "marcreichel/igdb-laravel": "^1.0", "mews/purifier": "^3.2", @@ -36,7 +36,7 @@ "paragonie/constant_time_encoding": "^2.0", "phpro/grumphp": "^0.19.1", "predis/predis": "^1.1", - "spatie/laravel-backup": "^6.8", + "spatie/laravel-backup": "^6.11", "spatie/laravel-cookie-consent": "^2.12", "spatie/laravel-image-optimizer": "^1.6", "spatie/ssl-certificate": "^1.12", @@ -45,14 +45,14 @@ "voku/anti-xss": "^4.1" }, "require-dev": { - "facade/ignition": "^2.0", - "fzaninotto/faker": "^1.4", + "facade/ignition": "^2.3.6", + "fzaninotto/faker": "^1.9.1", "jasonmccreary/laravel-test-assertions": "^1.0", "mockery/mockery": "^1.3.1", "mpociot/laravel-test-factory-helper": "^2.1", - "nunomaduro/collision": "^4.1", + "nunomaduro/collision": "^5.0", "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", + "phpunit/phpunit": "^9.3", "rector/rector-prefixed": "^0.7.54", "symplify/changelog-linker": "^8.1" }, From fac1da0b42c045eef59717a4db6af7710548c349 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 8 Sep 2020 22:25:06 +0000 Subject: [PATCH 12/23] Shift cleanup --- app/Models/Album.php | 3 +-- app/Models/Application.php | 3 +-- app/Models/Article.php | 3 +-- app/Models/Ban.php | 3 +-- app/Models/BonExchange.php | 3 +-- app/Models/BonTransactions.php | 3 +-- app/Models/Bookmark.php | 3 +-- app/Models/Bot.php | 3 +-- app/Models/BotTransaction.php | 3 +-- app/Models/Category.php | 3 +-- app/Models/ChatStatus.php | 3 +-- app/Models/Chatroom.php | 3 +-- app/Models/Comment.php | 3 +-- app/Models/FeaturedTorrent.php | 3 +-- app/Models/Follow.php | 3 +-- app/Models/Forum.php | 3 +-- app/Models/FreeleechToken.php | 3 +-- app/Models/Graveyard.php | 3 +-- app/Models/Group.php | 3 +-- app/Models/History.php | 1 - app/Models/Image.php | 3 +-- app/Models/Invite.php | 3 +-- app/Models/Like.php | 3 +-- app/Models/Message.php | 2 +- app/Models/Note.php | 3 +-- app/Models/Notification.php | 3 +-- app/Models/Option.php | 3 +-- app/Models/Page.php | 3 +-- app/Models/Peer.php | 1 - app/Models/Permission.php | 3 +-- app/Models/PersonalFreeleech.php | 3 +-- app/Models/Playlist.php | 3 +-- app/Models/PlaylistTorrent.php | 3 +-- app/Models/Poll.php | 3 +-- app/Models/Post.php | 3 +-- app/Models/PrivateMessage.php | 3 +-- app/Models/Report.php | 3 +-- app/Models/Resolution.php | 3 +-- app/Models/Rss.php | 3 +-- app/Models/Seedbox.php | 3 +-- app/Models/Subscription.php | 3 +-- app/Models/Tag.php | 3 +-- app/Models/Thank.php | 3 +-- app/Models/Topic.php | 3 +-- app/Models/Torrent.php | 3 +-- app/Models/TorrentFile.php | 2 +- app/Models/TorrentRequest.php | 3 +-- app/Models/TorrentRequestBounty.php | 3 +-- app/Models/TorrentRequestClaim.php | 3 +-- app/Models/TwoStepAuth.php | 3 +-- app/Models/Type.php | 3 +-- app/Models/User.php | 3 +-- app/Models/UserActivation.php | 3 +-- app/Models/UserNotification.php | 3 +-- app/Models/UserPrivacy.php | 3 +-- app/Models/Voter.php | 3 +-- app/Models/Warning.php | 3 +-- app/Models/Wish.php | 3 +-- database/factories/TwoStepAuthFactory.php | 2 +- database/seeders/DatabaseSeeder.php | 10 +++++----- .../Http/Controllers/API/ChatControllerTest.php | 6 ++---- .../Http/Controllers/API/TorrentControllerTest.php | 9 +++------ .../Http/Controllers/AchievementsControllerTest.php | 3 +-- .../Feature/Http/Controllers/AlbumControllerTest.php | 3 +-- .../Http/Controllers/AnnounceControllerTest.php | 3 +-- .../Http/Controllers/ArticleControllerTest.php | 3 +-- .../Controllers/Auth/ActivationControllerTest.php | 3 +-- .../Http/Controllers/Auth/TwoStepControllerTest.php | 3 +-- .../Feature/Http/Controllers/BonusControllerTest.php | 12 ++++-------- .../Http/Controllers/BookmarkControllerTest.php | 3 +-- .../Http/Controllers/CategoryControllerTest.php | 3 +-- .../Http/Controllers/CommentControllerTest.php | 12 ++++-------- .../Http/Controllers/ContactControllerTest.php | 6 ++---- .../Http/Controllers/FollowControllerTest.php | 6 ++---- .../Http/Controllers/ForumCategoryControllerTest.php | 6 ++---- .../Feature/Http/Controllers/ForumControllerTest.php | 6 ++---- .../Feature/Http/Controllers/HomeControllerTest.php | 3 +-- .../Http/Controllers/Staff/ArticleControllerTest.php | 3 +-- .../Controllers/Staff/CategoryControllerTest.php | 3 +-- .../Http/Controllers/Staff/ChatBotControllerTest.php | 3 +-- .../Controllers/Staff/ChatRoomControllerTest.php | 3 +-- .../Controllers/Staff/ChatStatusControllerTest.php | 3 +-- .../Http/Controllers/Staff/CheaterControllerTest.php | 3 +-- .../Http/Controllers/Staff/CommandControllerTest.php | 3 +-- .../Http/Controllers/Staff/GiftControllerTest.php | 3 +-- .../Http/Controllers/Staff/GroupControllerTest.php | 3 +-- .../Http/Controllers/Staff/InviteControllerTest.php | 3 +-- .../Controllers/Staff/MassActionControllerTest.php | 3 +-- .../Http/Controllers/Staff/NoteControllerTest.php | 3 +-- .../Http/Controllers/Staff/PageControllerTest.php | 3 +-- .../Http/Controllers/Staff/TypeControllerTest.php | 3 +-- 91 files changed, 106 insertions(+), 206 deletions(-) diff --git a/app/Models/Album.php b/app/Models/Album.php index cb672d244b..f0b6ad3345 100644 --- a/app/Models/Album.php +++ b/app/Models/Album.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -48,7 +48,6 @@ class Album extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Application.php b/app/Models/Application.php index d82f98dad0..0bf35751a4 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -13,9 +13,9 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use Hootlex\Moderation\Moderatable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -56,7 +56,6 @@ class Application extends Model { use HasFactory; - use Moderatable; use Auditable; diff --git a/app/Models/Article.php b/app/Models/Article.php index 88eb668348..96bb4ad23a 100644 --- a/app/Models/Article.php +++ b/app/Models/Article.php @@ -13,10 +13,10 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -51,7 +51,6 @@ class Article extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Ban.php b/app/Models/Ban.php index 58b6cd2f2d..4838561fd6 100644 --- a/app/Models/Ban.php +++ b/app/Models/Ban.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -47,7 +47,6 @@ class Ban extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/BonExchange.php b/app/Models/BonExchange.php index 2c3fe1d613..1a911fd513 100644 --- a/app/Models/BonExchange.php +++ b/app/Models/BonExchange.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class BonExchange extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/BonTransactions.php b/app/Models/BonTransactions.php index 873a174705..694bc2cc39 100644 --- a/app/Models/BonTransactions.php +++ b/app/Models/BonTransactions.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -52,7 +52,6 @@ class BonTransactions extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php index 4db2f5dad2..dabd9e80cd 100644 --- a/app/Models/Bookmark.php +++ b/app/Models/Bookmark.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class Bookmark extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Bot.php b/app/Models/Bot.php index bc3d89b8e9..361f92b2a3 100644 --- a/app/Models/Bot.php +++ b/app/Models/Bot.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -79,7 +79,6 @@ class Bot extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/BotTransaction.php b/app/Models/BotTransaction.php index 3c1f92acee..0393281a11 100644 --- a/app/Models/BotTransaction.php +++ b/app/Models/BotTransaction.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -51,7 +51,6 @@ class BotTransaction extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Category.php b/app/Models/Category.php index fa5558ede0..8e2bd41976 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -57,7 +57,6 @@ class Category extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/ChatStatus.php b/app/Models/ChatStatus.php index 3bd74570a2..ef25b4a117 100644 --- a/app/Models/ChatStatus.php +++ b/app/Models/ChatStatus.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -43,7 +43,6 @@ class ChatStatus extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Chatroom.php b/app/Models/Chatroom.php index cf7abfc397..ecedff7f04 100644 --- a/app/Models/Chatroom.php +++ b/app/Models/Chatroom.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; @@ -44,7 +44,6 @@ class Chatroom extends Model { use HasFactory; - use Notifiable; use Auditable; diff --git a/app/Models/Comment.php b/app/Models/Comment.php index 42e1333ce6..9b1c60e625 100644 --- a/app/Models/Comment.php +++ b/app/Models/Comment.php @@ -13,10 +13,10 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -57,7 +57,6 @@ class Comment extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/FeaturedTorrent.php b/app/Models/FeaturedTorrent.php index abee68f450..1f015b840d 100644 --- a/app/Models/FeaturedTorrent.php +++ b/app/Models/FeaturedTorrent.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class FeaturedTorrent extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Follow.php b/app/Models/Follow.php index 5af71f42ee..ddf3c33416 100644 --- a/app/Models/Follow.php +++ b/app/Models/Follow.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; @@ -44,7 +44,6 @@ class Follow extends Model { use HasFactory; - use Notifiable; use Auditable; diff --git a/app/Models/Forum.php b/app/Models/Forum.php index e11e761db2..0b8064c093 100644 --- a/app/Models/Forum.php +++ b/app/Models/Forum.php @@ -13,9 +13,9 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Notifications\NewTopic; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -72,7 +72,6 @@ class Forum extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/FreeleechToken.php b/app/Models/FreeleechToken.php index c3d939e32d..841eae9014 100644 --- a/app/Models/FreeleechToken.php +++ b/app/Models/FreeleechToken.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -39,6 +39,5 @@ class FreeleechToken extends Model { use HasFactory; - use Auditable; } diff --git a/app/Models/Graveyard.php b/app/Models/Graveyard.php index dec3a0bed1..30d2b74d1b 100644 --- a/app/Models/Graveyard.php +++ b/app/Models/Graveyard.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class Graveyard extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Group.php b/app/Models/Group.php index 4cd5b522f6..358a48ef50 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -71,7 +71,6 @@ class Group extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/History.php b/app/Models/History.php index da2993dcd8..8d27405a67 100644 --- a/app/Models/History.php +++ b/app/Models/History.php @@ -70,7 +70,6 @@ class History extends Model { use HasFactory; - use Sortable; /** diff --git a/app/Models/Image.php b/app/Models/Image.php index 66d3082737..59ac26a591 100644 --- a/app/Models/Image.php +++ b/app/Models/Image.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -48,7 +48,6 @@ class Image extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Invite.php b/app/Models/Invite.php index 275aeb1b82..bdea01fdfb 100644 --- a/app/Models/Invite.php +++ b/app/Models/Invite.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -51,7 +51,6 @@ class Invite extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Like.php b/app/Models/Like.php index 44c5132579..9237a42da5 100644 --- a/app/Models/Like.php +++ b/app/Models/Like.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class Like extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Message.php b/app/Models/Message.php index a43d20fa49..8be629acf6 100644 --- a/app/Models/Message.php +++ b/app/Models/Message.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; diff --git a/app/Models/Note.php b/app/Models/Note.php index 9138b1d9a3..185fbef3d9 100644 --- a/app/Models/Note.php +++ b/app/Models/Note.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -43,7 +43,6 @@ class Note extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Notification.php b/app/Models/Notification.php index ed701f05c5..306b691e6e 100644 --- a/app/Models/Notification.php +++ b/app/Models/Notification.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class Notification extends Model { use HasFactory; - use Auditable; // diff --git a/app/Models/Option.php b/app/Models/Option.php index e4fedcaf7b..72bc17d711 100644 --- a/app/Models/Option.php +++ b/app/Models/Option.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -42,7 +42,6 @@ class Option extends Model { use HasFactory; - use Auditable; /*** The Attributes That Are Mass Assignable. diff --git a/app/Models/Page.php b/app/Models/Page.php index 91391d137e..aee483d3e3 100644 --- a/app/Models/Page.php +++ b/app/Models/Page.php @@ -13,10 +13,10 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\BBCodeConverter; use App\Helpers\Markdown; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -43,7 +43,6 @@ class Page extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Peer.php b/app/Models/Peer.php index 3e3813e909..2ae44d749f 100644 --- a/app/Models/Peer.php +++ b/app/Models/Peer.php @@ -63,7 +63,6 @@ class Peer extends Model { use HasFactory; - use Sortable; /** diff --git a/app/Models/Permission.php b/app/Models/Permission.php index 2a82005adb..f3c88800bb 100644 --- a/app/Models/Permission.php +++ b/app/Models/Permission.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class Permission extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/PersonalFreeleech.php b/app/Models/PersonalFreeleech.php index f298e3d7b9..82b15f39fa 100644 --- a/app/Models/PersonalFreeleech.php +++ b/app/Models/PersonalFreeleech.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -37,7 +37,6 @@ class PersonalFreeleech extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php index aad8707dc3..2ad249b736 100644 --- a/app/Models/Playlist.php +++ b/app/Models/Playlist.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -56,7 +56,6 @@ class Playlist extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/PlaylistTorrent.php b/app/Models/PlaylistTorrent.php index 959babba1c..d6e876810b 100644 --- a/app/Models/PlaylistTorrent.php +++ b/app/Models/PlaylistTorrent.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class PlaylistTorrent extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Poll.php b/app/Models/Poll.php index 0df5b02af1..7a5c006d89 100644 --- a/app/Models/Poll.php +++ b/app/Models/Poll.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; @@ -49,7 +49,6 @@ class Poll extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Post.php b/app/Models/Post.php index d568089f25..7c4958e0bf 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -13,10 +13,10 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -50,7 +50,6 @@ class Post extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/PrivateMessage.php b/app/Models/PrivateMessage.php index ca67dee462..f5a84a1bf7 100644 --- a/app/Models/PrivateMessage.php +++ b/app/Models/PrivateMessage.php @@ -13,10 +13,10 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -52,7 +52,6 @@ class PrivateMessage extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Report.php b/app/Models/Report.php index b65b77073a..9295cf469e 100644 --- a/app/Models/Report.php +++ b/app/Models/Report.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -60,7 +60,6 @@ class Report extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Resolution.php b/app/Models/Resolution.php index b67c6b6cb0..7535d70e23 100644 --- a/app/Models/Resolution.php +++ b/app/Models/Resolution.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -42,7 +42,6 @@ class Resolution extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Rss.php b/app/Models/Rss.php index 707c3f2d94..23f7533419 100644 --- a/app/Models/Rss.php +++ b/app/Models/Rss.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; @@ -59,7 +59,6 @@ class Rss extends Model { use HasFactory; - use SoftDeletes; use Auditable; diff --git a/app/Models/Seedbox.php b/app/Models/Seedbox.php index 6482993d78..b7564d54ab 100644 --- a/app/Models/Seedbox.php +++ b/app/Models/Seedbox.php @@ -13,9 +13,9 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; use App\Traits\Encryptable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -43,7 +43,6 @@ class Seedbox extends Model { use HasFactory; - use Encryptable; use Auditable; diff --git a/app/Models/Subscription.php b/app/Models/Subscription.php index f22b03ff94..57c5531e41 100644 --- a/app/Models/Subscription.php +++ b/app/Models/Subscription.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -44,7 +44,6 @@ class Subscription extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Tag.php b/app/Models/Tag.php index 50a555fe48..6e4848b355 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -37,7 +37,6 @@ class Tag extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Thank.php b/app/Models/Thank.php index 32e7509c20..3a01cf5118 100644 --- a/app/Models/Thank.php +++ b/app/Models/Thank.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class Thank extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Topic.php b/app/Models/Topic.php index 454abebc92..5aa49dcd9b 100644 --- a/app/Models/Topic.php +++ b/app/Models/Topic.php @@ -13,9 +13,9 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Notifications\NewPost; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -80,7 +80,6 @@ class Topic extends Model { use HasFactory; - use Auditable; protected $casts = [ diff --git a/app/Models/Torrent.php b/app/Models/Torrent.php index 90fa433cba..8314bb1327 100644 --- a/app/Models/Torrent.php +++ b/app/Models/Torrent.php @@ -13,7 +13,6 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Helpers\MediaInfo; @@ -22,6 +21,7 @@ use App\Notifications\NewThank; use App\Traits\Auditable; use Hootlex\Moderation\Moderatable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Kyslik\ColumnSortable\Sortable; use voku\helper\AntiXSS; @@ -139,7 +139,6 @@ class Torrent extends Model { use HasFactory; - use Moderatable; use Sortable; use Auditable; diff --git a/app/Models/TorrentFile.php b/app/Models/TorrentFile.php index f6fc05ea3d..07e80c2277 100644 --- a/app/Models/TorrentFile.php +++ b/app/Models/TorrentFile.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\StringHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** diff --git a/app/Models/TorrentRequest.php b/app/Models/TorrentRequest.php index 17cfcbe330..b9c802192a 100644 --- a/app/Models/TorrentRequest.php +++ b/app/Models/TorrentRequest.php @@ -13,11 +13,11 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Notifications\NewComment; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use voku\helper\AntiXSS; @@ -89,7 +89,6 @@ class TorrentRequest extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/TorrentRequestBounty.php b/app/Models/TorrentRequestBounty.php index 05a00ec477..c881b4c188 100644 --- a/app/Models/TorrentRequestBounty.php +++ b/app/Models/TorrentRequestBounty.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -45,7 +45,6 @@ class TorrentRequestBounty extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/TorrentRequestClaim.php b/app/Models/TorrentRequestClaim.php index 54f8220280..34a17a5617 100644 --- a/app/Models/TorrentRequestClaim.php +++ b/app/Models/TorrentRequestClaim.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class TorrentRequestClaim extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/TwoStepAuth.php b/app/Models/TwoStepAuth.php index 08d08d139d..d2f9c81a00 100644 --- a/app/Models/TwoStepAuth.php +++ b/app/Models/TwoStepAuth.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -47,7 +47,6 @@ class TwoStepAuth extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Type.php b/app/Models/Type.php index 3844c85f5d..1e96db8e53 100644 --- a/app/Models/Type.php +++ b/app/Models/Type.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class Type extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/User.php b/app/Models/User.php index 8bee6a9e14..71f4069277 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -13,13 +13,13 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Helpers\Bbcode; use App\Helpers\Linkify; use App\Helpers\StringHelper; use App\Traits\UsersOnlineTrait; use Carbon\Carbon; use Gstt\Achievements\Achiever; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; @@ -29,7 +29,6 @@ class User extends Authenticatable { use HasFactory; - use Notifiable; use Achiever; use SoftDeletes; diff --git a/app/Models/UserActivation.php b/app/Models/UserActivation.php index 4db9d14076..f8cf175ce9 100644 --- a/app/Models/UserActivation.php +++ b/app/Models/UserActivation.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -40,7 +40,6 @@ class UserActivation extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/UserNotification.php b/app/Models/UserNotification.php index 36321382f7..462189ab41 100644 --- a/app/Models/UserNotification.php +++ b/app/Models/UserNotification.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -94,7 +94,6 @@ class UserNotification extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/UserPrivacy.php b/app/Models/UserPrivacy.php index 625deec77a..40c4a43200 100644 --- a/app/Models/UserPrivacy.php +++ b/app/Models/UserPrivacy.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -114,7 +114,6 @@ class UserPrivacy extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Voter.php b/app/Models/Voter.php index c47dcc70f1..392e8db2ac 100644 --- a/app/Models/Voter.php +++ b/app/Models/Voter.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -41,7 +41,6 @@ class Voter extends Model { use HasFactory; - use Auditable; /** diff --git a/app/Models/Warning.php b/app/Models/Warning.php index 5f9f8714fa..de2bf2daef 100644 --- a/app/Models/Warning.php +++ b/app/Models/Warning.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; @@ -59,7 +59,6 @@ class Warning extends Model { use HasFactory; - use SoftDeletes; use Auditable; diff --git a/app/Models/Wish.php b/app/Models/Wish.php index 545e6e1dcf..6335a5e34f 100644 --- a/app/Models/Wish.php +++ b/app/Models/Wish.php @@ -13,8 +13,8 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use App\Traits\Auditable; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** @@ -46,7 +46,6 @@ class Wish extends Model { use HasFactory; - use Auditable; /** diff --git a/database/factories/TwoStepAuthFactory.php b/database/factories/TwoStepAuthFactory.php index 51a121932c..d0047b4f32 100644 --- a/database/factories/TwoStepAuthFactory.php +++ b/database/factories/TwoStepAuthFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use Illuminate\Database\Eloquent\Factories\Factory; use Carbon\Carbon; +use Illuminate\Database\Eloquent\Factories\Factory; class TwoStepAuthFactory extends Factory { diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index c28a7e821d..9ce35df202 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -13,13 +13,13 @@ namespace Database\Seeders; +use Database\Seeders\AchievementDetailsTableSeeder; +use Database\Seeders\ArticlesTableSeeder; +use Database\Seeders\BonExchangeTableSeeder; +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\CategoriesTableSeeder; use Database\Seeders\ChatroomTableSeeder; use Database\Seeders\ChatStatusSeeder; -use Database\Seeders\CategoriesTableSeeder; -use Database\Seeders\BotsTableSeeder; -use Database\Seeders\BonExchangeTableSeeder; -use Database\Seeders\ArticlesTableSeeder; -use Database\Seeders\AchievementDetailsTableSeeder; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder diff --git a/tests/Feature/Http/Controllers/API/ChatControllerTest.php b/tests/Feature/Http/Controllers/API/ChatControllerTest.php index cf9ae4428a..8dd1915887 100644 --- a/tests/Feature/Http/Controllers/API/ChatControllerTest.php +++ b/tests/Feature/Http/Controllers/API/ChatControllerTest.php @@ -2,8 +2,6 @@ namespace Tests\Feature\Http\Controllers\API; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\BotsTableSeeder; use App\Models\Bot; use App\Models\Chatroom; use App\Models\ChatStatus; @@ -11,11 +9,11 @@ use App\Models\User; use App\Models\UserAudible; use App\Models\UserEcho; - +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; - /** * @see \App\Http\Controllers\API\ChatController */ diff --git a/tests/Feature/Http/Controllers/API/TorrentControllerTest.php b/tests/Feature/Http/Controllers/API/TorrentControllerTest.php index 208bb13b7e..9103b503ce 100644 --- a/tests/Feature/Http/Controllers/API/TorrentControllerTest.php +++ b/tests/Feature/Http/Controllers/API/TorrentControllerTest.php @@ -2,20 +2,17 @@ namespace Tests\Feature\Http\Controllers\API; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\ChatroomTableSeeder; -use Database\Seeders\BotsTableSeeder; use App\Models\Category; use App\Models\Resolution; use App\Models\Torrent; use App\Models\Type; use App\Models\User; - - +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\ChatroomTableSeeder; +use Database\Seeders\UsersTableSeeder; use Illuminate\Http\UploadedFile; use Tests\TestCase; - /** * @see \App\Http\Controllers\API\TorrentController */ diff --git a/tests/Feature/Http/Controllers/AchievementsControllerTest.php b/tests/Feature/Http/Controllers/AchievementsControllerTest.php index dec327b26a..562dc19b9e 100644 --- a/tests/Feature/Http/Controllers/AchievementsControllerTest.php +++ b/tests/Feature/Http/Controllers/AchievementsControllerTest.php @@ -2,9 +2,8 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/AlbumControllerTest.php b/tests/Feature/Http/Controllers/AlbumControllerTest.php index e0545a8201..99106fdd49 100644 --- a/tests/Feature/Http/Controllers/AlbumControllerTest.php +++ b/tests/Feature/Http/Controllers/AlbumControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\Album; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/AnnounceControllerTest.php b/tests/Feature/Http/Controllers/AnnounceControllerTest.php index 9e0fc89e39..53b87327d0 100644 --- a/tests/Feature/Http/Controllers/AnnounceControllerTest.php +++ b/tests/Feature/Http/Controllers/AnnounceControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Helpers\Bencode; use App\Models\Torrent; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/ArticleControllerTest.php b/tests/Feature/Http/Controllers/ArticleControllerTest.php index 81deb2a04b..7f05519d9c 100644 --- a/tests/Feature/Http/Controllers/ArticleControllerTest.php +++ b/tests/Feature/Http/Controllers/ArticleControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\Article; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php b/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php index 5a4e60ae70..9615742cda 100644 --- a/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/ActivationControllerTest.php @@ -2,9 +2,8 @@ namespace Tests\Feature\Http\Controllers\Auth; -use Database\Seeders\GroupsTableSeeder; use App\Models\UserActivation; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php b/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php index 4bf6a53dc5..7711002af3 100644 --- a/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/TwoStepControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Auth; -use Database\Seeders\GroupsTableSeeder; use App\Models\TwoStepAuth; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/BonusControllerTest.php b/tests/Feature/Http/Controllers/BonusControllerTest.php index 7c6ae23408..044bd2e3c0 100644 --- a/tests/Feature/Http/Controllers/BonusControllerTest.php +++ b/tests/Feature/Http/Controllers/BonusControllerTest.php @@ -2,20 +2,16 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; -use Database\Seeders\ChatroomTableSeeder; -use Database\Seeders\BotsTableSeeder; use App\Models\BonExchange; use App\Models\Post; use App\Models\Torrent; use App\Models\User; - - - +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\ChatroomTableSeeder; +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\BonusController */ diff --git a/tests/Feature/Http/Controllers/BookmarkControllerTest.php b/tests/Feature/Http/Controllers/BookmarkControllerTest.php index fe20943866..5c765ddf8d 100644 --- a/tests/Feature/Http/Controllers/BookmarkControllerTest.php +++ b/tests/Feature/Http/Controllers/BookmarkControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\Bookmark; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/CategoryControllerTest.php b/tests/Feature/Http/Controllers/CategoryControllerTest.php index 0a39d50b97..d4a4f95016 100644 --- a/tests/Feature/Http/Controllers/CategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/CategoryControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\Category; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/CommentControllerTest.php b/tests/Feature/Http/Controllers/CommentControllerTest.php index 8bf8f58bad..bd7ddc1b6b 100644 --- a/tests/Feature/Http/Controllers/CommentControllerTest.php +++ b/tests/Feature/Http/Controllers/CommentControllerTest.php @@ -2,22 +2,18 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; -use Database\Seeders\ChatroomTableSeeder; -use Database\Seeders\BotsTableSeeder; use App\Models\Article; use App\Models\Comment; use App\Models\Playlist; use App\Models\Torrent; use App\Models\TorrentRequest; use App\Models\User; - - - +use Database\Seeders\BotsTableSeeder; +use Database\Seeders\ChatroomTableSeeder; +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\CommentController */ diff --git a/tests/Feature/Http/Controllers/ContactControllerTest.php b/tests/Feature/Http/Controllers/ContactControllerTest.php index c95a5371b7..c483ab9aff 100644 --- a/tests/Feature/Http/Controllers/ContactControllerTest.php +++ b/tests/Feature/Http/Controllers/ContactControllerTest.php @@ -2,13 +2,11 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\ContactController */ diff --git a/tests/Feature/Http/Controllers/FollowControllerTest.php b/tests/Feature/Http/Controllers/FollowControllerTest.php index dca3c1cb40..63aa9d6595 100644 --- a/tests/Feature/Http/Controllers/FollowControllerTest.php +++ b/tests/Feature/Http/Controllers/FollowControllerTest.php @@ -2,14 +2,12 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; use App\Models\Follow; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\FollowController */ diff --git a/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php b/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php index 26b75db21e..dab2c74004 100644 --- a/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/ForumCategoryControllerTest.php @@ -2,15 +2,13 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; use App\Models\Forum; use App\Models\Permission; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\ForumCategoryController */ diff --git a/tests/Feature/Http/Controllers/ForumControllerTest.php b/tests/Feature/Http/Controllers/ForumControllerTest.php index bfdf5dfe3c..f453d4dc43 100644 --- a/tests/Feature/Http/Controllers/ForumControllerTest.php +++ b/tests/Feature/Http/Controllers/ForumControllerTest.php @@ -2,15 +2,13 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\UsersTableSeeder; -use Database\Seeders\GroupsTableSeeder; use App\Models\Forum; use App\Models\Permission; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; +use Database\Seeders\UsersTableSeeder; use Tests\TestCase; - /** * @see \App\Http\Controllers\ForumController */ diff --git a/tests/Feature/Http/Controllers/HomeControllerTest.php b/tests/Feature/Http/Controllers/HomeControllerTest.php index 795522eab6..4d59507740 100644 --- a/tests/Feature/Http/Controllers/HomeControllerTest.php +++ b/tests/Feature/Http/Controllers/HomeControllerTest.php @@ -2,9 +2,8 @@ namespace Tests\Feature\Http\Controllers; -use Database\Seeders\GroupsTableSeeder; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php b/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php index 97d418b3eb..456ae3795a 100644 --- a/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ArticleControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Article; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php b/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php index d4e6d0225a..ed74225418 100644 --- a/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CategoryControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Category; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php index 1198037d8e..5232a5e160 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatBotControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Bot; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php index 41881f7b7f..50c573915a 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatRoomControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Chatroom; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php b/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php index 976a33c12d..61ac5ae447 100644 --- a/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/ChatStatusControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\ChatStatus; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php b/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php index 6f3f53a25a..4fb2e9d151 100644 --- a/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CheaterControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php index be6f194a68..3c6eea4f11 100644 --- a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php b/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php index 435999225b..f14db144cb 100644 --- a/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/GiftControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php b/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php index ba49532e55..f084294215 100644 --- a/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/GroupControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php b/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php index e895de16e3..b0d711340f 100644 --- a/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/InviteControllerTest.php @@ -2,10 +2,9 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php b/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php index 9572240382..c97478ce1f 100644 --- a/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/MassActionControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\PrivateMessage; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php b/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php index 08d40238bb..231bd4554d 100644 --- a/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/NoteControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\Note; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/PageControllerTest.php b/tests/Feature/Http/Controllers/Staff/PageControllerTest.php index e48a225aa1..20535414fb 100644 --- a/tests/Feature/Http/Controllers/Staff/PageControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/PageControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\Page; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** diff --git a/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php b/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php index 28ae3b182e..4f1dd89ff9 100644 --- a/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/TypeControllerTest.php @@ -2,11 +2,10 @@ namespace Tests\Feature\Http\Controllers\Staff; -use Database\Seeders\GroupsTableSeeder; use App\Models\Group; use App\Models\Type; use App\Models\User; - +use Database\Seeders\GroupsTableSeeder; use Tests\TestCase; /** From 9f2fdb533582c221b0f98de0127c9eb705bc6a74 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 8 Sep 2020 22:25:50 +0000 Subject: [PATCH 13/23] Apply fixes from StyleCI [ci skip] [skip ci] --- config/auth.php | 14 +-- config/queue.php | 30 ++--- database/factories/AlbumFactory.php | 16 +-- database/factories/ApplicationFactory.php | 20 ++-- .../ApplicationImageProofFactory.php | 10 +- .../factories/ApplicationUrlProofFactory.php | 10 +- database/factories/ArticleFactory.php | 16 +-- database/factories/AuditFactory.php | 16 +-- database/factories/BanFactory.php | 20 ++-- database/factories/BonExchangeFactory.php | 16 +-- database/factories/BonTransactionsFactory.php | 34 +++--- database/factories/BookmarkFactory.php | 14 +-- database/factories/BotFactory.php | 46 ++++---- database/factories/BotTransactionFactory.php | 24 ++-- database/factories/CategoryFactory.php | 24 ++-- database/factories/ChatStatusFactory.php | 8 +- database/factories/ChatroomFactory.php | 4 +- database/factories/CommentFactory.php | 36 +++--- .../factories/FailedLoginAttemptFactory.php | 8 +- database/factories/FeaturedTorrentFactory.php | 14 +-- database/factories/FollowFactory.php | 14 +-- database/factories/ForumFactory.php | 26 ++--- database/factories/FreeleechTokenFactory.php | 6 +- database/factories/GitUpdateFactory.php | 6 +- database/factories/GraveyardFactory.php | 18 +-- database/factories/GroupFactory.php | 38 +++--- database/factories/HistoryFactory.php | 44 +++---- database/factories/ImageFactory.php | 18 +-- database/factories/InviteFactory.php | 24 ++-- database/factories/LikeFactory.php | 20 ++-- database/factories/MessageFactory.php | 28 ++--- database/factories/NoteFactory.php | 16 +-- database/factories/NotificationFactory.php | 12 +- database/factories/OptionFactory.php | 12 +- database/factories/PageFactory.php | 8 +- database/factories/PeerFactory.php | 40 +++---- database/factories/PermissionFactory.php | 22 ++-- .../factories/PersonalFreeleechFactory.php | 4 +- database/factories/PlaylistFactory.php | 22 ++-- database/factories/PlaylistTorrentFactory.php | 18 +-- database/factories/PollFactory.php | 16 +-- database/factories/PostFactory.php | 16 +-- database/factories/PrivateMessageFactory.php | 22 ++-- database/factories/ReportFactory.php | 42 +++---- database/factories/ResolutionFactory.php | 8 +- database/factories/RssFactory.php | 24 ++-- database/factories/SeedboxFactory.php | 12 +- database/factories/SubscriptionFactory.php | 20 ++-- database/factories/TagFactory.php | 6 +- database/factories/TagTorrentFactory.php | 10 +- database/factories/ThankFactory.php | 14 +-- database/factories/TopicFactory.php | 48 ++++---- database/factories/TorrentFactory.php | 92 +++++++-------- database/factories/TorrentFileFactory.php | 12 +- .../factories/TorrentRequestBountyFactory.php | 20 ++-- .../factories/TorrentRequestClaimFactory.php | 8 +- database/factories/TorrentRequestFactory.php | 72 ++++++------ database/factories/TwoStepAuthFactory.php | 14 +-- database/factories/TypeFactory.php | 8 +- database/factories/UploadFactory.php | 2 +- database/factories/UserActivationFactory.php | 10 +- database/factories/UserAudibleFactory.php | 28 ++--- database/factories/UserEchoFactory.php | 26 ++--- database/factories/UserFactory.php | 110 +++++++++--------- .../factories/UserNotificationFactory.php | 66 +++++------ database/factories/UserPrivacyFactory.php | 86 +++++++------- database/factories/VoterFactory.php | 16 +-- database/factories/WarningFactory.php | 32 ++--- database/factories/WishFactory.php | 16 +-- database/seeders/DatabaseSeeder.php | 7 -- 70 files changed, 816 insertions(+), 823 deletions(-) diff --git a/config/auth.php b/config/auth.php index 158deac874..2e91324a8e 100644 --- a/config/auth.php +++ b/config/auth.php @@ -14,7 +14,7 @@ */ 'defaults' => [ - 'guard' => 'web', + 'guard' => 'web', 'passwords' => 'users', ], @@ -37,14 +37,14 @@ 'guards' => [ 'web' => [ - 'driver' => 'session', + 'driver' => 'session', 'provider' => 'users', ], 'api' => [ - 'driver' => 'token', + 'driver' => 'token', 'provider' => 'users', - 'hash' => false, + 'hash' => false, ], ], @@ -68,7 +68,7 @@ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\Models\User::class, + 'model' => App\Models\User::class, ], // 'users' => [ @@ -95,8 +95,8 @@ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', - 'expire' => 60, + 'table' => 'password_resets', + 'expire' => 60, 'throttle' => 60, ], ], diff --git a/config/queue.php b/config/queue.php index 122229666d..a8bf551583 100644 --- a/config/queue.php +++ b/config/queue.php @@ -35,36 +35,36 @@ ], 'database' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', 'retry_after' => 90, ], 'beanstalkd' => [ - 'driver' => 'beanstalkd', - 'host' => 'localhost', - 'queue' => 'default', + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', 'retry_after' => 90, - 'block_for' => 0, + 'block_for' => 0, ], 'sqs' => [ 'driver' => 'sqs', - 'key' => env('AWS_ACCESS_KEY_ID'), + 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), - 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'queue' => env('SQS_QUEUE', 'your-queue-name'), 'suffix' => env('SQS_SUFFIX'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - 'queue' => env('REDIS_QUEUE', 'default'), + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, - 'block_for' => null, + 'block_for' => null, ], ], @@ -81,9 +81,9 @@ */ 'failed' => [ - 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 'database' => env('DB_CONNECTION', 'mysql'), - 'table' => 'failed_jobs', + 'table' => 'failed_jobs', ], ]; diff --git a/database/factories/AlbumFactory.php b/database/factories/AlbumFactory.php index 4fa03a0dc2..3e20640e2e 100644 --- a/database/factories/AlbumFactory.php +++ b/database/factories/AlbumFactory.php @@ -24,13 +24,13 @@ class AlbumFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'name' => $this->faker->name, - 'description' => $this->faker->text, - 'imdb' => $this->faker->word, - 'cover_image' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'name' => $this->faker->name, + 'description' => $this->faker->text, + 'imdb' => $this->faker->word, + 'cover_image' => $this->faker->word, + ]; } } diff --git a/database/factories/ApplicationFactory.php b/database/factories/ApplicationFactory.php index ead4528473..8cd82f2934 100644 --- a/database/factories/ApplicationFactory.php +++ b/database/factories/ApplicationFactory.php @@ -24,15 +24,15 @@ class ApplicationFactory extends Factory public function definition() { return [ - 'type' => $this->faker->word, - 'email' => $this->faker->unique()->safeEmail, - 'referrer' => $this->faker->text, - 'status' => $this->faker->boolean, - 'moderated_at' => $this->faker->dateTime(), - 'moderated_by' => function () { - return User::factory()->create()->id; - }, - 'accepted_by' => $this->faker->randomNumber(), - ]; + 'type' => $this->faker->word, + 'email' => $this->faker->unique()->safeEmail, + 'referrer' => $this->faker->text, + 'status' => $this->faker->boolean, + 'moderated_at' => $this->faker->dateTime(), + 'moderated_by' => function () { + return User::factory()->create()->id; + }, + 'accepted_by' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/ApplicationImageProofFactory.php b/database/factories/ApplicationImageProofFactory.php index a1e9a028de..150312ada0 100644 --- a/database/factories/ApplicationImageProofFactory.php +++ b/database/factories/ApplicationImageProofFactory.php @@ -24,10 +24,10 @@ class ApplicationImageProofFactory extends Factory public function definition() { return [ - 'application_id' => function () { - return Application::factory()->create()->id; - }, - 'image' => $this->faker->word, - ]; + 'application_id' => function () { + return Application::factory()->create()->id; + }, + 'image' => $this->faker->word, + ]; } } diff --git a/database/factories/ApplicationUrlProofFactory.php b/database/factories/ApplicationUrlProofFactory.php index 96e4077515..f0b3925469 100644 --- a/database/factories/ApplicationUrlProofFactory.php +++ b/database/factories/ApplicationUrlProofFactory.php @@ -24,10 +24,10 @@ class ApplicationUrlProofFactory extends Factory public function definition() { return [ - 'application_id' => function () { - return Application::factory()->create()->id; - }, - 'url' => $this->faker->url, - ]; + 'application_id' => function () { + return Application::factory()->create()->id; + }, + 'url' => $this->faker->url, + ]; } } diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php index f8df110ab7..a2c6de4815 100644 --- a/database/factories/ArticleFactory.php +++ b/database/factories/ArticleFactory.php @@ -24,13 +24,13 @@ class ArticleFactory extends Factory public function definition() { return [ - 'title' => $this->faker->word, - 'slug' => $this->faker->slug, - 'image' => $this->faker->word, - 'content' => $this->faker->text, - 'user_id' => function () { - return User::factory()->create()->id; - }, - ]; + 'title' => $this->faker->word, + 'slug' => $this->faker->slug, + 'image' => $this->faker->word, + 'content' => $this->faker->text, + 'user_id' => function () { + return User::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/AuditFactory.php b/database/factories/AuditFactory.php index c10f77290b..7130b44db2 100644 --- a/database/factories/AuditFactory.php +++ b/database/factories/AuditFactory.php @@ -24,13 +24,13 @@ class AuditFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'model_name' => $this->faker->word, - 'model_entry_id' => $this->faker->randomNumber(), - 'action' => $this->faker->word, - 'record' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'model_name' => $this->faker->word, + 'model_entry_id' => $this->faker->randomNumber(), + 'action' => $this->faker->word, + 'record' => $this->faker->word, + ]; } } diff --git a/database/factories/BanFactory.php b/database/factories/BanFactory.php index 61dcb99f32..5710467eec 100644 --- a/database/factories/BanFactory.php +++ b/database/factories/BanFactory.php @@ -24,15 +24,15 @@ class BanFactory extends Factory public function definition() { return [ - 'owned_by' => function () { - return User::factory()->create()->id; - }, - 'created_by' => function () { - return User::factory()->create()->id; - }, - 'ban_reason' => $this->faker->text, - 'unban_reason' => $this->faker->text, - 'removed_at' => $this->faker->dateTime(), - ]; + 'owned_by' => function () { + return User::factory()->create()->id; + }, + 'created_by' => function () { + return User::factory()->create()->id; + }, + 'ban_reason' => $this->faker->text, + 'unban_reason' => $this->faker->text, + 'removed_at' => $this->faker->dateTime(), + ]; } } diff --git a/database/factories/BonExchangeFactory.php b/database/factories/BonExchangeFactory.php index 3deb9d14e5..cabe906dc7 100644 --- a/database/factories/BonExchangeFactory.php +++ b/database/factories/BonExchangeFactory.php @@ -23,13 +23,13 @@ class BonExchangeFactory extends Factory public function definition() { return [ - 'description' => $this->faker->text, - 'value' => $this->faker->randomNumber(), - 'cost' => $this->faker->randomNumber(), - 'upload' => $this->faker->boolean, - 'download' => $this->faker->boolean, - 'personal_freeleech' => $this->faker->boolean, - 'invite' => $this->faker->boolean, - ]; + 'description' => $this->faker->text, + 'value' => $this->faker->randomNumber(), + 'cost' => $this->faker->randomNumber(), + 'upload' => $this->faker->boolean, + 'download' => $this->faker->boolean, + 'personal_freeleech' => $this->faker->boolean, + 'invite' => $this->faker->boolean, + ]; } } diff --git a/database/factories/BonTransactionsFactory.php b/database/factories/BonTransactionsFactory.php index eccb025337..8f951c311e 100644 --- a/database/factories/BonTransactionsFactory.php +++ b/database/factories/BonTransactionsFactory.php @@ -24,22 +24,22 @@ class BonTransactionsFactory extends Factory public function definition() { return [ - 'itemID' => function () { - return BonExchange::factory()->create()->id; - }, - 'name' => $this->faker->name, - 'cost' => $this->faker->randomFloat(), - 'sender' => function () { - return User::factory()->create()->id; - }, - 'receiver' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => $this->faker->randomNumber(), - 'donation_id' => $this->faker->randomNumber(), - 'post_id' => $this->faker->randomNumber(), - 'comment' => $this->faker->text, - 'date_actioned' => $this->faker->dateTime(), - ]; + 'itemID' => function () { + return BonExchange::factory()->create()->id; + }, + 'name' => $this->faker->name, + 'cost' => $this->faker->randomFloat(), + 'sender' => function () { + return User::factory()->create()->id; + }, + 'receiver' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => $this->faker->randomNumber(), + 'donation_id' => $this->faker->randomNumber(), + 'post_id' => $this->faker->randomNumber(), + 'comment' => $this->faker->text, + 'date_actioned' => $this->faker->dateTime(), + ]; } } diff --git a/database/factories/BookmarkFactory.php b/database/factories/BookmarkFactory.php index 1c26a49d67..095ac26686 100644 --- a/database/factories/BookmarkFactory.php +++ b/database/factories/BookmarkFactory.php @@ -24,12 +24,12 @@ class BookmarkFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/BotFactory.php b/database/factories/BotFactory.php index 83488cf7fe..a11693924b 100644 --- a/database/factories/BotFactory.php +++ b/database/factories/BotFactory.php @@ -23,28 +23,28 @@ class BotFactory extends Factory public function definition() { return [ - 'position' => $this->faker->randomNumber(), - 'slug' => $this->faker->slug, - 'name' => $this->faker->name, - 'command' => $this->faker->word, - 'color' => $this->faker->word, - 'icon' => $this->faker->word, - 'emoji' => $this->faker->word, - 'info' => $this->faker->word, - 'about' => $this->faker->word, - 'help' => $this->faker->text, - 'active' => $this->faker->boolean, - 'is_protected' => $this->faker->boolean, - 'is_triviabot' => $this->faker->boolean, - 'is_nerdbot' => $this->faker->boolean, - 'is_systembot' => $this->faker->boolean, - 'is_casinobot' => $this->faker->boolean, - 'is_betbot' => $this->faker->boolean, - 'uploaded' => $this->faker->randomNumber(), - 'downloaded' => $this->faker->randomNumber(), - 'fl_tokens' => $this->faker->randomNumber(), - 'seedbonus' => $this->faker->randomFloat(), - 'invites' => $this->faker->randomNumber(), - ]; + 'position' => $this->faker->randomNumber(), + 'slug' => $this->faker->slug, + 'name' => $this->faker->name, + 'command' => $this->faker->word, + 'color' => $this->faker->word, + 'icon' => $this->faker->word, + 'emoji' => $this->faker->word, + 'info' => $this->faker->word, + 'about' => $this->faker->word, + 'help' => $this->faker->text, + 'active' => $this->faker->boolean, + 'is_protected' => $this->faker->boolean, + 'is_triviabot' => $this->faker->boolean, + 'is_nerdbot' => $this->faker->boolean, + 'is_systembot' => $this->faker->boolean, + 'is_casinobot' => $this->faker->boolean, + 'is_betbot' => $this->faker->boolean, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'fl_tokens' => $this->faker->randomNumber(), + 'seedbonus' => $this->faker->randomFloat(), + 'invites' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/BotTransactionFactory.php b/database/factories/BotTransactionFactory.php index 7799fa2b7f..e2ef5ff90c 100644 --- a/database/factories/BotTransactionFactory.php +++ b/database/factories/BotTransactionFactory.php @@ -24,17 +24,17 @@ class BotTransactionFactory extends Factory public function definition() { return [ - 'type' => $this->faker->word, - 'cost' => $this->faker->randomFloat(), - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'bot_id' => function () { - return Bot::factory()->create()->id; - }, - 'to_user' => $this->faker->boolean, - 'to_bot' => $this->faker->boolean, - 'comment' => $this->faker->text, - ]; + 'type' => $this->faker->word, + 'cost' => $this->faker->randomFloat(), + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'bot_id' => function () { + return Bot::factory()->create()->id; + }, + 'to_user' => $this->faker->boolean, + 'to_bot' => $this->faker->boolean, + 'comment' => $this->faker->text, + ]; } } diff --git a/database/factories/CategoryFactory.php b/database/factories/CategoryFactory.php index a5ac1b0948..da099e951e 100644 --- a/database/factories/CategoryFactory.php +++ b/database/factories/CategoryFactory.php @@ -23,17 +23,17 @@ class CategoryFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'image' => $this->faker->word, - 'position' => $this->faker->randomNumber(), - 'icon' => $this->faker->word, - 'no_meta' => $this->faker->boolean, - 'music_meta' => $this->faker->boolean, - 'game_meta' => $this->faker->boolean, - 'tv_meta' => $this->faker->boolean, - 'movie_meta' => $this->faker->boolean, - 'num_torrent' => $this->faker->randomNumber(), - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'image' => $this->faker->word, + 'position' => $this->faker->randomNumber(), + 'icon' => $this->faker->word, + 'no_meta' => $this->faker->boolean, + 'music_meta' => $this->faker->boolean, + 'game_meta' => $this->faker->boolean, + 'tv_meta' => $this->faker->boolean, + 'movie_meta' => $this->faker->boolean, + 'num_torrent' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/ChatStatusFactory.php b/database/factories/ChatStatusFactory.php index 6037cace37..f50057ecc1 100644 --- a/database/factories/ChatStatusFactory.php +++ b/database/factories/ChatStatusFactory.php @@ -23,9 +23,9 @@ class ChatStatusFactory extends Factory public function definition() { return [ - 'name' => $this->faker->unique()->name, - 'color' => $this->faker->unique()->word, - 'icon' => $this->faker->word, - ]; + 'name' => $this->faker->unique()->name, + 'color' => $this->faker->unique()->word, + 'icon' => $this->faker->word, + ]; } } diff --git a/database/factories/ChatroomFactory.php b/database/factories/ChatroomFactory.php index 4b57da8029..1700e58cc9 100644 --- a/database/factories/ChatroomFactory.php +++ b/database/factories/ChatroomFactory.php @@ -23,7 +23,7 @@ class ChatroomFactory extends Factory public function definition() { return [ - 'name' => $this->faker->unique()->word, - ]; + 'name' => $this->faker->unique()->word, + ]; } } diff --git a/database/factories/CommentFactory.php b/database/factories/CommentFactory.php index 2931de72db..83a7c5246c 100644 --- a/database/factories/CommentFactory.php +++ b/database/factories/CommentFactory.php @@ -24,23 +24,23 @@ class CommentFactory extends Factory public function definition() { return [ - 'content' => $this->faker->text, - 'anon' => (int) $this->faker->boolean(), - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - 'article_id' => function () { - return Article::factory()->create()->id; - }, - 'requests_id' => function () { - return TorrentRequest::factory()->create()->id; - }, - 'playlist_id' => function () { - return Playlist::factory()->create()->id; - }, - 'user_id' => function () { - return User::factory()->create()->id; - }, - ]; + 'content' => $this->faker->text, + 'anon' => (int) $this->faker->boolean(), + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + 'article_id' => function () { + return Article::factory()->create()->id; + }, + 'requests_id' => function () { + return TorrentRequest::factory()->create()->id; + }, + 'playlist_id' => function () { + return Playlist::factory()->create()->id; + }, + 'user_id' => function () { + return User::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/FailedLoginAttemptFactory.php b/database/factories/FailedLoginAttemptFactory.php index f0850d2ac5..78b0846174 100644 --- a/database/factories/FailedLoginAttemptFactory.php +++ b/database/factories/FailedLoginAttemptFactory.php @@ -23,9 +23,9 @@ class FailedLoginAttemptFactory extends Factory public function definition() { return [ - 'user_id' => $this->faker->randomNumber(), - 'username' => $this->faker->userName, - 'ip_address' => $this->faker->word, - ]; + 'user_id' => $this->faker->randomNumber(), + 'username' => $this->faker->userName, + 'ip_address' => $this->faker->word, + ]; } } diff --git a/database/factories/FeaturedTorrentFactory.php b/database/factories/FeaturedTorrentFactory.php index a065e0b0e7..e046acd208 100644 --- a/database/factories/FeaturedTorrentFactory.php +++ b/database/factories/FeaturedTorrentFactory.php @@ -24,12 +24,12 @@ class FeaturedTorrentFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/FollowFactory.php b/database/factories/FollowFactory.php index 6bb0109537..1f23839f52 100644 --- a/database/factories/FollowFactory.php +++ b/database/factories/FollowFactory.php @@ -24,12 +24,12 @@ class FollowFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'target_id' => function () { - return User::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'target_id' => function () { + return User::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/ForumFactory.php b/database/factories/ForumFactory.php index 84f8e3c397..68424c1d1b 100644 --- a/database/factories/ForumFactory.php +++ b/database/factories/ForumFactory.php @@ -23,18 +23,18 @@ class ForumFactory extends Factory public function definition() { return [ - 'position' => $this->faker->randomNumber(), - 'num_topic' => $this->faker->randomNumber(), - 'num_post' => $this->faker->randomNumber(), - 'last_topic_id' => $this->faker->randomNumber(), - 'last_topic_name' => $this->faker->word, - 'last_topic_slug' => $this->faker->word, - 'last_post_user_id' => $this->faker->randomNumber(), - 'last_post_user_username' => $this->faker->word, - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'description' => $this->faker->text, - 'parent_id' => $this->faker->randomNumber(), - ]; + 'position' => $this->faker->randomNumber(), + 'num_topic' => $this->faker->randomNumber(), + 'num_post' => $this->faker->randomNumber(), + 'last_topic_id' => $this->faker->randomNumber(), + 'last_topic_name' => $this->faker->word, + 'last_topic_slug' => $this->faker->word, + 'last_post_user_id' => $this->faker->randomNumber(), + 'last_post_user_username' => $this->faker->word, + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'description' => $this->faker->text, + 'parent_id' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/FreeleechTokenFactory.php b/database/factories/FreeleechTokenFactory.php index 235e5dadb0..53403332b5 100644 --- a/database/factories/FreeleechTokenFactory.php +++ b/database/factories/FreeleechTokenFactory.php @@ -23,8 +23,8 @@ class FreeleechTokenFactory extends Factory public function definition() { return [ - 'user_id' => $this->faker->randomNumber(), - 'torrent_id' => $this->faker->randomNumber(), - ]; + 'user_id' => $this->faker->randomNumber(), + 'torrent_id' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/GitUpdateFactory.php b/database/factories/GitUpdateFactory.php index 9106d40dc1..8469eb1338 100644 --- a/database/factories/GitUpdateFactory.php +++ b/database/factories/GitUpdateFactory.php @@ -23,8 +23,8 @@ class GitUpdateFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'hash' => $this->faker->word, - ]; + 'name' => $this->faker->name, + 'hash' => $this->faker->word, + ]; } } diff --git a/database/factories/GraveyardFactory.php b/database/factories/GraveyardFactory.php index a2d7457042..a2647a5732 100644 --- a/database/factories/GraveyardFactory.php +++ b/database/factories/GraveyardFactory.php @@ -24,14 +24,14 @@ class GraveyardFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - 'seedtime' => $this->faker->randomNumber(), - 'rewarded' => $this->faker->boolean, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + 'seedtime' => $this->faker->randomNumber(), + 'rewarded' => $this->faker->boolean, + ]; } } diff --git a/database/factories/GroupFactory.php b/database/factories/GroupFactory.php index 3351d68923..f69e5fc112 100644 --- a/database/factories/GroupFactory.php +++ b/database/factories/GroupFactory.php @@ -23,24 +23,24 @@ class GroupFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'position' => $this->faker->randomNumber(), - 'level' => $this->faker->randomNumber(), - 'color' => $this->faker->word, - 'icon' => $this->faker->word, - 'effect' => $this->faker->word, - 'is_internal' => $this->faker->boolean, - 'is_owner' => $this->faker->boolean, - 'is_admin' => $this->faker->boolean, - 'is_modo' => $this->faker->boolean, - 'is_trusted' => $this->faker->boolean, - 'is_immune' => $this->faker->boolean, - 'is_freeleech' => $this->faker->boolean, - 'is_double_upload' => $this->faker->boolean, - 'can_upload' => $this->faker->boolean, - 'is_incognito' => $this->faker->boolean, - 'autogroup' => $this->faker->boolean, - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), + 'level' => $this->faker->randomNumber(), + 'color' => $this->faker->word, + 'icon' => $this->faker->word, + 'effect' => $this->faker->word, + 'is_internal' => $this->faker->boolean, + 'is_owner' => $this->faker->boolean, + 'is_admin' => $this->faker->boolean, + 'is_modo' => $this->faker->boolean, + 'is_trusted' => $this->faker->boolean, + 'is_immune' => $this->faker->boolean, + 'is_freeleech' => $this->faker->boolean, + 'is_double_upload' => $this->faker->boolean, + 'can_upload' => $this->faker->boolean, + 'is_incognito' => $this->faker->boolean, + 'autogroup' => $this->faker->boolean, + ]; } } diff --git a/database/factories/HistoryFactory.php b/database/factories/HistoryFactory.php index 296837387e..5fd7865bb6 100644 --- a/database/factories/HistoryFactory.php +++ b/database/factories/HistoryFactory.php @@ -24,27 +24,27 @@ class HistoryFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'agent' => $this->faker->word, - 'info_hash' => function () { - return Torrent::factory()->create()->id; - }, - 'uploaded' => $this->faker->randomNumber(), - 'actual_uploaded' => $this->faker->randomNumber(), - 'client_uploaded' => $this->faker->randomNumber(), - 'downloaded' => $this->faker->randomNumber(), - 'actual_downloaded' => $this->faker->randomNumber(), - 'client_downloaded' => $this->faker->randomNumber(), - 'seeder' => $this->faker->boolean, - 'active' => $this->faker->boolean, - 'seedtime' => $this->faker->randomNumber(), - 'immune' => $this->faker->boolean, - 'hitrun' => $this->faker->boolean, - 'prewarn' => $this->faker->boolean, - 'completed_at' => $this->faker->dateTime(), - 'deleted_at' => $this->faker->dateTime(), - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'agent' => $this->faker->word, + 'info_hash' => function () { + return Torrent::factory()->create()->id; + }, + 'uploaded' => $this->faker->randomNumber(), + 'actual_uploaded' => $this->faker->randomNumber(), + 'client_uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'actual_downloaded' => $this->faker->randomNumber(), + 'client_downloaded' => $this->faker->randomNumber(), + 'seeder' => $this->faker->boolean, + 'active' => $this->faker->boolean, + 'seedtime' => $this->faker->randomNumber(), + 'immune' => $this->faker->boolean, + 'hitrun' => $this->faker->boolean, + 'prewarn' => $this->faker->boolean, + 'completed_at' => $this->faker->dateTime(), + 'deleted_at' => $this->faker->dateTime(), + ]; } } diff --git a/database/factories/ImageFactory.php b/database/factories/ImageFactory.php index c456a739fe..6f761fdb38 100644 --- a/database/factories/ImageFactory.php +++ b/database/factories/ImageFactory.php @@ -24,14 +24,14 @@ class ImageFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'album_id' => $this->faker->randomNumber(), - 'image' => $this->faker->word, - 'description' => $this->faker->text, - 'type' => $this->faker->word, - 'downloads' => $this->faker->randomNumber(), - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'album_id' => $this->faker->randomNumber(), + 'image' => $this->faker->word, + 'description' => $this->faker->text, + 'type' => $this->faker->word, + 'downloads' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/InviteFactory.php b/database/factories/InviteFactory.php index 4c01ad77d7..ac44182fd8 100644 --- a/database/factories/InviteFactory.php +++ b/database/factories/InviteFactory.php @@ -24,17 +24,17 @@ class InviteFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'email' => $this->faker->safeEmail, - 'code' => $this->faker->word, - 'expires_on' => $this->faker->dateTime(), - 'accepted_by' => function () { - return User::factory()->create()->id; - }, - 'accepted_at' => $this->faker->dateTime(), - 'custom' => $this->faker->text, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'email' => $this->faker->safeEmail, + 'code' => $this->faker->word, + 'expires_on' => $this->faker->dateTime(), + 'accepted_by' => function () { + return User::factory()->create()->id; + }, + 'accepted_at' => $this->faker->dateTime(), + 'custom' => $this->faker->text, + ]; } } diff --git a/database/factories/LikeFactory.php b/database/factories/LikeFactory.php index 95c8231935..410a42226d 100644 --- a/database/factories/LikeFactory.php +++ b/database/factories/LikeFactory.php @@ -24,15 +24,15 @@ class LikeFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'post_id' => function () { - return Post::factory()->create()->id; - }, - 'subtitle_id' => $this->faker->randomNumber(), - 'like' => $this->faker->boolean, - 'dislike' => $this->faker->boolean, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'post_id' => function () { + return Post::factory()->create()->id; + }, + 'subtitle_id' => $this->faker->randomNumber(), + 'like' => $this->faker->boolean, + 'dislike' => $this->faker->boolean, + ]; } } diff --git a/database/factories/MessageFactory.php b/database/factories/MessageFactory.php index e6323e9b75..96c409d977 100644 --- a/database/factories/MessageFactory.php +++ b/database/factories/MessageFactory.php @@ -24,19 +24,19 @@ class MessageFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'chatroom_id' => function () { - return Chatroom::factory()->create()->id; - }, - 'receiver_id' => function () { - return User::factory()->create()->id; - }, - 'bot_id' => function () { - return Bot::factory()->create()->id; - }, - 'message' => $this->faker->text, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'chatroom_id' => function () { + return Chatroom::factory()->create()->id; + }, + 'receiver_id' => function () { + return User::factory()->create()->id; + }, + 'bot_id' => function () { + return Bot::factory()->create()->id; + }, + 'message' => $this->faker->text, + ]; } } diff --git a/database/factories/NoteFactory.php b/database/factories/NoteFactory.php index 541f716949..8323fa901e 100644 --- a/database/factories/NoteFactory.php +++ b/database/factories/NoteFactory.php @@ -24,13 +24,13 @@ class NoteFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'staff_id' => function () { - return User::factory()->create()->id; - }, - 'message' => $this->faker->text, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'staff_id' => function () { + return User::factory()->create()->id; + }, + 'message' => $this->faker->text, + ]; } } diff --git a/database/factories/NotificationFactory.php b/database/factories/NotificationFactory.php index 5b11bad55e..a608d826b3 100644 --- a/database/factories/NotificationFactory.php +++ b/database/factories/NotificationFactory.php @@ -23,11 +23,11 @@ class NotificationFactory extends Factory public function definition() { return [ - 'type' => $this->faker->word, - 'notifiable_id' => $this->faker->randomNumber(), - 'notifiable_type' => $this->faker->word, - 'data' => $this->faker->text, - 'read_at' => $this->faker->dateTime(), - ]; + 'type' => $this->faker->word, + 'notifiable_id' => $this->faker->randomNumber(), + 'notifiable_type' => $this->faker->word, + 'data' => $this->faker->text, + 'read_at' => $this->faker->dateTime(), + ]; } } diff --git a/database/factories/OptionFactory.php b/database/factories/OptionFactory.php index ed4c1fb87e..058b088e45 100644 --- a/database/factories/OptionFactory.php +++ b/database/factories/OptionFactory.php @@ -24,11 +24,11 @@ class OptionFactory extends Factory public function definition() { return [ - 'poll_id' => function () { - return Poll::factory()->create()->id; - }, - 'name' => $this->faker->name, - 'votes' => $this->faker->randomNumber(), - ]; + 'poll_id' => function () { + return Poll::factory()->create()->id; + }, + 'name' => $this->faker->name, + 'votes' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/PageFactory.php b/database/factories/PageFactory.php index b04c8cd52e..82e64fb948 100644 --- a/database/factories/PageFactory.php +++ b/database/factories/PageFactory.php @@ -23,9 +23,9 @@ class PageFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'content' => $this->faker->text, - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'content' => $this->faker->text, + ]; } } diff --git a/database/factories/PeerFactory.php b/database/factories/PeerFactory.php index a2bf0d9931..aa19f081f1 100644 --- a/database/factories/PeerFactory.php +++ b/database/factories/PeerFactory.php @@ -24,25 +24,25 @@ class PeerFactory extends Factory public function definition() { return [ - 'peer_id' => $this->faker->word, - 'md5_peer_id' => $this->faker->word, - 'info_hash' => $this->faker->word, - 'ip' => $this->faker->word, - 'port' => $this->faker->randomNumber(), - 'agent' => $this->faker->word, - 'uploaded' => $this->faker->randomNumber(), - 'downloaded' => $this->faker->randomNumber(), - 'left' => $this->faker->randomNumber(), - 'seeder' => $this->faker->boolean, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'torrents.id' => function () { - return Torrent::factory()->create()->id; - }, - ]; + 'peer_id' => $this->faker->word, + 'md5_peer_id' => $this->faker->word, + 'info_hash' => $this->faker->word, + 'ip' => $this->faker->word, + 'port' => $this->faker->randomNumber(), + 'agent' => $this->faker->word, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'left' => $this->faker->randomNumber(), + 'seeder' => $this->faker->boolean, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'torrents.id' => function () { + return Torrent::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/PermissionFactory.php b/database/factories/PermissionFactory.php index 6b0e139d55..d640109eff 100644 --- a/database/factories/PermissionFactory.php +++ b/database/factories/PermissionFactory.php @@ -24,16 +24,16 @@ class PermissionFactory extends Factory public function definition() { return [ - 'forum_id' => function () { - return Forum::factory()->create()->id; - }, - 'group_id' => function () { - return Group::factory()->create()->id; - }, - 'show_forum' => $this->faker->boolean, - 'read_topic' => $this->faker->boolean, - 'reply_topic' => $this->faker->boolean, - 'start_topic' => $this->faker->boolean, - ]; + 'forum_id' => function () { + return Forum::factory()->create()->id; + }, + 'group_id' => function () { + return Group::factory()->create()->id; + }, + 'show_forum' => $this->faker->boolean, + 'read_topic' => $this->faker->boolean, + 'reply_topic' => $this->faker->boolean, + 'start_topic' => $this->faker->boolean, + ]; } } diff --git a/database/factories/PersonalFreeleechFactory.php b/database/factories/PersonalFreeleechFactory.php index 8d79783d9a..05a6298f4f 100644 --- a/database/factories/PersonalFreeleechFactory.php +++ b/database/factories/PersonalFreeleechFactory.php @@ -23,7 +23,7 @@ class PersonalFreeleechFactory extends Factory public function definition() { return [ - 'user_id' => $this->faker->randomNumber(), - ]; + 'user_id' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/PlaylistFactory.php b/database/factories/PlaylistFactory.php index e31605c768..1a747c8716 100644 --- a/database/factories/PlaylistFactory.php +++ b/database/factories/PlaylistFactory.php @@ -24,16 +24,16 @@ class PlaylistFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'name' => $this->faker->name, - 'description' => $this->faker->text, - 'cover_image' => $this->faker->word, - 'position' => $this->faker->randomNumber(), - 'is_private' => $this->faker->boolean, - 'is_pinned' => $this->faker->boolean, - 'is_featured' => $this->faker->boolean, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'name' => $this->faker->name, + 'description' => $this->faker->text, + 'cover_image' => $this->faker->word, + 'position' => $this->faker->randomNumber(), + 'is_private' => $this->faker->boolean, + 'is_pinned' => $this->faker->boolean, + 'is_featured' => $this->faker->boolean, + ]; } } diff --git a/database/factories/PlaylistTorrentFactory.php b/database/factories/PlaylistTorrentFactory.php index 2e3f11cd4d..2357b105f0 100644 --- a/database/factories/PlaylistTorrentFactory.php +++ b/database/factories/PlaylistTorrentFactory.php @@ -24,14 +24,14 @@ class PlaylistTorrentFactory extends Factory public function definition() { return [ - 'position' => $this->faker->randomNumber(), - 'playlist_id' => function () { - return Playlist::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - 'tmdb_id' => $this->faker->randomNumber(), - ]; + 'position' => $this->faker->randomNumber(), + 'playlist_id' => function () { + return Playlist::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + 'tmdb_id' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/PollFactory.php b/database/factories/PollFactory.php index d4d76cf959..9df17de68c 100644 --- a/database/factories/PollFactory.php +++ b/database/factories/PollFactory.php @@ -24,13 +24,13 @@ class PollFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'title' => $this->faker->word, - 'slug' => $this->faker->slug, - 'ip_checking' => $this->faker->boolean, - 'multiple_choice' => $this->faker->boolean, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'title' => $this->faker->word, + 'slug' => $this->faker->slug, + 'ip_checking' => $this->faker->boolean, + 'multiple_choice' => $this->faker->boolean, + ]; } } diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 52d923ce84..23a13a3dc0 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -24,13 +24,13 @@ class PostFactory extends Factory public function definition() { return [ - 'content' => $this->faker->text, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'topic_id' => function () { - return Topic::factory()->create()->id; - }, - ]; + 'content' => $this->faker->text, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'topic_id' => function () { + return Topic::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/PrivateMessageFactory.php b/database/factories/PrivateMessageFactory.php index 78fd8ac893..2a68ac641c 100644 --- a/database/factories/PrivateMessageFactory.php +++ b/database/factories/PrivateMessageFactory.php @@ -24,16 +24,16 @@ class PrivateMessageFactory extends Factory public function definition() { return [ - 'sender_id' => function () { - return User::factory()->create()->id; - }, - 'receiver_id' => function () { - return User::factory()->create()->id; - }, - 'subject' => $this->faker->word, - 'message' => $this->faker->text, - 'read' => $this->faker->boolean, - 'related_to' => $this->faker->randomNumber(), - ]; + 'sender_id' => function () { + return User::factory()->create()->id; + }, + 'receiver_id' => function () { + return User::factory()->create()->id; + }, + 'subject' => $this->faker->word, + 'message' => $this->faker->text, + 'read' => $this->faker->boolean, + 'related_to' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/ReportFactory.php b/database/factories/ReportFactory.php index a5a762f76c..6829704c39 100644 --- a/database/factories/ReportFactory.php +++ b/database/factories/ReportFactory.php @@ -24,26 +24,26 @@ class ReportFactory extends Factory public function definition() { return [ - 'type' => $this->faker->word, - 'reporter_id' => function () { - return User::factory()->create()->id; - }, - 'staff_id' => function () { - return User::factory()->create()->id; - }, - 'title' => $this->faker->word, - 'message' => $this->faker->text, - 'solved' => $this->faker->randomNumber(), - 'verdict' => $this->faker->text, - 'reported_user' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - 'request_id' => function () { - return TorrentRequest::factory()->create()->id; - }, - ]; + 'type' => $this->faker->word, + 'reporter_id' => function () { + return User::factory()->create()->id; + }, + 'staff_id' => function () { + return User::factory()->create()->id; + }, + 'title' => $this->faker->word, + 'message' => $this->faker->text, + 'solved' => $this->faker->randomNumber(), + 'verdict' => $this->faker->text, + 'reported_user' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + 'request_id' => function () { + return TorrentRequest::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/ResolutionFactory.php b/database/factories/ResolutionFactory.php index b68ddf5c38..68f9cdd9b5 100644 --- a/database/factories/ResolutionFactory.php +++ b/database/factories/ResolutionFactory.php @@ -23,9 +23,9 @@ class ResolutionFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'position' => $this->faker->randomNumber(), - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/RssFactory.php b/database/factories/RssFactory.php index 1dfda633bc..8055ec190f 100644 --- a/database/factories/RssFactory.php +++ b/database/factories/RssFactory.php @@ -24,17 +24,17 @@ class RssFactory extends Factory public function definition() { return [ - 'position' => $this->faker->randomNumber(), - 'name' => $this->faker->name, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'staff_id' => function () { - return User::factory()->create()->id; - }, - 'is_private' => $this->faker->boolean, - 'is_torrent' => $this->faker->boolean, - 'json_torrent' => $this->faker->word, - ]; + 'position' => $this->faker->randomNumber(), + 'name' => $this->faker->name, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'staff_id' => function () { + return User::factory()->create()->id; + }, + 'is_private' => $this->faker->boolean, + 'is_torrent' => $this->faker->boolean, + 'json_torrent' => $this->faker->word, + ]; } } diff --git a/database/factories/SeedboxFactory.php b/database/factories/SeedboxFactory.php index 842ffc1de7..665ca155f3 100644 --- a/database/factories/SeedboxFactory.php +++ b/database/factories/SeedboxFactory.php @@ -24,11 +24,11 @@ class SeedboxFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'name' => $this->faker->name, - 'ip' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'name' => $this->faker->name, + 'ip' => $this->faker->word, + ]; } } diff --git a/database/factories/SubscriptionFactory.php b/database/factories/SubscriptionFactory.php index 987ab88d96..ac1517d072 100644 --- a/database/factories/SubscriptionFactory.php +++ b/database/factories/SubscriptionFactory.php @@ -24,15 +24,15 @@ class SubscriptionFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'forum_id' => function () { - return Forum::factory()->create()->id; - }, - 'topic_id' => function () { - return Topic::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'forum_id' => function () { + return Forum::factory()->create()->id; + }, + 'topic_id' => function () { + return Topic::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index 50caafefa9..0e4ca15381 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -23,8 +23,8 @@ class TagFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + ]; } } diff --git a/database/factories/TagTorrentFactory.php b/database/factories/TagTorrentFactory.php index b29a0f9756..edf31ae885 100644 --- a/database/factories/TagTorrentFactory.php +++ b/database/factories/TagTorrentFactory.php @@ -24,10 +24,10 @@ class TagTorrentFactory extends Factory public function definition() { return [ - 'torrent_id' => $this->faker->randomNumber(), - 'tag_name' => function () { - return Tag::factory()->create()->id; - }, - ]; + 'torrent_id' => $this->faker->randomNumber(), + 'tag_name' => function () { + return Tag::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/ThankFactory.php b/database/factories/ThankFactory.php index 2ccab058f0..89b2634962 100644 --- a/database/factories/ThankFactory.php +++ b/database/factories/ThankFactory.php @@ -24,12 +24,12 @@ class ThankFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/TopicFactory.php b/database/factories/TopicFactory.php index 6442ccd399..4521082df2 100644 --- a/database/factories/TopicFactory.php +++ b/database/factories/TopicFactory.php @@ -24,29 +24,29 @@ class TopicFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'state' => $this->faker->word, - 'pinned' => $this->faker->boolean, - 'approved' => $this->faker->boolean, - 'denied' => $this->faker->boolean, - 'solved' => $this->faker->boolean, - 'invalid' => $this->faker->boolean, - 'bug' => $this->faker->boolean, - 'suggestion' => $this->faker->boolean, - 'implemented' => $this->faker->boolean, - 'num_post' => $this->faker->randomNumber(), - 'first_post_user_id' => function () { - return User::factory()->create()->id; - }, - 'last_post_user_id' => $this->faker->randomNumber(), - 'first_post_user_username' => $this->faker->word, - 'last_post_user_username' => $this->faker->word, - 'last_reply_at' => $this->faker->dateTime(), - 'views' => $this->faker->randomNumber(), - 'forum_id' => function () { - return Forum::factory()->create()->id; - }, - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'state' => $this->faker->word, + 'pinned' => $this->faker->boolean, + 'approved' => $this->faker->boolean, + 'denied' => $this->faker->boolean, + 'solved' => $this->faker->boolean, + 'invalid' => $this->faker->boolean, + 'bug' => $this->faker->boolean, + 'suggestion' => $this->faker->boolean, + 'implemented' => $this->faker->boolean, + 'num_post' => $this->faker->randomNumber(), + 'first_post_user_id' => function () { + return User::factory()->create()->id; + }, + 'last_post_user_id' => $this->faker->randomNumber(), + 'first_post_user_username' => $this->faker->word, + 'last_post_user_username' => $this->faker->word, + 'last_reply_at' => $this->faker->dateTime(), + 'views' => $this->faker->randomNumber(), + 'forum_id' => function () { + return Forum::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/TorrentFactory.php b/database/factories/TorrentFactory.php index 395a709deb..2990c5b3f2 100644 --- a/database/factories/TorrentFactory.php +++ b/database/factories/TorrentFactory.php @@ -24,51 +24,51 @@ class TorrentFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'description' => $this->faker->text, - 'mediainfo' => $this->faker->text, - 'info_hash' => $this->faker->word, - 'file_name' => $this->faker->word, - 'num_file' => $this->faker->randomNumber(), - 'size' => $this->faker->randomFloat(), - 'nfo' => $this->faker->text, - 'leechers' => $this->faker->randomNumber(), - 'seeders' => $this->faker->randomNumber(), - 'times_completed' => $this->faker->randomNumber(), - 'category_id' => function () { - return Category::factory()->create()->id; - }, - 'announce' => $this->faker->word, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'imdb' => $this->faker->randomNumber(), - 'tvdb' => $this->faker->randomNumber(), - 'tmdb' => $this->faker->randomNumber(), - 'mal' => $this->faker->randomNumber(), - 'igdb' => $this->faker->randomNumber(), - 'type_id' => function () { - return Type::factory()->create()->id; - }, - 'resolution_id' => function () { - return Resolution::factory()->create()->id; - }, - 'stream' => $this->faker->boolean, - 'free' => $this->faker->boolean, - 'doubleup' => $this->faker->boolean, - 'highspeed' => $this->faker->boolean, - 'featured' => $this->faker->boolean, - 'status' => (int) $this->faker->boolean, - 'moderated_at' => $this->faker->dateTime(), - 'moderated_by' => function () { - return User::factory()->create()->id; - }, - 'anon' => $this->faker->boolean, - 'sticky' => $this->faker->boolean, - 'sd' => $this->faker->boolean, - 'internal' => $this->faker->boolean, - 'release_year' => $this->faker->date('Y'), - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'description' => $this->faker->text, + 'mediainfo' => $this->faker->text, + 'info_hash' => $this->faker->word, + 'file_name' => $this->faker->word, + 'num_file' => $this->faker->randomNumber(), + 'size' => $this->faker->randomFloat(), + 'nfo' => $this->faker->text, + 'leechers' => $this->faker->randomNumber(), + 'seeders' => $this->faker->randomNumber(), + 'times_completed' => $this->faker->randomNumber(), + 'category_id' => function () { + return Category::factory()->create()->id; + }, + 'announce' => $this->faker->word, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'imdb' => $this->faker->randomNumber(), + 'tvdb' => $this->faker->randomNumber(), + 'tmdb' => $this->faker->randomNumber(), + 'mal' => $this->faker->randomNumber(), + 'igdb' => $this->faker->randomNumber(), + 'type_id' => function () { + return Type::factory()->create()->id; + }, + 'resolution_id' => function () { + return Resolution::factory()->create()->id; + }, + 'stream' => $this->faker->boolean, + 'free' => $this->faker->boolean, + 'doubleup' => $this->faker->boolean, + 'highspeed' => $this->faker->boolean, + 'featured' => $this->faker->boolean, + 'status' => (int) $this->faker->boolean, + 'moderated_at' => $this->faker->dateTime(), + 'moderated_by' => function () { + return User::factory()->create()->id; + }, + 'anon' => $this->faker->boolean, + 'sticky' => $this->faker->boolean, + 'sd' => $this->faker->boolean, + 'internal' => $this->faker->boolean, + 'release_year' => $this->faker->date('Y'), + ]; } } diff --git a/database/factories/TorrentFileFactory.php b/database/factories/TorrentFileFactory.php index a30ba4f629..27be3910d7 100644 --- a/database/factories/TorrentFileFactory.php +++ b/database/factories/TorrentFileFactory.php @@ -24,11 +24,11 @@ class TorrentFileFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'size' => $this->faker->randomNumber(), - 'torrent_id' => function () { - return Torrent::factory()->create()->id; - }, - ]; + 'name' => $this->faker->name, + 'size' => $this->faker->randomNumber(), + 'torrent_id' => function () { + return Torrent::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/TorrentRequestBountyFactory.php b/database/factories/TorrentRequestBountyFactory.php index d1ac109099..532a4dc341 100644 --- a/database/factories/TorrentRequestBountyFactory.php +++ b/database/factories/TorrentRequestBountyFactory.php @@ -24,15 +24,15 @@ class TorrentRequestBountyFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'seedbonus' => $this->faker->randomFloat(), - 'requests_id' => $this->faker->randomNumber(), - 'anon' => $this->faker->boolean, - 'request_id' => function () { - return TorrentRequest::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'seedbonus' => $this->faker->randomFloat(), + 'requests_id' => $this->faker->randomNumber(), + 'anon' => $this->faker->boolean, + 'request_id' => function () { + return TorrentRequest::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/TorrentRequestClaimFactory.php b/database/factories/TorrentRequestClaimFactory.php index 0322705dcd..0357ff0e9e 100644 --- a/database/factories/TorrentRequestClaimFactory.php +++ b/database/factories/TorrentRequestClaimFactory.php @@ -23,9 +23,9 @@ class TorrentRequestClaimFactory extends Factory public function definition() { return [ - 'request_id' => $this->faker->randomNumber(), - 'username' => $this->faker->userName, - 'anon' => $this->faker->randomNumber(), - ]; + 'request_id' => $this->faker->randomNumber(), + 'username' => $this->faker->userName, + 'anon' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/TorrentRequestFactory.php b/database/factories/TorrentRequestFactory.php index 0f956841f4..f1750a59ef 100644 --- a/database/factories/TorrentRequestFactory.php +++ b/database/factories/TorrentRequestFactory.php @@ -24,41 +24,41 @@ class TorrentRequestFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'category_id' => function () { - return Category::factory()->create()->id; - }, - 'type_id' => function () { - return Type::factory()->create()->id; - }, - 'resolution_id' => function () { - return Resolution::factory()->create()->id; - }, - 'imdb' => $this->faker->word, - 'tvdb' => $this->faker->word, - 'tmdb' => $this->faker->word, - 'mal' => $this->faker->word, - 'igdb' => $this->faker->word, - 'description' => $this->faker->text, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'bounty' => $this->faker->randomFloat(), - 'votes' => $this->faker->randomNumber(), - 'claimed' => $this->faker->boolean, - 'anon' => $this->faker->boolean, - 'filled_by' => function () { - return User::factory()->create()->id; - }, - 'filled_hash' => function () { - return Torrent::factory()->create()->id; - }, - 'filled_when' => $this->faker->dateTime(), - 'filled_anon' => $this->faker->boolean, - 'approved_by' => function () { - return User::factory()->create()->id; - }, - 'approved_when' => $this->faker->dateTime(), - ]; + 'name' => $this->faker->name, + 'category_id' => function () { + return Category::factory()->create()->id; + }, + 'type_id' => function () { + return Type::factory()->create()->id; + }, + 'resolution_id' => function () { + return Resolution::factory()->create()->id; + }, + 'imdb' => $this->faker->word, + 'tvdb' => $this->faker->word, + 'tmdb' => $this->faker->word, + 'mal' => $this->faker->word, + 'igdb' => $this->faker->word, + 'description' => $this->faker->text, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'bounty' => $this->faker->randomFloat(), + 'votes' => $this->faker->randomNumber(), + 'claimed' => $this->faker->boolean, + 'anon' => $this->faker->boolean, + 'filled_by' => function () { + return User::factory()->create()->id; + }, + 'filled_hash' => function () { + return Torrent::factory()->create()->id; + }, + 'filled_when' => $this->faker->dateTime(), + 'filled_anon' => $this->faker->boolean, + 'approved_by' => function () { + return User::factory()->create()->id; + }, + 'approved_when' => $this->faker->dateTime(), + ]; } } diff --git a/database/factories/TwoStepAuthFactory.php b/database/factories/TwoStepAuthFactory.php index d0047b4f32..46a8e162d4 100644 --- a/database/factories/TwoStepAuthFactory.php +++ b/database/factories/TwoStepAuthFactory.php @@ -24,12 +24,12 @@ class TwoStepAuthFactory extends Factory public function definition() { return [ - 'userId' => $this->faker->randomNumber(), - 'authCode' => sprintf('%s%s%s%s', $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9)), - 'authCount' => 0, - 'authStatus' => false, - 'authDate' => null, - 'requestDate' => Carbon::now(), - ]; + 'userId' => $this->faker->randomNumber(), + 'authCode' => sprintf('%s%s%s%s', $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9), $this->faker->numberBetween(0, 9)), + 'authCount' => 0, + 'authStatus' => false, + 'authDate' => null, + 'requestDate' => Carbon::now(), + ]; } } diff --git a/database/factories/TypeFactory.php b/database/factories/TypeFactory.php index 15cacdabeb..4861a4fa29 100644 --- a/database/factories/TypeFactory.php +++ b/database/factories/TypeFactory.php @@ -23,9 +23,9 @@ class TypeFactory extends Factory public function definition() { return [ - 'name' => $this->faker->name, - 'slug' => $this->faker->slug, - 'position' => $this->faker->randomNumber(), - ]; + 'name' => $this->faker->name, + 'slug' => $this->faker->slug, + 'position' => $this->faker->randomNumber(), + ]; } } diff --git a/database/factories/UploadFactory.php b/database/factories/UploadFactory.php index b124ab7d9c..57db4dd1da 100644 --- a/database/factories/UploadFactory.php +++ b/database/factories/UploadFactory.php @@ -23,6 +23,6 @@ class UploadFactory extends Factory public function definition() { return [ - ]; + ]; } } diff --git a/database/factories/UserActivationFactory.php b/database/factories/UserActivationFactory.php index 95d2494d05..f1f0f037bd 100644 --- a/database/factories/UserActivationFactory.php +++ b/database/factories/UserActivationFactory.php @@ -24,10 +24,10 @@ class UserActivationFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'token' => $this->faker->uuid, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'token' => $this->faker->uuid, + ]; } } diff --git a/database/factories/UserAudibleFactory.php b/database/factories/UserAudibleFactory.php index 8c32c6312a..4737a19d8b 100644 --- a/database/factories/UserAudibleFactory.php +++ b/database/factories/UserAudibleFactory.php @@ -24,19 +24,19 @@ class UserAudibleFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'room_id' => function () { - return Chatroom::factory()->create()->id; - }, - 'target_id' => function () { - return User::factory()->create()->id; - }, - 'bot_id' => function () { - return Bot::factory()->create()->id; - }, - 'status' => $this->faker->boolean, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'room_id' => function () { + return Chatroom::factory()->create()->id; + }, + 'target_id' => function () { + return User::factory()->create()->id; + }, + 'bot_id' => function () { + return Bot::factory()->create()->id; + }, + 'status' => $this->faker->boolean, + ]; } } diff --git a/database/factories/UserEchoFactory.php b/database/factories/UserEchoFactory.php index 338acaa362..cfa2143a3e 100644 --- a/database/factories/UserEchoFactory.php +++ b/database/factories/UserEchoFactory.php @@ -24,18 +24,18 @@ class UserEchoFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'room_id' => function () { - return Chatroom::factory()->create()->id; - }, - 'target_id' => function () { - return User::factory()->create()->id; - }, - 'bot_id' => function () { - return Bot::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'room_id' => function () { + return Chatroom::factory()->create()->id; + }, + 'target_id' => function () { + return User::factory()->create()->id; + }, + 'bot_id' => function () { + return Bot::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index a7501da471..f40f3f9a32 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -24,60 +24,60 @@ class UserFactory extends Factory public function definition() { return [ - 'username' => $this->faker->unique()->userName, - 'email' => $this->faker->unique()->safeEmail, - 'password' => bcrypt('secret'), - 'passkey' => $this->faker->word, - 'group_id' => function () { - return Group::factory()->create()->id; - }, - 'active' => true, - 'uploaded' => $this->faker->randomNumber(), - 'downloaded' => $this->faker->randomNumber(), - 'image' => $this->faker->word, - 'title' => $this->faker->word, - 'about' => $this->faker->word, - 'signature' => $this->faker->text, - 'fl_tokens' => $this->faker->randomNumber(), - 'seedbonus' => $this->faker->randomFloat(), - 'invites' => $this->faker->randomNumber(), - 'hitandruns' => $this->faker->randomNumber(), - 'rsskey' => $this->faker->word, - 'chatroom_id' => function () { - return Chatroom::factory()->create()->id; - }, - 'censor' => $this->faker->boolean, - 'chat_hidden' => $this->faker->boolean, - 'hidden' => $this->faker->boolean, - 'style' => $this->faker->boolean, - 'nav' => $this->faker->boolean, - 'torrent_layout' => $this->faker->boolean, - 'torrent_filters' => $this->faker->boolean, - 'custom_css' => $this->faker->word, - 'ratings' => $this->faker->boolean, - 'read_rules' => $this->faker->boolean, - 'can_chat' => $this->faker->boolean, - 'can_comment' => $this->faker->boolean, - 'can_download' => $this->faker->boolean, - 'can_request' => $this->faker->boolean, - 'can_invite' => $this->faker->boolean, - 'can_upload' => $this->faker->boolean, - 'show_poster' => $this->faker->boolean, - 'peer_hidden' => $this->faker->boolean, - 'private_profile' => $this->faker->boolean, - 'block_notifications' => $this->faker->boolean, - 'stat_hidden' => $this->faker->boolean, - 'twostep' => false, - 'remember_token' => Str::random(10), - 'api_token' => $this->faker->uuid, - //'last_login' => $this->faker->dateTime(), - 'last_action' => $this->faker->dateTime(), - //'disabled_at' => $this->faker->dateTime(), - //'deleted_by' => $this->faker->randomNumber(), - 'locale' => $this->faker->word, - 'chat_status_id' => function () { - return ChatStatus::factory()->create()->id; - }, - ]; + 'username' => $this->faker->unique()->userName, + 'email' => $this->faker->unique()->safeEmail, + 'password' => bcrypt('secret'), + 'passkey' => $this->faker->word, + 'group_id' => function () { + return Group::factory()->create()->id; + }, + 'active' => true, + 'uploaded' => $this->faker->randomNumber(), + 'downloaded' => $this->faker->randomNumber(), + 'image' => $this->faker->word, + 'title' => $this->faker->word, + 'about' => $this->faker->word, + 'signature' => $this->faker->text, + 'fl_tokens' => $this->faker->randomNumber(), + 'seedbonus' => $this->faker->randomFloat(), + 'invites' => $this->faker->randomNumber(), + 'hitandruns' => $this->faker->randomNumber(), + 'rsskey' => $this->faker->word, + 'chatroom_id' => function () { + return Chatroom::factory()->create()->id; + }, + 'censor' => $this->faker->boolean, + 'chat_hidden' => $this->faker->boolean, + 'hidden' => $this->faker->boolean, + 'style' => $this->faker->boolean, + 'nav' => $this->faker->boolean, + 'torrent_layout' => $this->faker->boolean, + 'torrent_filters' => $this->faker->boolean, + 'custom_css' => $this->faker->word, + 'ratings' => $this->faker->boolean, + 'read_rules' => $this->faker->boolean, + 'can_chat' => $this->faker->boolean, + 'can_comment' => $this->faker->boolean, + 'can_download' => $this->faker->boolean, + 'can_request' => $this->faker->boolean, + 'can_invite' => $this->faker->boolean, + 'can_upload' => $this->faker->boolean, + 'show_poster' => $this->faker->boolean, + 'peer_hidden' => $this->faker->boolean, + 'private_profile' => $this->faker->boolean, + 'block_notifications' => $this->faker->boolean, + 'stat_hidden' => $this->faker->boolean, + 'twostep' => false, + 'remember_token' => Str::random(10), + 'api_token' => $this->faker->uuid, + //'last_login' => $this->faker->dateTime(), + 'last_action' => $this->faker->dateTime(), + //'disabled_at' => $this->faker->dateTime(), + //'deleted_by' => $this->faker->randomNumber(), + 'locale' => $this->faker->word, + 'chat_status_id' => function () { + return ChatStatus::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/UserNotificationFactory.php b/database/factories/UserNotificationFactory.php index b2ed4dc108..22d5a24e23 100644 --- a/database/factories/UserNotificationFactory.php +++ b/database/factories/UserNotificationFactory.php @@ -24,38 +24,38 @@ class UserNotificationFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'show_bon_gift' => $this->faker->boolean, - 'show_mention_forum_post' => $this->faker->boolean, - 'show_mention_article_comment' => $this->faker->boolean, - 'show_mention_request_comment' => $this->faker->boolean, - 'show_mention_torrent_comment' => $this->faker->boolean, - 'show_subscription_topic' => $this->faker->boolean, - 'show_subscription_forum' => $this->faker->boolean, - 'show_forum_topic' => $this->faker->boolean, - 'show_following_upload' => $this->faker->boolean, - 'show_request_bounty' => $this->faker->boolean, - 'show_request_comment' => $this->faker->boolean, - 'show_request_fill' => $this->faker->boolean, - 'show_request_fill_approve' => $this->faker->boolean, - 'show_request_fill_reject' => $this->faker->boolean, - 'show_request_claim' => $this->faker->boolean, - 'show_request_unclaim' => $this->faker->boolean, - 'show_torrent_comment' => $this->faker->boolean, - 'show_torrent_tip' => $this->faker->boolean, - 'show_torrent_thank' => $this->faker->boolean, - 'show_account_follow' => $this->faker->boolean, - 'show_account_unfollow' => $this->faker->boolean, - 'json_account_groups' => $this->faker->word, - 'json_bon_groups' => $this->faker->word, - 'json_mention_groups' => $this->faker->word, - 'json_request_groups' => $this->faker->word, - 'json_torrent_groups' => $this->faker->word, - 'json_forum_groups' => $this->faker->word, - 'json_following_groups' => $this->faker->word, - 'json_subscription_groups' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'show_bon_gift' => $this->faker->boolean, + 'show_mention_forum_post' => $this->faker->boolean, + 'show_mention_article_comment' => $this->faker->boolean, + 'show_mention_request_comment' => $this->faker->boolean, + 'show_mention_torrent_comment' => $this->faker->boolean, + 'show_subscription_topic' => $this->faker->boolean, + 'show_subscription_forum' => $this->faker->boolean, + 'show_forum_topic' => $this->faker->boolean, + 'show_following_upload' => $this->faker->boolean, + 'show_request_bounty' => $this->faker->boolean, + 'show_request_comment' => $this->faker->boolean, + 'show_request_fill' => $this->faker->boolean, + 'show_request_fill_approve' => $this->faker->boolean, + 'show_request_fill_reject' => $this->faker->boolean, + 'show_request_claim' => $this->faker->boolean, + 'show_request_unclaim' => $this->faker->boolean, + 'show_torrent_comment' => $this->faker->boolean, + 'show_torrent_tip' => $this->faker->boolean, + 'show_torrent_thank' => $this->faker->boolean, + 'show_account_follow' => $this->faker->boolean, + 'show_account_unfollow' => $this->faker->boolean, + 'json_account_groups' => $this->faker->word, + 'json_bon_groups' => $this->faker->word, + 'json_mention_groups' => $this->faker->word, + 'json_request_groups' => $this->faker->word, + 'json_torrent_groups' => $this->faker->word, + 'json_forum_groups' => $this->faker->word, + 'json_following_groups' => $this->faker->word, + 'json_subscription_groups' => $this->faker->word, + ]; } } diff --git a/database/factories/UserPrivacyFactory.php b/database/factories/UserPrivacyFactory.php index 6dd49b2aff..27c5d371e0 100644 --- a/database/factories/UserPrivacyFactory.php +++ b/database/factories/UserPrivacyFactory.php @@ -24,48 +24,48 @@ class UserPrivacyFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'show_achievement' => $this->faker->boolean, - 'show_bon' => $this->faker->boolean, - 'show_comment' => $this->faker->boolean, - 'show_download' => $this->faker->boolean, - 'show_follower' => $this->faker->boolean, - 'show_online' => $this->faker->boolean, - 'show_peer' => $this->faker->boolean, - 'show_post' => $this->faker->boolean, - 'show_profile' => $this->faker->boolean, - 'show_profile_about' => $this->faker->boolean, - 'show_profile_achievement' => $this->faker->boolean, - 'show_profile_badge' => $this->faker->boolean, - 'show_profile_follower' => $this->faker->boolean, - 'show_profile_title' => $this->faker->boolean, - 'show_profile_bon_extra' => $this->faker->boolean, - 'show_profile_comment_extra' => $this->faker->boolean, - 'show_profile_forum_extra' => $this->faker->boolean, - 'show_profile_request_extra' => $this->faker->boolean, - 'show_profile_torrent_count' => $this->faker->boolean, - 'show_profile_torrent_extra' => $this->faker->boolean, - 'show_profile_torrent_ratio' => $this->faker->boolean, - 'show_profile_torrent_seed' => $this->faker->boolean, - 'show_profile_warning' => $this->faker->boolean, - 'show_rank' => $this->faker->boolean, - 'show_requested' => $this->faker->boolean, - 'show_topic' => $this->faker->boolean, - 'show_upload' => $this->faker->boolean, - 'show_wishlist' => $this->faker->boolean, - 'json_profile_groups' => $this->faker->word, - 'json_torrent_groups' => $this->faker->word, - 'json_forum_groups' => $this->faker->word, - 'json_bon_groups' => $this->faker->word, - 'json_comment_groups' => $this->faker->word, - 'json_wishlist_groups' => $this->faker->word, - 'json_follower_groups' => $this->faker->word, - 'json_achievement_groups' => $this->faker->word, - 'json_rank_groups' => $this->faker->word, - 'json_request_groups' => $this->faker->word, - 'json_other_groups' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'show_achievement' => $this->faker->boolean, + 'show_bon' => $this->faker->boolean, + 'show_comment' => $this->faker->boolean, + 'show_download' => $this->faker->boolean, + 'show_follower' => $this->faker->boolean, + 'show_online' => $this->faker->boolean, + 'show_peer' => $this->faker->boolean, + 'show_post' => $this->faker->boolean, + 'show_profile' => $this->faker->boolean, + 'show_profile_about' => $this->faker->boolean, + 'show_profile_achievement' => $this->faker->boolean, + 'show_profile_badge' => $this->faker->boolean, + 'show_profile_follower' => $this->faker->boolean, + 'show_profile_title' => $this->faker->boolean, + 'show_profile_bon_extra' => $this->faker->boolean, + 'show_profile_comment_extra' => $this->faker->boolean, + 'show_profile_forum_extra' => $this->faker->boolean, + 'show_profile_request_extra' => $this->faker->boolean, + 'show_profile_torrent_count' => $this->faker->boolean, + 'show_profile_torrent_extra' => $this->faker->boolean, + 'show_profile_torrent_ratio' => $this->faker->boolean, + 'show_profile_torrent_seed' => $this->faker->boolean, + 'show_profile_warning' => $this->faker->boolean, + 'show_rank' => $this->faker->boolean, + 'show_requested' => $this->faker->boolean, + 'show_topic' => $this->faker->boolean, + 'show_upload' => $this->faker->boolean, + 'show_wishlist' => $this->faker->boolean, + 'json_profile_groups' => $this->faker->word, + 'json_torrent_groups' => $this->faker->word, + 'json_forum_groups' => $this->faker->word, + 'json_bon_groups' => $this->faker->word, + 'json_comment_groups' => $this->faker->word, + 'json_wishlist_groups' => $this->faker->word, + 'json_follower_groups' => $this->faker->word, + 'json_achievement_groups' => $this->faker->word, + 'json_rank_groups' => $this->faker->word, + 'json_request_groups' => $this->faker->word, + 'json_other_groups' => $this->faker->word, + ]; } } diff --git a/database/factories/VoterFactory.php b/database/factories/VoterFactory.php index 5e4bc79649..b1687b90f6 100644 --- a/database/factories/VoterFactory.php +++ b/database/factories/VoterFactory.php @@ -24,13 +24,13 @@ class VoterFactory extends Factory public function definition() { return [ - 'poll_id' => function () { - return Poll::factory()->create()->id; - }, - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'ip_address' => $this->faker->word, - ]; + 'poll_id' => function () { + return Poll::factory()->create()->id; + }, + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'ip_address' => $this->faker->word, + ]; } } diff --git a/database/factories/WarningFactory.php b/database/factories/WarningFactory.php index 61e139bc19..f4701a0aac 100644 --- a/database/factories/WarningFactory.php +++ b/database/factories/WarningFactory.php @@ -24,21 +24,21 @@ class WarningFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'warned_by' => function () { - return User::factory()->create()->id; - }, - 'torrent' => function () { - return Torrent::factory()->create()->id; - }, - 'reason' => $this->faker->text, - 'expires_on' => $this->faker->dateTime(), - 'active' => $this->faker->boolean, - 'deleted_by' => function () { - return User::factory()->create()->id; - }, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'warned_by' => function () { + return User::factory()->create()->id; + }, + 'torrent' => function () { + return Torrent::factory()->create()->id; + }, + 'reason' => $this->faker->text, + 'expires_on' => $this->faker->dateTime(), + 'active' => $this->faker->boolean, + 'deleted_by' => function () { + return User::factory()->create()->id; + }, + ]; } } diff --git a/database/factories/WishFactory.php b/database/factories/WishFactory.php index 90b659a5e8..81ea332a60 100644 --- a/database/factories/WishFactory.php +++ b/database/factories/WishFactory.php @@ -24,13 +24,13 @@ class WishFactory extends Factory public function definition() { return [ - 'user_id' => function () { - return User::factory()->create()->id; - }, - 'title' => $this->faker->word, - 'imdb' => $this->faker->word, - 'type' => $this->faker->word, - 'source' => $this->faker->word, - ]; + 'user_id' => function () { + return User::factory()->create()->id; + }, + 'title' => $this->faker->word, + 'imdb' => $this->faker->word, + 'type' => $this->faker->word, + 'source' => $this->faker->word, + ]; } } diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 9ce35df202..007d89f10c 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -13,13 +13,6 @@ namespace Database\Seeders; -use Database\Seeders\AchievementDetailsTableSeeder; -use Database\Seeders\ArticlesTableSeeder; -use Database\Seeders\BonExchangeTableSeeder; -use Database\Seeders\BotsTableSeeder; -use Database\Seeders\CategoriesTableSeeder; -use Database\Seeders\ChatroomTableSeeder; -use Database\Seeders\ChatStatusSeeder; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder From fea5944cdc967123dd2856bd56e9bfd2a16c6234 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 03:50:48 +0000 Subject: [PATCH 14/23] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Http/Controllers/AnnounceController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/AnnounceController.php b/app/Http/Controllers/AnnounceController.php index c0df791fd2..b30cf536f8 100644 --- a/app/Http/Controllers/AnnounceController.php +++ b/app/Http/Controllers/AnnounceController.php @@ -17,7 +17,6 @@ namespace App\Http\Controllers; -use Illuminate\Support\Facades\Log; use App\Exceptions\TrackerException; use App\Helpers\Bencode; use App\Jobs\ProcessBasicAnnounceRequest; From 67831cd7e0e729504f9937b1d20df750333cf264 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 01:45:47 -0400 Subject: [PATCH 15/23] update: laravel 8 support --- app/Achievements/UserFilled100Requests.php | 2 +- app/Achievements/UserFilled25Requests.php | 2 +- app/Achievements/UserFilled50Requests.php | 2 +- app/Achievements/UserFilled75Requests.php | 2 +- app/Achievements/UserMade100Comments.php | 2 +- app/Achievements/UserMade100Posts.php | 2 +- app/Achievements/UserMade100Uploads.php | 2 +- app/Achievements/UserMade200Comments.php | 2 +- app/Achievements/UserMade200Posts.php | 2 +- app/Achievements/UserMade200Uploads.php | 2 +- app/Achievements/UserMade25Posts.php | 2 +- app/Achievements/UserMade25Uploads.php | 2 +- app/Achievements/UserMade300Comments.php | 2 +- app/Achievements/UserMade300Posts.php | 2 +- app/Achievements/UserMade300Uploads.php | 2 +- app/Achievements/UserMade400Comments.php | 2 +- app/Achievements/UserMade400Posts.php | 2 +- app/Achievements/UserMade400Uploads.php | 2 +- app/Achievements/UserMade500Comments.php | 2 +- app/Achievements/UserMade500Posts.php | 2 +- app/Achievements/UserMade500Uploads.php | 2 +- app/Achievements/UserMade50Comments.php | 2 +- app/Achievements/UserMade50Posts.php | 2 +- app/Achievements/UserMade50Uploads.php | 2 +- app/Achievements/UserMade600Comments.php | 2 +- app/Achievements/UserMade600Posts.php | 2 +- app/Achievements/UserMade600Uploads.php | 2 +- app/Achievements/UserMade700Comments.php | 2 +- app/Achievements/UserMade700Posts.php | 2 +- app/Achievements/UserMade700Uploads.php | 2 +- app/Achievements/UserMade800Comments.php | 2 +- app/Achievements/UserMade800Posts.php | 2 +- app/Achievements/UserMade800Uploads.php | 2 +- app/Achievements/UserMade900Comments.php | 2 +- app/Achievements/UserMade900Posts.php | 2 +- app/Achievements/UserMade900Uploads.php | 2 +- app/Achievements/UserMadeComment.php | 2 +- app/Achievements/UserMadeFirstPost.php | 2 +- app/Achievements/UserMadeTenComments.php | 2 +- app/Achievements/UserMadeUpload.php | 2 +- .../UserUploaded1000Subtitles.php | 2 +- app/Achievements/UserUploaded100Subtitles.php | 2 +- app/Achievements/UserUploaded200Subtitles.php | 2 +- app/Achievements/UserUploaded25Subtitles.php | 2 +- app/Achievements/UserUploaded300Subtitles.php | 2 +- app/Achievements/UserUploaded400Subtitles.php | 2 +- app/Achievements/UserUploaded500Subtitles.php | 2 +- app/Achievements/UserUploaded50Subtitles.php | 2 +- app/Achievements/UserUploaded600Subtitles.php | 2 +- app/Achievements/UserUploaded700Subtitles.php | 2 +- app/Achievements/UserUploaded800Subtitles.php | 2 +- app/Achievements/UserUploaded900Subtitles.php | 2 +- .../UserUploadedFirstSubtitle.php | 2 +- app/Listeners/AchievementUnlocked.php | 4 +- app/Models/Upload.php | 3 - app/Models/User.php | 2 +- app/Providers/EventServiceProvider.php | 2 +- composer.json | 11 +- composer.lock | 11866 ++++++++-------- config/app.php | 2 +- database/factories/AlbumFactory.php | 3 +- database/factories/ApplicationFactory.php | 3 +- .../ApplicationImageProofFactory.php | 3 +- .../factories/ApplicationUrlProofFactory.php | 3 +- database/factories/ArticleFactory.php | 3 +- database/factories/AuditFactory.php | 3 +- database/factories/BanFactory.php | 3 +- database/factories/BonExchangeFactory.php | 3 +- database/factories/BonTransactionsFactory.php | 3 +- database/factories/BookmarkFactory.php | 4 +- database/factories/BotFactory.php | 3 +- database/factories/BotTransactionFactory.php | 4 +- database/factories/CategoryFactory.php | 3 +- database/factories/ChatStatusFactory.php | 3 +- database/factories/ChatroomFactory.php | 3 +- database/factories/CommentFactory.php | 7 +- .../factories/FailedLoginAttemptFactory.php | 3 +- database/factories/FeaturedTorrentFactory.php | 4 +- database/factories/FollowFactory.php | 3 +- database/factories/ForumFactory.php | 3 +- database/factories/FreeleechTokenFactory.php | 3 +- database/factories/GitUpdateFactory.php | 3 +- database/factories/GraveyardFactory.php | 4 +- database/factories/GroupFactory.php | 3 +- database/factories/HistoryFactory.php | 4 +- database/factories/ImageFactory.php | 3 +- database/factories/InviteFactory.php | 3 +- database/factories/LikeFactory.php | 4 +- database/factories/MessageFactory.php | 5 +- database/factories/NoteFactory.php | 3 +- database/factories/NotificationFactory.php | 3 +- database/factories/OptionFactory.php | 3 +- database/factories/PageFactory.php | 3 +- database/factories/PeerFactory.php | 4 +- database/factories/PermissionFactory.php | 4 +- .../factories/PersonalFreeleechFactory.php | 3 +- database/factories/PlaylistFactory.php | 3 +- database/factories/PlaylistTorrentFactory.php | 4 +- database/factories/PollFactory.php | 3 +- database/factories/PostFactory.php | 4 +- database/factories/PrivateMessageFactory.php | 3 +- database/factories/ReportFactory.php | 5 +- database/factories/ResolutionFactory.php | 3 +- database/factories/RssFactory.php | 3 +- database/factories/SeedboxFactory.php | 3 +- database/factories/SubscriptionFactory.php | 5 +- database/factories/TagFactory.php | 3 +- database/factories/TagTorrentFactory.php | 3 +- database/factories/ThankFactory.php | 4 +- database/factories/TopicFactory.php | 4 +- database/factories/TorrentFactory.php | 6 +- database/factories/TorrentFileFactory.php | 3 +- .../factories/TorrentRequestBountyFactory.php | 4 +- .../factories/TorrentRequestClaimFactory.php | 3 +- database/factories/TorrentRequestFactory.php | 7 +- database/factories/TwoStepAuthFactory.php | 3 +- database/factories/TypeFactory.php | 3 +- database/factories/UploadFactory.php | 28 - database/factories/UserActivationFactory.php | 3 +- database/factories/UserAudibleFactory.php | 5 +- database/factories/UserEchoFactory.php | 5 +- database/factories/UserFactory.php | 6 +- .../factories/UserNotificationFactory.php | 3 +- database/factories/UserPrivacyFactory.php | 3 +- database/factories/VoterFactory.php | 4 +- database/factories/WarningFactory.php | 4 +- database/factories/WishFactory.php | 3 +- phpunit.xml | 61 +- .../Staff/CommandControllerTest.php | 14 - 129 files changed, 6113 insertions(+), 6223 deletions(-) delete mode 100644 app/Models/Upload.php delete mode 100644 database/factories/UploadFactory.php diff --git a/app/Achievements/UserFilled100Requests.php b/app/Achievements/UserFilled100Requests.php index 7917851e9e..76c6a3def2 100644 --- a/app/Achievements/UserFilled100Requests.php +++ b/app/Achievements/UserFilled100Requests.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserFilled100Requests extends Achievement { diff --git a/app/Achievements/UserFilled25Requests.php b/app/Achievements/UserFilled25Requests.php index 6368f43547..c50f70a51e 100644 --- a/app/Achievements/UserFilled25Requests.php +++ b/app/Achievements/UserFilled25Requests.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserFilled25Requests extends Achievement { diff --git a/app/Achievements/UserFilled50Requests.php b/app/Achievements/UserFilled50Requests.php index f1c4001475..e3e46ed0c1 100644 --- a/app/Achievements/UserFilled50Requests.php +++ b/app/Achievements/UserFilled50Requests.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserFilled50Requests extends Achievement { diff --git a/app/Achievements/UserFilled75Requests.php b/app/Achievements/UserFilled75Requests.php index b143cb38fe..19dc60646c 100644 --- a/app/Achievements/UserFilled75Requests.php +++ b/app/Achievements/UserFilled75Requests.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserFilled75Requests extends Achievement { diff --git a/app/Achievements/UserMade100Comments.php b/app/Achievements/UserMade100Comments.php index 16ad7c31cc..b64814363c 100644 --- a/app/Achievements/UserMade100Comments.php +++ b/app/Achievements/UserMade100Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade100Comments extends Achievement { diff --git a/app/Achievements/UserMade100Posts.php b/app/Achievements/UserMade100Posts.php index 801f728377..6bcfe13eff 100644 --- a/app/Achievements/UserMade100Posts.php +++ b/app/Achievements/UserMade100Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade100Posts extends Achievement { diff --git a/app/Achievements/UserMade100Uploads.php b/app/Achievements/UserMade100Uploads.php index 4d6bb0cc82..4ffdc05b23 100644 --- a/app/Achievements/UserMade100Uploads.php +++ b/app/Achievements/UserMade100Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade100Uploads extends Achievement { diff --git a/app/Achievements/UserMade200Comments.php b/app/Achievements/UserMade200Comments.php index 2eb6b77e21..2692746144 100644 --- a/app/Achievements/UserMade200Comments.php +++ b/app/Achievements/UserMade200Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade200Comments extends Achievement { diff --git a/app/Achievements/UserMade200Posts.php b/app/Achievements/UserMade200Posts.php index d1c70958ad..99169c539b 100644 --- a/app/Achievements/UserMade200Posts.php +++ b/app/Achievements/UserMade200Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade200Posts extends Achievement { diff --git a/app/Achievements/UserMade200Uploads.php b/app/Achievements/UserMade200Uploads.php index 082a999765..2fc64ec001 100644 --- a/app/Achievements/UserMade200Uploads.php +++ b/app/Achievements/UserMade200Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade200Uploads extends Achievement { diff --git a/app/Achievements/UserMade25Posts.php b/app/Achievements/UserMade25Posts.php index b27e777b15..5a08662e11 100644 --- a/app/Achievements/UserMade25Posts.php +++ b/app/Achievements/UserMade25Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade25Posts extends Achievement { diff --git a/app/Achievements/UserMade25Uploads.php b/app/Achievements/UserMade25Uploads.php index 98f889b763..494751e3ff 100644 --- a/app/Achievements/UserMade25Uploads.php +++ b/app/Achievements/UserMade25Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade25Uploads extends Achievement { diff --git a/app/Achievements/UserMade300Comments.php b/app/Achievements/UserMade300Comments.php index c476d87c11..6ed997eb19 100644 --- a/app/Achievements/UserMade300Comments.php +++ b/app/Achievements/UserMade300Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade300Comments extends Achievement { diff --git a/app/Achievements/UserMade300Posts.php b/app/Achievements/UserMade300Posts.php index 7dd280a447..41cca2d161 100644 --- a/app/Achievements/UserMade300Posts.php +++ b/app/Achievements/UserMade300Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade300Posts extends Achievement { diff --git a/app/Achievements/UserMade300Uploads.php b/app/Achievements/UserMade300Uploads.php index 9da5709f4e..b30b162b0a 100644 --- a/app/Achievements/UserMade300Uploads.php +++ b/app/Achievements/UserMade300Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade300Uploads extends Achievement { diff --git a/app/Achievements/UserMade400Comments.php b/app/Achievements/UserMade400Comments.php index 8b1f39d27c..b74f386e65 100644 --- a/app/Achievements/UserMade400Comments.php +++ b/app/Achievements/UserMade400Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade400Comments extends Achievement { diff --git a/app/Achievements/UserMade400Posts.php b/app/Achievements/UserMade400Posts.php index e90a040908..6c61ed3dd8 100644 --- a/app/Achievements/UserMade400Posts.php +++ b/app/Achievements/UserMade400Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade400Posts extends Achievement { diff --git a/app/Achievements/UserMade400Uploads.php b/app/Achievements/UserMade400Uploads.php index b9a6d54093..e8ef1aa974 100644 --- a/app/Achievements/UserMade400Uploads.php +++ b/app/Achievements/UserMade400Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade400Uploads extends Achievement { diff --git a/app/Achievements/UserMade500Comments.php b/app/Achievements/UserMade500Comments.php index f69c79a2c7..c28f19a536 100644 --- a/app/Achievements/UserMade500Comments.php +++ b/app/Achievements/UserMade500Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade500Comments extends Achievement { diff --git a/app/Achievements/UserMade500Posts.php b/app/Achievements/UserMade500Posts.php index b0ea455493..317c12c707 100644 --- a/app/Achievements/UserMade500Posts.php +++ b/app/Achievements/UserMade500Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade500Posts extends Achievement { diff --git a/app/Achievements/UserMade500Uploads.php b/app/Achievements/UserMade500Uploads.php index d0773ca0b5..69b95a1d69 100644 --- a/app/Achievements/UserMade500Uploads.php +++ b/app/Achievements/UserMade500Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade500Uploads extends Achievement { diff --git a/app/Achievements/UserMade50Comments.php b/app/Achievements/UserMade50Comments.php index 5b54eaf0dd..6fa4194e83 100644 --- a/app/Achievements/UserMade50Comments.php +++ b/app/Achievements/UserMade50Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade50Comments extends Achievement { diff --git a/app/Achievements/UserMade50Posts.php b/app/Achievements/UserMade50Posts.php index 9622957ada..ac3ed1975f 100644 --- a/app/Achievements/UserMade50Posts.php +++ b/app/Achievements/UserMade50Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade50Posts extends Achievement { diff --git a/app/Achievements/UserMade50Uploads.php b/app/Achievements/UserMade50Uploads.php index ca5db39559..16fd807857 100644 --- a/app/Achievements/UserMade50Uploads.php +++ b/app/Achievements/UserMade50Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade50Uploads extends Achievement { diff --git a/app/Achievements/UserMade600Comments.php b/app/Achievements/UserMade600Comments.php index 4fd7ec52a4..67c600c7a7 100644 --- a/app/Achievements/UserMade600Comments.php +++ b/app/Achievements/UserMade600Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade600Comments extends Achievement { diff --git a/app/Achievements/UserMade600Posts.php b/app/Achievements/UserMade600Posts.php index e578c6383f..0826e1c6ec 100644 --- a/app/Achievements/UserMade600Posts.php +++ b/app/Achievements/UserMade600Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade600Posts extends Achievement { diff --git a/app/Achievements/UserMade600Uploads.php b/app/Achievements/UserMade600Uploads.php index 702b28f836..ccb231799b 100644 --- a/app/Achievements/UserMade600Uploads.php +++ b/app/Achievements/UserMade600Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade600Uploads extends Achievement { diff --git a/app/Achievements/UserMade700Comments.php b/app/Achievements/UserMade700Comments.php index 30535f23d3..1af7dde2a5 100644 --- a/app/Achievements/UserMade700Comments.php +++ b/app/Achievements/UserMade700Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade700Comments extends Achievement { diff --git a/app/Achievements/UserMade700Posts.php b/app/Achievements/UserMade700Posts.php index eadb2ce699..bf5d2661aa 100644 --- a/app/Achievements/UserMade700Posts.php +++ b/app/Achievements/UserMade700Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade700Posts extends Achievement { diff --git a/app/Achievements/UserMade700Uploads.php b/app/Achievements/UserMade700Uploads.php index 4221fd9897..b38bac0151 100644 --- a/app/Achievements/UserMade700Uploads.php +++ b/app/Achievements/UserMade700Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade700Uploads extends Achievement { diff --git a/app/Achievements/UserMade800Comments.php b/app/Achievements/UserMade800Comments.php index 9ac080bc05..1dde38ae0d 100644 --- a/app/Achievements/UserMade800Comments.php +++ b/app/Achievements/UserMade800Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade800Comments extends Achievement { diff --git a/app/Achievements/UserMade800Posts.php b/app/Achievements/UserMade800Posts.php index ec555ee643..373d18af7b 100644 --- a/app/Achievements/UserMade800Posts.php +++ b/app/Achievements/UserMade800Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade800Posts extends Achievement { diff --git a/app/Achievements/UserMade800Uploads.php b/app/Achievements/UserMade800Uploads.php index 26bb588c29..712eaaac11 100644 --- a/app/Achievements/UserMade800Uploads.php +++ b/app/Achievements/UserMade800Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade800Uploads extends Achievement { diff --git a/app/Achievements/UserMade900Comments.php b/app/Achievements/UserMade900Comments.php index f16bf7d8a5..564ddbe8ac 100644 --- a/app/Achievements/UserMade900Comments.php +++ b/app/Achievements/UserMade900Comments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade900Comments extends Achievement { diff --git a/app/Achievements/UserMade900Posts.php b/app/Achievements/UserMade900Posts.php index 7698c4cc6d..8a8756f02e 100644 --- a/app/Achievements/UserMade900Posts.php +++ b/app/Achievements/UserMade900Posts.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade900Posts extends Achievement { diff --git a/app/Achievements/UserMade900Uploads.php b/app/Achievements/UserMade900Uploads.php index 110aaa51fa..70ef62ea0e 100644 --- a/app/Achievements/UserMade900Uploads.php +++ b/app/Achievements/UserMade900Uploads.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMade900Uploads extends Achievement { diff --git a/app/Achievements/UserMadeComment.php b/app/Achievements/UserMadeComment.php index f7b7fe364f..2a26aa1977 100644 --- a/app/Achievements/UserMadeComment.php +++ b/app/Achievements/UserMadeComment.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMadeComment extends Achievement { diff --git a/app/Achievements/UserMadeFirstPost.php b/app/Achievements/UserMadeFirstPost.php index 3f31634240..b65eebf549 100644 --- a/app/Achievements/UserMadeFirstPost.php +++ b/app/Achievements/UserMadeFirstPost.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMadeFirstPost extends Achievement { diff --git a/app/Achievements/UserMadeTenComments.php b/app/Achievements/UserMadeTenComments.php index 70307ed87c..a8ba1327aa 100644 --- a/app/Achievements/UserMadeTenComments.php +++ b/app/Achievements/UserMadeTenComments.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMadeTenComments extends Achievement { diff --git a/app/Achievements/UserMadeUpload.php b/app/Achievements/UserMadeUpload.php index 39f7df6d5a..505b5c7981 100644 --- a/app/Achievements/UserMadeUpload.php +++ b/app/Achievements/UserMadeUpload.php @@ -13,7 +13,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserMadeUpload extends Achievement { diff --git a/app/Achievements/UserUploaded1000Subtitles.php b/app/Achievements/UserUploaded1000Subtitles.php index 5501d20766..cf94f991df 100644 --- a/app/Achievements/UserUploaded1000Subtitles.php +++ b/app/Achievements/UserUploaded1000Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded1000Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded100Subtitles.php b/app/Achievements/UserUploaded100Subtitles.php index 5a122c6fd5..eec3860ebd 100644 --- a/app/Achievements/UserUploaded100Subtitles.php +++ b/app/Achievements/UserUploaded100Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded100Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded200Subtitles.php b/app/Achievements/UserUploaded200Subtitles.php index c4753ebc54..e9eb86cb8c 100644 --- a/app/Achievements/UserUploaded200Subtitles.php +++ b/app/Achievements/UserUploaded200Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded200Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded25Subtitles.php b/app/Achievements/UserUploaded25Subtitles.php index 02b53dbda1..2b1004796b 100644 --- a/app/Achievements/UserUploaded25Subtitles.php +++ b/app/Achievements/UserUploaded25Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded25Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded300Subtitles.php b/app/Achievements/UserUploaded300Subtitles.php index 61546adbc6..4c5e55d8fe 100644 --- a/app/Achievements/UserUploaded300Subtitles.php +++ b/app/Achievements/UserUploaded300Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded300Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded400Subtitles.php b/app/Achievements/UserUploaded400Subtitles.php index 967685bc02..7cac77e1bb 100644 --- a/app/Achievements/UserUploaded400Subtitles.php +++ b/app/Achievements/UserUploaded400Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded400Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded500Subtitles.php b/app/Achievements/UserUploaded500Subtitles.php index d3544a4f3e..9694694241 100644 --- a/app/Achievements/UserUploaded500Subtitles.php +++ b/app/Achievements/UserUploaded500Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded500Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded50Subtitles.php b/app/Achievements/UserUploaded50Subtitles.php index 6856c53466..2a2698b391 100644 --- a/app/Achievements/UserUploaded50Subtitles.php +++ b/app/Achievements/UserUploaded50Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded50Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded600Subtitles.php b/app/Achievements/UserUploaded600Subtitles.php index b713b9f616..4cc8f1e43b 100644 --- a/app/Achievements/UserUploaded600Subtitles.php +++ b/app/Achievements/UserUploaded600Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded600Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded700Subtitles.php b/app/Achievements/UserUploaded700Subtitles.php index 432795f628..08fc1f7952 100644 --- a/app/Achievements/UserUploaded700Subtitles.php +++ b/app/Achievements/UserUploaded700Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded700Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded800Subtitles.php b/app/Achievements/UserUploaded800Subtitles.php index 6b106116cb..bb39a9eaa1 100644 --- a/app/Achievements/UserUploaded800Subtitles.php +++ b/app/Achievements/UserUploaded800Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded800Subtitles extends Achievement { diff --git a/app/Achievements/UserUploaded900Subtitles.php b/app/Achievements/UserUploaded900Subtitles.php index 5425d7c858..d7ebb9b7d7 100644 --- a/app/Achievements/UserUploaded900Subtitles.php +++ b/app/Achievements/UserUploaded900Subtitles.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploaded900Subtitles extends Achievement { diff --git a/app/Achievements/UserUploadedFirstSubtitle.php b/app/Achievements/UserUploadedFirstSubtitle.php index 2c11b3daa8..29cfef5831 100644 --- a/app/Achievements/UserUploadedFirstSubtitle.php +++ b/app/Achievements/UserUploadedFirstSubtitle.php @@ -2,7 +2,7 @@ namespace App\Achievements; -use Gstt\Achievements\Achievement; +use Assada\Achievements\Achievement; class UserUploadedFirstSubtitle extends Achievement { diff --git a/app/Listeners/AchievementUnlocked.php b/app/Listeners/AchievementUnlocked.php index c2d53952bb..9f40cae9c9 100644 --- a/app/Listeners/AchievementUnlocked.php +++ b/app/Listeners/AchievementUnlocked.php @@ -15,7 +15,7 @@ use App\Models\User; use App\Repositories\ChatRepository; -use Gstt\Achievements\Event\Unlocked; +use Assada\Achievements\Event\Unlocked; use Illuminate\Support\Facades\Session; class AchievementUnlocked @@ -30,7 +30,7 @@ public function __construct(ChatRepository $chatRepository) /** * Handle the event. * - * @param \Gstt\Achievements\Event\Unlocked $unlocked + * @param \Assada\Achievements\Event\Unlocked $unlocked * * @return void */ diff --git a/app/Models/Upload.php b/app/Models/Upload.php deleted file mode 100644 index 40ef603268..0000000000 --- a/app/Models/Upload.php +++ /dev/null @@ -1,3 +0,0 @@ - use HasFactory; - -use Illuminate\Database\Eloquent\Factories\HasFactory; diff --git a/app/Models/User.php b/app/Models/User.php index 71f4069277..c254c3d165 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -18,7 +18,7 @@ use App\Helpers\StringHelper; use App\Traits\UsersOnlineTrait; use Carbon\Carbon; -use Gstt\Achievements\Achiever; +use Assada\Achievements\Achiever; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Foundation\Auth\User as Authenticatable; diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 249d71b442..a458ddd4de 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -33,7 +33,7 @@ class EventServiceProvider extends ServiceProvider 'Illuminate\Auth\Events\Failed' => [ \App\Listeners\FailedLoginListener::class, ], - 'Gstt\Achievements\Event\Unlocked' => [ + 'Assada\Achievements\Event\Unlocked' => [ \App\Listeners\AchievementUnlocked::class, ], 'Spatie\Backup\Events\BackupZipWasCreated' => [ diff --git a/composer.json b/composer.json index 74906368f2..327d68eba6 100644 --- a/composer.json +++ b/composer.json @@ -11,18 +11,17 @@ "php": ">=7.4", "ext-zip": "*", "appstract/laravel-opcache": "^3.0", - "arcanedev/log-viewer": "^7.0", + "arcanedev/log-viewer": "^8.0", + "assada/laravel-achievements": "^2.3", "bandwidth-throttle/token-bucket": "^2.0", "bepsvpt/secure-headers": "^6.0", "christofferok/laravel-emojione": "^4.0", "doctrine/dbal": "^2.10", - "darkghosthunter/laraload": "^2.1", "elhebert/laravel-sri": "^2.1", "emojione/assets": "^4.5", "fideloper/proxy": "^4.2", "fruitcake/laravel-cors": "^2.0", "gabrielelana/byte-units": "^0.5.0", - "gstt/laravel-achievements": "^1.0", "guzzlehttp/guzzle": "^7.0.1", "hootlex/laravel-moderation": "^1.0", "intervention/image": "^2.5", @@ -35,7 +34,6 @@ "mews/purifier": "^3.2", "nelexa/zip": "^3.1", "paragonie/constant_time_encoding": "^2.0", - "phpro/grumphp": "^0.19.1", "predis/predis": "^1.1", "spatie/laravel-backup": "^6.11", "spatie/laravel-cookie-consent": "^2.12", @@ -50,12 +48,11 @@ "fzaninotto/faker": "^1.9.1", "jasonmccreary/laravel-test-assertions": "^1.0", "mockery/mockery": "^1.3.1", - "mpociot/laravel-test-factory-helper": "^2.1", "nunomaduro/collision": "^5.0", - "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^9.3", "rector/rector-prefixed": "^0.7.54", - "symplify/changelog-linker": "^8.1" + "symplify/changelog-linker": "^8.1", + "phpro/grumphp": "^0.19.1" }, "config": { "preferred-install": "dist", diff --git a/composer.lock b/composer.lock index cbdd219f15..0184307b0a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,48 +4,46 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b0acacb06ebed517edc1bc504b4d2a27", + "content-hash": "0705e97707c80706652cb90b1879571f", "packages": [ { - "name": "amphp/amp", - "version": "v2.5.0", + "name": "appstract/laravel-opcache", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/amphp/amp.git", - "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc" + "url": "https://github.com/appstract/laravel-opcache.git", + "reference": "0807d573459ff8b5d209d35e7ebe459f64bfd6f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/f220a51458bf4dd0dedebb171ac3457813c72bbc", - "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc", + "url": "https://api.github.com/repos/appstract/laravel-opcache/zipball/0807d573459ff8b5d209d35e7ebe459f64bfd6f3", + "reference": "0807d573459ff8b5d209d35e7ebe459f64bfd6f3", "shasum": "" }, "require": { - "php": ">=7" + "appstract/lush-http": "^0.5", + "illuminate/console": ">=5.8", + "illuminate/filesystem": ">=5.8", + "illuminate/routing": ">=5.8", + "illuminate/support": ">=5.8", + "php": "^7.1.3" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6.0.9 | ^7", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" + "orchestra/testbench": "^3.8", + "phpunit/phpunit": "^7.5" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" + "laravel": { + "providers": [ + "Appstract\\Opcache\\OpcacheServiceProvider" + ] } }, "autoload": { "psr-4": { - "Amp\\": "lib" - }, - "files": [ - "lib/functions.php", - "lib/Internal/functions.php" - ] + "Appstract\\Opcache\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -53,87 +51,59 @@ ], "authors": [ { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Olav van Schie", + "email": "hello@appstract.team", + "homepage": "https://appstract.team", + "role": "Developer" } ], - "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "http://amphp.org/amp", + "description": "OPcache helper for Laravel.", + "homepage": "https://github.com/appstract/laravel-opcache", "keywords": [ - "async", - "asynchronous", - "awaitable", - "concurrency", - "event", - "event-loop", - "future", - "non-blocking", - "promise" + "Opcache", + "appstract", + "laravel", + "php" ], "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/master" + "issues": "https://github.com/appstract/laravel-opcache/issues", + "source": "https://github.com/appstract/laravel-opcache/tree/master" }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2020-07-14T21:47:18+00:00" + "time": "2019-12-31T20:06:57+00:00" }, { - "name": "amphp/byte-stream", - "version": "v1.8.0", + "name": "appstract/lush-http", + "version": "0.5.5", "source": { "type": "git", - "url": "https://github.com/amphp/byte-stream.git", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088" + "url": "https://github.com/appstract/lush-http.git", + "reference": "5e363176ba54751b58bcbcd821bae1912cc8fe7c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "url": "https://api.github.com/repos/appstract/lush-http/zipball/5e363176ba54751b58bcbcd821bae1912cc8fe7c", + "reference": "5e363176ba54751b58bcbcd821bae1912cc8fe7c", "shasum": "" }, "require": { - "amphp/amp": "^2", - "php": ">=7.1" + "illuminate/support": ">=5.4", + "php": ">=5.6" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.x-dev" + "laravel": { + "aliases": { + "Lush": "Appstract\\LushHttp\\LushFacade" + } } }, "autoload": { "psr-4": { - "Amp\\ByteStream\\": "lib" - }, - "files": [ - "lib/functions.php" - ] + "Appstract\\LushHttp\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -141,68 +111,72 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Olav van Schie", + "email": "hello@appstract.team", + "homepage": "https://appstract.team", + "role": "Developer" } ], - "description": "A stream abstraction to make working with non-blocking I/O simple.", - "homepage": "http://amphp.org/byte-stream", + "description": "Smart Http Client for PHP.", + "homepage": "https://github.com/appstract/lush-http", "keywords": [ - "amp", - "amphp", - "async", - "io", - "non-blocking", - "stream" + "appstract", + "client", + "curl", + "http", + "lush", + "lush-http", + "php" ], "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/master" + "issues": "https://github.com/appstract/lush-http/issues", + "source": "https://github.com/appstract/lush-http/tree/0.5.5" }, - "time": "2020-06-29T18:35:05+00:00" + "abandoned": true, + "time": "2019-05-28T15:08:43+00:00" }, { - "name": "amphp/parallel", - "version": "v1.4.0", + "name": "arcanedev/log-viewer", + "version": "8.0.1", "source": { "type": "git", - "url": "https://github.com/amphp/parallel.git", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" + "url": "https://github.com/ARCANEDEV/LogViewer.git", + "reference": "a65d3faf1830f45cd987ed0682278cbd4aa7077e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/a65d3faf1830f45cd987ed0682278cbd4aa7077e", + "reference": "a65d3faf1830f45cd987ed0682278cbd4aa7077e", "shasum": "" }, "require": { - "amphp/amp": "^2", - "amphp/byte-stream": "^1.6.1", - "amphp/parser": "^1", - "amphp/process": "^1", - "amphp/serialization": "^1", - "amphp/sync": "^1.0.1", - "php": ">=7.1" + "arcanedev/support": "^8.0", + "ext-json": "*", + "php": "^7.3", + "psr/log": "^1.1" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.1", - "phpunit/phpunit": "^8 || ^7" + "orchestra/testbench": "^6.0", + "phpunit/phpunit": "^9.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-develop": "8.x-dev" + }, + "laravel": { + "providers": [ + "Arcanedev\\LogViewer\\LogViewerServiceProvider", + "Arcanedev\\LogViewer\\Providers\\DeferredServicesProvider" + ] + } + }, "autoload": { "psr-4": { - "Amp\\Parallel\\": "lib" + "Arcanedev\\LogViewer\\": "src/" }, "files": [ - "lib/Context/functions.php", - "lib/Sync/functions.php", - "lib/Worker/functions.php" + "helpers.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -211,61 +185,61 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Stephen Coakley", - "email": "me@stephencoakley.com" + "name": "ARCANEDEV", + "email": "arcanedev.maroc@gmail.com", + "homepage": "https://github.com/arcanedev-maroc", + "role": "Developer" } ], - "description": "Parallel processing component for Amp.", - "homepage": "https://github.com/amphp/parallel", + "description": "Provides a Log Viewer for Laravel", + "homepage": "https://github.com/ARCANEDEV/LogViewer", "keywords": [ - "async", - "asynchronous", - "concurrent", - "multi-processing", - "multi-threading" + "arcanedev", + "arcanesoft", + "laravel", + "log", + "log viewer", + "log-viewer", + "logviewer" ], - "support": { - "issues": "https://github.com/amphp/parallel/issues", - "source": "https://github.com/amphp/parallel/tree/master" - }, - "time": "2020-04-27T15:12:37+00:00" + "time": "2020-09-09T09:43:59+00:00" }, { - "name": "amphp/parallel-functions", - "version": "v0.1.3", + "name": "arcanedev/support", + "version": "8.0.1", "source": { "type": "git", - "url": "https://github.com/amphp/parallel-functions.git", - "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4" + "url": "https://github.com/ARCANEDEV/Support.git", + "reference": "96280ceaa1918bddfc25ffb6f58d9b96ef44ae5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", - "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", + "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/96280ceaa1918bddfc25ffb6f58d9b96ef44ae5d", + "reference": "96280ceaa1918bddfc25ffb6f58d9b96ef44ae5d", "shasum": "" }, "require": { - "amphp/amp": "^2.0.3", - "amphp/parallel": "^0.1.8 || ^0.2 || ^1", - "opis/closure": "^3.0.7", - "php": ">=7" + "illuminate/contracts": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3" }, "require-dev": { - "amphp/phpunit-util": "^1.0", - "friendsofphp/php-cs-fixer": "^2.9", - "phpunit/phpunit": "^6.5" + "laravel/framework": "^8.0", + "orchestra/testbench": "^6.0", + "phpunit/phpunit": "^9.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-develop": "8.x-dev" + } + }, "autoload": { "psr-4": { - "Amp\\ParallelFunctions\\": "src" + "Arcanedev\\Support\\": "src/" }, "files": [ - "src/functions.php" + "helpers.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -274,42 +248,53 @@ ], "authors": [ { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "ARCANEDEV", + "email": "arcanedev.maroc@gmail.com", + "homepage": "https://github.com/arcanedev-maroc" } ], - "description": "Parallel processing made simple.", - "support": { - "issues": "https://github.com/amphp/parallel-functions/issues", - "source": "https://github.com/amphp/parallel-functions/tree/master" - }, - "time": "2018-10-28T15:29:02+00:00" + "description": "ARCANEDEV Support Helpers", + "homepage": "https://github.com/ARCANEDEV/Support", + "keywords": [ + "arcanedev", + "arcanesoft", + "laravel", + "support" + ], + "time": "2020-09-09T12:09:28+00:00" }, { - "name": "amphp/parser", - "version": "v1.0.0", + "name": "asm89/stack-cors", + "version": "v2.0.1", "source": { "type": "git", - "url": "https://github.com/amphp/parser.git", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1" + "url": "https://github.com/asm89/stack-cors.git", + "reference": "23f469e81c65e2fb7fc7bce371fbdc363fe32adf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parser/zipball/f83e68f03d5b8e8e0365b8792985a7f341c57ae1", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "url": "https://api.github.com/repos/asm89/stack-cors/zipball/23f469e81c65e2fb7fc7bce371fbdc363fe32adf", + "reference": "23f469e81c65e2fb7fc7bce371fbdc363fe32adf", "shasum": "" }, "require": { - "php": ">=7" + "php": "^7.0", + "symfony/http-foundation": "~2.7|~3.0|~4.0|~5.0", + "symfony/http-kernel": "~2.7|~3.0|~4.0|~5.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.3", - "phpunit/phpunit": "^6" + "phpunit/phpunit": "^6|^7|^8|^9", + "squizlabs/php_codesniffer": "^3.5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, "autoload": { "psr-4": { - "Amp\\Parser\\": "lib" + "Asm89\\Stack\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -318,60 +303,55 @@ ], "authors": [ { - "name": "Niklas Keller", - "email": "me@kelunik.com" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Alexander", + "email": "iam.asm89@gmail.com" } ], - "description": "A generator parser to make streaming parsers simple.", - "homepage": "https://github.com/amphp/parser", + "description": "Cross-origin resource sharing library and stack middleware", + "homepage": "https://github.com/asm89/stack-cors", "keywords": [ - "async", - "non-blocking", - "parser", - "stream" + "cors", + "stack" ], - "support": { - "issues": "https://github.com/amphp/parser/issues", - "source": "https://github.com/amphp/parser/tree/is-valid" - }, - "time": "2017-06-06T05:29:10+00:00" + "time": "2020-05-31T07:17:05+00:00" }, { - "name": "amphp/process", - "version": "v1.1.0", + "name": "assada/laravel-achievements", + "version": "v2.3.3", "source": { "type": "git", - "url": "https://github.com/amphp/process.git", - "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e" + "url": "https://github.com/assada/laravel-achievements.git", + "reference": "e3bd23e744ea694f42d95f1f9a28af562a6f41e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/process/zipball/355b1e561b01c16ab3d78fada1ad47ccc96df70e", - "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e", + "url": "https://api.github.com/repos/assada/laravel-achievements/zipball/e3bd23e744ea694f42d95f1f9a28af562a6f41e6", + "reference": "e3bd23e744ea694f42d95f1f9a28af562a6f41e6", "shasum": "" }, "require": { - "amphp/amp": "^2", - "amphp/byte-stream": "^1.4", - "php": ">=7" + "ramsey/uuid": "^3 || ^4" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "phpunit/phpunit": "^6" + "laravel/laravel": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^8" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Assada\\Achievements\\AchievementsServiceProvider" + ] + } + }, "autoload": { + "classmap": [ + "src/Migrations" + ], "psr-4": { - "Amp\\Process\\": "lib" - }, - "files": [ - "lib/functions.php" - ] + "Assada\\Achievements\\": "src/", + "Assada\\Tests\\": "tests/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -379,116 +359,115 @@ ], "authors": [ { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Gabriel Simonetti", + "email": "simonettigo@gmail.com" }, { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Alex Ilyenko", + "email": "assada.ua@gmail.com" } ], - "description": "Asynchronous process manager.", - "homepage": "https://github.com/amphp/process", - "support": { - "issues": "https://github.com/amphp/process/issues", - "source": "https://github.com/amphp/process/tree/master" - }, - "time": "2019-02-26T16:33:03+00:00" + "description": "Achievements for Laravel 6+", + "time": "2020-08-19T12:48:11+00:00" }, { - "name": "amphp/serialization", - "version": "v1.0.0", + "name": "bandwidth-throttle/token-bucket", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/amphp/serialization.git", - "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" + "url": "https://github.com/bandwidth-throttle/token-bucket.git", + "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", - "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", + "url": "https://api.github.com/repos/bandwidth-throttle/token-bucket/zipball/a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08", + "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08", "shasum": "" }, "require": { - "php": ">=7.1" + "ext-bcmath": "*", + "malkusch/lock": "^1", + "php": ">=5.6" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "phpunit/phpunit": "^9 || ^8 || ^7" + "ext-redis": "^2.2.4|^3", + "mikey179/vfsstream": "^1.5.0", + "php-mock/php-mock-phpunit": "^1", + "phpunit/phpunit": "^5", + "predis/predis": "^1" }, "type": "library", "autoload": { "psr-4": { - "Amp\\Serialization\\": "src" - }, - "files": [ - "src/functions.php" - ] + "bandwidthThrottle\\tokenBucket\\": "classes/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "WTFPL" ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Markus Malkusch", + "email": "markus@malkusch.de", + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], - "description": "Serialization tools for IPC and data storage in PHP.", - "homepage": "https://github.com/amphp/serialization", + "description": "Implementation of the Token Bucket algorithm.", + "homepage": "https://github.com/bandwidth-throttle/token-bucket", "keywords": [ - "async", - "asynchronous", - "serialization", - "serialize" + "bandwidth", + "rate limit", + "rate limiting", + "throttle", + "throttling", + "token bucket" ], "support": { - "issues": "https://github.com/amphp/serialization/issues", - "source": "https://github.com/amphp/serialization/tree/master" + "issues": "https://github.com/bandwidth-throttle/token-bucket/issues", + "source": "https://github.com/bandwidth-throttle/token-bucket/tree/master" }, - "time": "2020-03-25T21:39:07+00:00" + "time": "2017-10-13T19:09:01+00:00" }, { - "name": "amphp/sync", - "version": "v1.4.0", + "name": "bepsvpt/secure-headers", + "version": "6.3.0", "source": { "type": "git", - "url": "https://github.com/amphp/sync.git", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4" + "url": "https://github.com/bepsvpt/secure-headers.git", + "reference": "be5948516c10dab75a863a98dabcc3cb151711aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/sync/zipball/613047ac54c025aa800a9cde5b05c3add7327ed4", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4", + "url": "https://api.github.com/repos/bepsvpt/secure-headers/zipball/be5948516c10dab75a863a98dabcc3cb151711aa", + "reference": "be5948516c10dab75a863a98dabcc3cb151711aa", "shasum": "" }, "require": { - "amphp/amp": "^2.2", - "php": ">=7.1" + "illuminate/support": "~5.1|~6.0|~7.0|~8.0", + "php": "^7.0|^8.0" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.1", - "phpunit/phpunit": "^9 || ^8 || ^7" + "ext-json": "*", + "ext-xdebug": "*", + "friendsofphp/php-cs-fixer": "~2.2", + "orchestra/testbench": "~3.1|~4.0|~5.0|~6.0", + "phpstan/phpstan": "~0.7", + "phpunit/phpunit": "~5.7|~6.5|~7.5|~8.4|~9.0" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Bepsvpt\\SecureHeaders\\SecureHeadersServiceProvider" + ] + } + }, "autoload": { "psr-4": { - "Amp\\Sync\\": "src" - }, - "files": [ - "src/functions.php", - "src/ConcurrentIterator/functions.php" - ] + "Bepsvpt\\SecureHeaders\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -496,126 +475,128 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Stephen Coakley", - "email": "me@stephencoakley.com" + "name": "bepsvpt", + "email": "og7lsrszah6y3lz@infinitefa.email" } ], - "description": "Mutex, Semaphore, and other synchronization tools for Amp.", - "homepage": "https://github.com/amphp/sync", + "description": "Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.", + "homepage": "https://github.com/bepsvpt/secure-headers", "keywords": [ - "async", - "asynchronous", - "mutex", - "semaphore", - "synchronization" + "clear-site-data", + "content-security-policy", + "csp", + "except-ct", + "feature-policy", + "header", + "hsts", + "https", + "laravel", + "referrer-policy" ], "support": { - "issues": "https://github.com/amphp/sync/issues", - "source": "https://github.com/amphp/sync/tree/v1.4.0" + "issues": "https://github.com/bepsvpt/secure-headers/issues", + "source": "https://github.com/bepsvpt/secure-headers/tree/6.3.0" }, - "time": "2020-05-07T18:57:50+00:00" + "funding": [ + { + "url": "https://opencollective.com/secure-headers", + "type": "open_collective" + } + ], + "time": "2020-09-07T10:43:49+00:00" }, { - "name": "appstract/laravel-opcache", - "version": "3.2.1", + "name": "brick/math", + "version": "0.9.1", "source": { "type": "git", - "url": "https://github.com/appstract/laravel-opcache.git", - "reference": "0807d573459ff8b5d209d35e7ebe459f64bfd6f3" + "url": "https://github.com/brick/math.git", + "reference": "283a40c901101e66de7061bd359252c013dcc43c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appstract/laravel-opcache/zipball/0807d573459ff8b5d209d35e7ebe459f64bfd6f3", - "reference": "0807d573459ff8b5d209d35e7ebe459f64bfd6f3", + "url": "https://api.github.com/repos/brick/math/zipball/283a40c901101e66de7061bd359252c013dcc43c", + "reference": "283a40c901101e66de7061bd359252c013dcc43c", "shasum": "" }, "require": { - "appstract/lush-http": "^0.5", - "illuminate/console": ">=5.8", - "illuminate/filesystem": ">=5.8", - "illuminate/routing": ">=5.8", - "illuminate/support": ">=5.8", - "php": "^7.1.3" + "ext-json": "*", + "php": "^7.1|^8.0" }, "require-dev": { - "orchestra/testbench": "^3.8", - "phpunit/phpunit": "^7.5" + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^7.5.15|^8.5", + "vimeo/psalm": "^3.5" }, "type": "library", - "extra": { - "laravel": { - "providers": [ - "Appstract\\Opcache\\OpcacheServiceProvider" - ] - } - }, "autoload": { "psr-4": { - "Appstract\\Opcache\\": "src" + "Brick\\Math\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "brick", + "math" + ], + "funding": [ { - "name": "Olav van Schie", - "email": "hello@appstract.team", - "homepage": "https://appstract.team", - "role": "Developer" + "url": "https://tidelift.com/funding/github/packagist/brick/math", + "type": "tidelift" } ], - "description": "OPcache helper for Laravel.", - "homepage": "https://github.com/appstract/laravel-opcache", - "keywords": [ - "Opcache", - "appstract", - "laravel", - "php" - ], - "support": { - "issues": "https://github.com/appstract/laravel-opcache/issues", - "source": "https://github.com/appstract/laravel-opcache/tree/master" - }, - "time": "2019-12-31T20:06:57+00:00" + "time": "2020-08-18T23:57:15+00:00" }, { - "name": "appstract/lush-http", - "version": "0.5.5", + "name": "christofferok/laravel-emojione", + "version": "4.0.4", "source": { "type": "git", - "url": "https://github.com/appstract/lush-http.git", - "reference": "5e363176ba54751b58bcbcd821bae1912cc8fe7c" + "url": "https://github.com/christofferok/laravel-emojione.git", + "reference": "76079be0363ab06cd8ae0dbf5a04131db11043e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appstract/lush-http/zipball/5e363176ba54751b58bcbcd821bae1912cc8fe7c", - "reference": "5e363176ba54751b58bcbcd821bae1912cc8fe7c", + "url": "https://api.github.com/repos/christofferok/laravel-emojione/zipball/76079be0363ab06cd8ae0dbf5a04131db11043e5", + "reference": "76079be0363ab06cd8ae0dbf5a04131db11043e5", "shasum": "" }, "require": { - "illuminate/support": ">=5.4", - "php": ">=5.6" + "emojione/emojione": "^4.0.0", + "illuminate/support": "~5.1|~6.0|~7.0|~8.0", + "php": "~5.6|~7.0" }, "require-dev": { - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "~4.0||~5.0", + "squizlabs/php_codesniffer": "^2.3" + }, + "suggest": { + "emojione/assets": "If you want to serve the emojione assets yourself" }, "type": "library", "extra": { "laravel": { + "providers": [ + "ChristofferOK\\LaravelEmojiOne\\LaravelEmojiOneServiceProvider" + ], "aliases": { - "Lush": "Appstract\\LushHttp\\LushFacade" + "LaravelEmojiOne": "ChristofferOK\\LaravelEmojiOne\\LaravelEmojiOneFacade" } } }, "autoload": { "psr-4": { - "Appstract\\LushHttp\\": "src" + "ChristofferOK\\LaravelEmojiOne\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -624,136 +605,104 @@ ], "authors": [ { - "name": "Olav van Schie", - "email": "hello@appstract.team", - "homepage": "https://appstract.team", + "name": ":Christoffer Korvald", + "email": "korvald@gmail.com", + "homepage": "https://christofferok.com", "role": "Developer" } ], - "description": "Smart Http Client for PHP.", - "homepage": "https://github.com/appstract/lush-http", + "description": "Laravel helper for EmojiOne", + "homepage": "https://github.com/christofferok/LaravelEmojiOne", "keywords": [ - "appstract", - "client", - "curl", - "http", - "lush", - "lush-http", - "php" + "ChristofferOK", + "LaravelEmojiOne", + "emoji", + "emojione", + "laravel" ], "support": { - "issues": "https://github.com/appstract/lush-http/issues", - "source": "https://github.com/appstract/lush-http/tree/0.5.5" + "issues": "https://github.com/christofferok/laravel-emojione/issues", + "source": "https://github.com/christofferok/laravel-emojione/tree/4.0.4" }, - "abandoned": true, - "time": "2019-05-28T15:08:43+00:00" + "time": "2020-09-17T07:13:42+00:00" }, { - "name": "arcanedev/log-viewer", - "version": "7.1.0", + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", "source": { "type": "git", - "url": "https://github.com/ARCANEDEV/LogViewer.git", - "reference": "46643ff4865e6aa9bfe97d10c962a2661480191d" + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/46643ff4865e6aa9bfe97d10c962a2661480191d", - "reference": "46643ff4865e6aa9bfe97d10c962a2661480191d", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", "shasum": "" }, "require": { - "arcanedev/support": "^7.0", - "ext-json": "*", - "php": "^7.2.5", - "psr/log": "^1.0" + "php": ">=5.3.2" }, "require-dev": { - "orchestra/testbench": "^5.0", - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" }, "type": "library", - "extra": { - "laravel": { - "providers": [ - "Arcanedev\\LogViewer\\LogViewerServiceProvider", - "Arcanedev\\LogViewer\\Providers\\DeferredServicesProvider" - ] - } - }, "autoload": { "psr-4": { - "Arcanedev\\LogViewer\\": "src/" - }, - "files": [ - "helpers.php" - ] + "XdgBaseDir\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "ARCANEDEV", - "email": "arcanedev.maroc@gmail.com", - "homepage": "https://github.com/arcanedev-maroc", - "role": "Developer" - } - ], - "description": "Provides a Log Viewer for Laravel", - "homepage": "https://github.com/ARCANEDEV/LogViewer", - "keywords": [ - "arcanedev", - "arcanesoft", - "laravel", - "log", - "log viewer", - "log-viewer", - "logviewer" - ], + "description": "implementation of xdg base directory specification for php", "support": { - "issues": "https://github.com/ARCANEDEV/LogViewer/issues", - "source": "https://github.com/ARCANEDEV/LogViewer/tree/master" + "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", + "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" }, - "time": "2020-07-06T08:31:38+00:00" + "time": "2019-12-04T15:06:13+00:00" }, { - "name": "arcanedev/support", - "version": "7.1.2", + "name": "doctrine/cache", + "version": "1.10.2", "source": { "type": "git", - "url": "https://github.com/ARCANEDEV/Support.git", - "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3" + "url": "https://github.com/doctrine/cache.git", + "reference": "13e3381b25847283a91948d04640543941309727" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/7e4199d30f04c611ba5d895e663f111c217ff5a3", - "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3", + "url": "https://api.github.com/repos/doctrine/cache/zipball/13e3381b25847283a91948d04640543941309727", + "reference": "13e3381b25847283a91948d04640543941309727", "shasum": "" }, "require": { - "illuminate/filesystem": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "php": "~7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": ">2.2,<2.4" }, "require-dev": { - "orchestra/testbench": "^5.0", - "phpunit/phpunit": "^8.0|^9.0" + "alcaeus/mongo-php-adapter": "^1.1", + "doctrine/coding-standard": "^6.0", + "mongodb/mongodb": "^1.1", + "phpunit/phpunit": "^7.0", + "predis/predis": "~1.0" + }, + "suggest": { + "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "1.9.x-dev" } }, "autoload": { "psr-4": { - "Arcanedev\\Support\\": "src/" - }, - "files": [ - "helpers.php" - ] + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -761,57 +710,104 @@ ], "authors": [ { - "name": "ARCANEDEV", - "email": "arcanedev.maroc@gmail.com", - "homepage": "https://github.com/arcanedev-maroc" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "ARCANEDEV Support Helpers", - "homepage": "https://github.com/ARCANEDEV/Support", + "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", + "homepage": "https://www.doctrine-project.org/projects/cache.html", "keywords": [ - "arcanedev", - "arcanesoft", - "laravel", - "support" + "abstraction", + "apcu", + "cache", + "caching", + "couchdb", + "memcached", + "php", + "redis", + "xcache" ], "support": { - "issues": "https://github.com/ARCANEDEV/Support/issues", - "source": "https://github.com/ARCANEDEV/Support/tree/7.1.2" + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/1.10.x" }, - "time": "2020-03-12T09:28:19+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", + "type": "tidelift" + } + ], + "time": "2020-07-07T18:54:01+00:00" }, { - "name": "asm89/stack-cors", - "version": "1.3.0", + "name": "doctrine/dbal", + "version": "2.11.1", "source": { "type": "git", - "url": "https://github.com/asm89/stack-cors.git", - "reference": "b9c31def6a83f84b4d4a40d35996d375755f0e08" + "url": "https://github.com/doctrine/dbal.git", + "reference": "6e6903cd5e3a5be60a79439e3ee8fe126f78fe86" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/asm89/stack-cors/zipball/b9c31def6a83f84b4d4a40d35996d375755f0e08", - "reference": "b9c31def6a83f84b4d4a40d35996d375755f0e08", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/6e6903cd5e3a5be60a79439e3ee8fe126f78fe86", + "reference": "6e6903cd5e3a5be60a79439e3ee8fe126f78fe86", "shasum": "" }, "require": { - "php": ">=5.5.9", - "symfony/http-foundation": "~2.7|~3.0|~4.0|~5.0", - "symfony/http-kernel": "~2.7|~3.0|~4.0|~5.0" + "doctrine/cache": "^1.0", + "doctrine/event-manager": "^1.0", + "ext-pdo": "*", + "php": "^7.3" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^4.8.10", - "squizlabs/php_codesniffer": "^2.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - } - }, - "autoload": { + "doctrine/coding-standard": "^8.1", + "jetbrains/phpstorm-stubs": "^2019.1", + "nikic/php-parser": "^4.4", + "phpstan/phpstan": "^0.12.40", + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.10.0", + "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", + "vimeo/psalm": "^3.14.2" + }, + "suggest": { + "symfony/console": "For helpful console commands such as SQL execution and import of files." + }, + "bin": [ + "bin/doctrine-dbal" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { "psr-4": { - "Asm89\\Stack\\": "src/Asm89/Stack/" + "Doctrine\\DBAL\\": "lib/Doctrine/DBAL" } }, "notification-url": "https://packagist.org/downloads/", @@ -820,119 +816,192 @@ ], "authors": [ { - "name": "Alexander", - "email": "iam.asm89@gmail.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" } ], - "description": "Cross-origin resource sharing library and stack middleware", - "homepage": "https://github.com/asm89/stack-cors", + "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", + "homepage": "https://www.doctrine-project.org/projects/dbal.html", "keywords": [ - "cors", - "stack" + "abstraction", + "database", + "db2", + "dbal", + "mariadb", + "mssql", + "mysql", + "oci8", + "oracle", + "pdo", + "pgsql", + "postgresql", + "queryobject", + "sasql", + "sql", + "sqlanywhere", + "sqlite", + "sqlserver", + "sqlsrv" ], "support": { - "issues": "https://github.com/asm89/stack-cors/issues", - "source": "https://github.com/asm89/stack-cors/tree/1.3.0" + "issues": "https://github.com/doctrine/dbal/issues", + "source": "https://github.com/doctrine/dbal/tree/2.11.1" }, - "time": "2019-12-24T22:41:47+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", + "type": "tidelift" + } + ], + "time": "2020-09-27T04:09:41+00:00" }, { - "name": "bandwidth-throttle/token-bucket", - "version": "2.0.0", + "name": "doctrine/event-manager", + "version": "1.1.1", "source": { "type": "git", - "url": "https://github.com/bandwidth-throttle/token-bucket.git", - "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08" + "url": "https://github.com/doctrine/event-manager.git", + "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bandwidth-throttle/token-bucket/zipball/a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08", - "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/41370af6a30faa9dc0368c4a6814d596e81aba7f", + "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f", "shasum": "" }, "require": { - "ext-bcmath": "*", - "malkusch/lock": "^1", - "php": ">=5.6" + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": "<2.9@dev" }, "require-dev": { - "ext-redis": "^2.2.4|^3", - "mikey179/vfsstream": "^1.5.0", - "php-mock/php-mock-phpunit": "^1", - "phpunit/phpunit": "^5", - "predis/predis": "^1" + "doctrine/coding-standard": "^6.0", + "phpunit/phpunit": "^7.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "bandwidthThrottle\\tokenBucket\\": "classes/" + "Doctrine\\Common\\": "lib/Doctrine/Common" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "WTFPL" + "MIT" ], "authors": [ { - "name": "Markus Malkusch", - "email": "markus@malkusch.de", - "homepage": "http://markus.malkusch.de", - "role": "Developer" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" } ], - "description": "Implementation of the Token Bucket algorithm.", - "homepage": "https://github.com/bandwidth-throttle/token-bucket", + "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/event-manager.html", "keywords": [ - "bandwidth", - "rate limit", - "rate limiting", - "throttle", - "throttling", - "token bucket" + "event", + "event dispatcher", + "event manager", + "event system", + "events" ], "support": { - "issues": "https://github.com/bandwidth-throttle/token-bucket/issues", - "source": "https://github.com/bandwidth-throttle/token-bucket/tree/master" + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/1.1.x" }, - "time": "2017-10-13T19:09:01+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", + "type": "tidelift" + } + ], + "time": "2020-05-29T18:28:51+00:00" }, { - "name": "bepsvpt/secure-headers", - "version": "6.3.0", + "name": "doctrine/inflector", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/bepsvpt/secure-headers.git", - "reference": "be5948516c10dab75a863a98dabcc3cb151711aa" + "url": "https://github.com/doctrine/inflector.git", + "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bepsvpt/secure-headers/zipball/be5948516c10dab75a863a98dabcc3cb151711aa", - "reference": "be5948516c10dab75a863a98dabcc3cb151711aa", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210", + "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210", "shasum": "" }, "require": { - "illuminate/support": "~5.1|~6.0|~7.0|~8.0", - "php": "^7.0|^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "ext-json": "*", - "ext-xdebug": "*", - "friendsofphp/php-cs-fixer": "~2.2", - "orchestra/testbench": "~3.1|~4.0|~5.0|~6.0", - "phpstan/phpstan": "~0.7", - "phpunit/phpunit": "~5.7|~6.5|~7.5|~8.4|~9.0" + "doctrine/coding-standard": "^7.0", + "phpstan/phpstan": "^0.11", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-strict-rules": "^0.11", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Bepsvpt\\SecureHeaders\\SecureHeadersServiceProvider" - ] + "branch-alias": { + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Bepsvpt\\SecureHeaders\\": "src/" + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -941,76 +1010,91 @@ ], "authors": [ { - "name": "bepsvpt", - "email": "og7lsrszah6y3lz@infinitefa.email" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.", - "homepage": "https://github.com/bepsvpt/secure-headers", + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", "keywords": [ - "clear-site-data", - "content-security-policy", - "csp", - "except-ct", - "feature-policy", - "header", - "hsts", - "https", - "laravel", - "referrer-policy" + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" ], "support": { - "issues": "https://github.com/bepsvpt/secure-headers/issues", - "source": "https://github.com/bepsvpt/secure-headers/tree/6.3.0" + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.x" }, "funding": [ { - "url": "https://opencollective.com/secure-headers", - "type": "open_collective" + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" } ], - "time": "2020-09-07T10:43:49+00:00" + "time": "2020-05-29T15:13:26+00:00" }, { - "name": "christofferok/laravel-emojione", - "version": "4.0.4", + "name": "doctrine/lexer", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/christofferok/laravel-emojione.git", - "reference": "76079be0363ab06cd8ae0dbf5a04131db11043e5" + "url": "https://github.com/doctrine/lexer.git", + "reference": "e864bbf5904cb8f5bb334f99209b48018522f042" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/christofferok/laravel-emojione/zipball/76079be0363ab06cd8ae0dbf5a04131db11043e5", - "reference": "76079be0363ab06cd8ae0dbf5a04131db11043e5", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042", + "reference": "e864bbf5904cb8f5bb334f99209b48018522f042", "shasum": "" }, "require": { - "emojione/emojione": "^4.0.0", - "illuminate/support": "~5.1|~6.0|~7.0|~8.0", - "php": "~5.6|~7.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "~4.0||~5.0", - "squizlabs/php_codesniffer": "^2.3" - }, - "suggest": { - "emojione/assets": "If you want to serve the emojione assets yourself" + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan": "^0.11.8", + "phpunit/phpunit": "^8.2" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "ChristofferOK\\LaravelEmojiOne\\LaravelEmojiOneServiceProvider" - ], - "aliases": { - "LaravelEmojiOne": "ChristofferOK\\LaravelEmojiOne\\LaravelEmojiOneFacade" - } + "branch-alias": { + "dev-master": "1.2.x-dev" } }, "autoload": { "psr-4": { - "ChristofferOK\\LaravelEmojiOne\\": "src" + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" } }, "notification-url": "https://packagist.org/downloads/", @@ -1019,66 +1103,75 @@ ], "authors": [ { - "name": ":Christoffer Korvald", - "email": "korvald@gmail.com", - "homepage": "https://christofferok.com", - "role": "Developer" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Laravel helper for EmojiOne", - "homepage": "https://github.com/christofferok/LaravelEmojiOne", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ - "ChristofferOK", - "LaravelEmojiOne", - "emoji", - "emojione", - "laravel" + "annotations", + "docblock", + "lexer", + "parser", + "php" ], "support": { - "issues": "https://github.com/christofferok/laravel-emojione/issues", - "source": "https://github.com/christofferok/laravel-emojione/tree/4.0.4" + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.1" }, - "time": "2020-09-17T07:13:42+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2020-05-25T17:44:05+00:00" }, { - "name": "darkghosthunter/laraload", - "version": "v2.1.0", + "name": "dragonmantank/cron-expression", + "version": "3.0.1", "source": { "type": "git", - "url": "https://github.com/DarkGhostHunter/Laraload.git", - "reference": "322bb35204f83bc717576338be45270029341c1c" + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "fa4e95ff5a7f1d62c3fbc05c32729b7f3ca14b52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/DarkGhostHunter/Laraload/zipball/322bb35204f83bc717576338be45270029341c1c", - "reference": "322bb35204f83bc717576338be45270029341c1c", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/fa4e95ff5a7f1d62c3fbc05c32729b7f3ca14b52", + "reference": "fa4e95ff5a7f1d62c3fbc05c32729b7f3ca14b52", "shasum": "" }, "require": { - "darkghosthunter/preloader": "^2.1.0", - "illuminate/contracts": "^6.0||^7.0", - "illuminate/support": "^6.0||^7.0", - "php": "^7.4.3", - "symfony/finder": "^4.3||^5.0" + "php": "^7.1" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" }, "require-dev": { - "orchestra/canvas": "^4.0||^5.0", - "orchestra/testbench": "^4.1||^5.0" + "phpstan/phpstan": "^0.11", + "phpunit/phpunit": "^6.4|^7.0" }, "type": "library", - "extra": { - "laravel": { - "providers": [ - "DarkGhostHunter\\Laraload\\LaraloadServiceProvider" - ], - "aliases": { - "Laraload": "DarkGhostHunter\\Laraload\\Facades\\Laraload" - } - } - }, "autoload": { "psr-4": { - "DarkGhostHunter\\Laraload\\": "src" + "Cron\\": "src/Cron/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1087,59 +1180,60 @@ ], "authors": [ { - "name": "Italo Israel Baeza Cabrera", - "email": "darkghosthunter@gmail.com", - "role": "Developer" + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" } ], - "description": "Effortlessly make a Preload script for your Laravel application.", - "homepage": "https://github.com/darkghosthunter/laraload", + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", "keywords": [ - "darkghosthunter", - "laraload" + "cron", + "schedule" ], - "support": { - "issues": "https://github.com/DarkGhostHunter/Laraload/issues", - "source": "https://github.com/DarkGhostHunter/Laraload/tree/v2.1.0" - }, "funding": [ { - "url": "https://paypal.me/darkghosthunter", - "type": "custom" - }, - { - "url": "https://ko-fi.com/DarkGhostHunter", - "type": "ko_fi" + "url": "https://github.com/dragonmantank", + "type": "github" } ], - "time": "2020-07-08T03:11:09+00:00" + "time": "2020-08-21T02:30:13+00:00" }, { - "name": "darkghosthunter/preloader", - "version": "v2.1.0", + "name": "egulias/email-validator", + "version": "2.1.22", "source": { "type": "git", - "url": "https://github.com/DarkGhostHunter/Preloader.git", - "reference": "19829a8244b0a0261124dd27b67c7e0c3f0e5b72" + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/DarkGhostHunter/Preloader/zipball/19829a8244b0a0261124dd27b67c7e0c3f0e5b72", - "reference": "19829a8244b0a0261124dd27b67c7e0c3f0e5b72", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", + "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.4", - "symfony/finder": "^4.3||^5.0.5" + "doctrine/lexer": "^1.0.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.10" }, "require-dev": { - "phpunit/phpunit": "^9.0" + "dominicsayers/isemail": "^3.0.7", + "phpunit/phpunit": "^4.8.36|^7.5.15", + "satooshi/php-coveralls": "^1.0.1" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, "autoload": { "psr-4": { - "DarkGhostHunter\\Preloader\\": "src/" + "Egulias\\EmailValidator\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1148,651 +1242,260 @@ ], "authors": [ { - "name": "Italo Israel Baeza Cabrera", - "email": "darkghosthunter@gmail.com", - "role": "Developer" + "name": "Eduardo Gulias Davis" } ], - "description": "Preloader helper to create a PHP-ready preload script from Opcache.", - "homepage": "https://github.com/darkghosthunter/preloader", + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", "keywords": [ - "Opcache", - "darkghosthunter", - "php-7.4", - "preloader" + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" ], "support": { - "issues": "https://github.com/DarkGhostHunter/Preloader/issues", - "source": "https://github.com/DarkGhostHunter/Preloader/tree/stable" + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/2.1.22" }, - "funding": [ - { - "url": "https://paypal.me/darkghosthunter", - "type": "custom" - }, - { - "url": "https://ko-fi.com/DarkGhostHunter", - "type": "ko_fi" - } - ], - "time": "2020-07-07T23:31:04+00:00" + "time": "2020-09-26T15:48:38+00:00" }, { - "name": "dnoegel/php-xdg-base-dir", - "version": "v0.1.1", + "name": "elhebert/laravel-sri", + "version": "2.4.0", "source": { "type": "git", - "url": "https://github.com/dnoegel/php-xdg-base-dir.git", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + "url": "https://github.com/Elhebert/laravel-sri.git", + "reference": "d0ad669a507100e485f488542c7d361938fd17b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "url": "https://api.github.com/repos/Elhebert/laravel-sri/zipball/d0ad669a507100e485f488542c7d361938fd17b3", + "reference": "d0ad669a507100e485f488542c7d361938fd17b3", "shasum": "" }, "require": { - "php": ">=5.3.2" + "illuminate/support": "^6.0 | ^7.0 | ^8.0", + "php": "^7.2.5" }, "require-dev": { - "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" + "orchestra/testbench": "^4.0 | ^5.0 | ^6.0", + "phpunit/phpunit": "^8.0 | ^9.0 | ^9.3" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Elhebert\\SubresourceIntegrity\\SriServiceProvider" + ], + "aliases": { + "Sri": "Elhebert\\SubresourceIntegrity\\SriFacade" + } + } + }, "autoload": { "psr-4": { - "XdgBaseDir\\": "src/" + "Elhebert\\SubresourceIntegrity\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "implementation of xdg base directory specification for php", + "authors": [ + { + "name": "Dieter Stinglhamber", + "email": "elhebert@hotmail.be" + } + ], + "description": "Subresource Integrity hash generator for laravel", + "keywords": [ + "laravel-sri", + "sri", + "subresource integrity" + ], "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + "issues": "https://github.com/Elhebert/laravel-sri/issues", + "source": "https://github.com/Elhebert/laravel-sri/tree/2.4.0" }, - "time": "2019-12-04T15:06:13+00:00" + "time": "2020-09-10T06:38:47+00:00" }, { - "name": "doctrine/cache", - "version": "1.10.2", + "name": "emojione/assets", + "version": "4.5", "source": { "type": "git", - "url": "https://github.com/doctrine/cache.git", - "reference": "13e3381b25847283a91948d04640543941309727" + "url": "https://github.com/emojione/emojione-assets.git", + "reference": "88478c659a64af0176c7b0cd0778f1f9cb8f916f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/13e3381b25847283a91948d04640543941309727", - "reference": "13e3381b25847283a91948d04640543941309727", + "url": "https://api.github.com/repos/emojione/emojione-assets/zipball/88478c659a64af0176c7b0cd0778f1f9cb8f916f", + "reference": "88478c659a64af0176c7b0cd0778f1f9cb8f916f", "shasum": "" }, - "require": { - "php": "~7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": ">2.2,<2.4" - }, - "require-dev": { - "alcaeus/mongo-php-adapter": "^1.1", - "doctrine/coding-standard": "^6.0", - "mongodb/mongodb": "^1.1", - "phpunit/phpunit": "^7.0", - "predis/predis": "~1.0" - }, "suggest": { - "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" + "emojione/emojione": "A set of libraries to make using emoji on your websites easier." }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", - "homepage": "https://www.doctrine-project.org/projects/cache.html", - "keywords": [ - "abstraction", - "apcu", - "cache", - "caching", - "couchdb", - "memcached", - "php", - "redis", - "xcache" - ], - "support": { - "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/1.10.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", - "type": "tidelift" - } - ], - "time": "2020-07-07T18:54:01+00:00" - }, - { - "name": "doctrine/collections", - "version": "1.6.7", - "source": { - "type": "git", - "url": "https://github.com/doctrine/collections.git", - "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/55f8b799269a1a472457bd1a41b4f379d4cfba4a", - "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a", - "shasum": "" - }, - "require": { - "php": "^7.1.3 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan-shim": "^0.9.2", - "phpunit/phpunit": "^7.0", - "vimeo/psalm": "^3.8.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.", - "homepage": "https://www.doctrine-project.org/projects/collections.html", - "keywords": [ - "array", - "collections", - "iterators", - "php" - ], - "support": { - "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.6.7" - }, - "time": "2020-07-27T17:53:49+00:00" - }, - { - "name": "doctrine/dbal", - "version": "2.11.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "6e6903cd5e3a5be60a79439e3ee8fe126f78fe86" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/6e6903cd5e3a5be60a79439e3ee8fe126f78fe86", - "reference": "6e6903cd5e3a5be60a79439e3ee8fe126f78fe86", - "shasum": "" - }, - "require": { - "doctrine/cache": "^1.0", - "doctrine/event-manager": "^1.0", - "ext-pdo": "*", - "php": "^7.3" - }, - "require-dev": { - "doctrine/coding-standard": "^8.1", - "jetbrains/phpstorm-stubs": "^2019.1", - "nikic/php-parser": "^4.4", - "phpstan/phpstan": "^0.12.40", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.10.0", - "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", - "vimeo/psalm": "^3.14.2" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "bin": [ - "bin/doctrine-dbal" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\DBAL\\": "lib/Doctrine/DBAL" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", - "homepage": "https://www.doctrine-project.org/projects/dbal.html", - "keywords": [ - "abstraction", - "database", - "db2", - "dbal", - "mariadb", - "mssql", - "mysql", - "oci8", - "oracle", - "pdo", - "pgsql", - "postgresql", - "queryobject", - "sasql", - "sql", - "sqlanywhere", - "sqlite", - "sqlserver", - "sqlsrv" - ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.11.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2020-09-27T04:09:41+00:00" - }, - { - "name": "doctrine/event-manager", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/event-manager.git", - "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/41370af6a30faa9dc0368c4a6814d596e81aba7f", - "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": "<2.9@dev" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpunit/phpunit": "^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", - "homepage": "https://www.doctrine-project.org/projects/event-manager.html", + "proprietary" + ], + "description": "Emojis in png format brought to you by EmojiOne. EmojiOne is a complete set of emojis designed for the web.", + "homepage": "https://www.emojione.com", "keywords": [ - "event", - "event dispatcher", - "event manager", - "event system", - "events" + "emoji", + "emojione", + "emojis", + "emoticons", + "smileys", + "smilies", + "unicode" ], "support": { - "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.1.x" + "issues": "https://github.com/emojione/emojione-assets/issues", + "source": "https://github.com/emojione/emojione-assets/tree/4.5" }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", - "type": "tidelift" - } - ], - "time": "2020-05-29T18:28:51+00:00" + "abandoned": true, + "time": "2019-01-23T22:10:07+00:00" }, { - "name": "doctrine/inflector", - "version": "2.0.3", + "name": "emojione/emojione", + "version": "4.5.0", "source": { "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210" + "url": "https://github.com/emojione/emojione.git", + "reference": "79e685356877cbb6128074a71b7f88f435b58412" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210", + "url": "https://api.github.com/repos/emojione/emojione/zipball/79e685356877cbb6128074a71b7f88f435b58412", + "reference": "79e685356877cbb6128074a71b7f88f435b58412", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": ">=5.3" }, "require-dev": { - "doctrine/coding-standard": "^7.0", - "phpstan/phpstan": "^0.11", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-strict-rules": "^0.11", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "~4.6 || ~5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Emojione\\": "lib/php/src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } + "(CC-BY-4.0 and MIT)" ], - "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", - "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "description": "EmojiOne is a complete set of emojis designed for the web. It includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to our custom emoji images. PNG format provided for the emoji images.", + "homepage": "http://www.emojione.com", "keywords": [ - "inflection", - "inflector", - "lowercase", - "manipulation", - "php", - "plural", - "singular", - "strings", - "uppercase", - "words" + "emoji", + "emojione", + "emojis", + "emoticons", + "smileys", + "smilies", + "unicode" ], "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.x" + "issues": "https://github.com/emojione/emojione/issues", + "source": "https://github.com/emojione/emojione/tree/4.5.0" }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", - "type": "tidelift" - } - ], - "time": "2020-05-29T15:13:26+00:00" + "abandoned": true, + "time": "2019-02-15T01:32:20+00:00" }, { - "name": "doctrine/lexer", - "version": "1.2.1", + "name": "ezyang/htmlpurifier", + "version": "v4.13.0", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042" + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/08e27c97e4c6ed02f37c5b2b20488046c8d90d75", + "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": ">=5.2" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.11.8", - "phpunit/phpunit": "^8.2" + "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { - "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" - } + "psr-0": { + "HTMLPurifier": "library/" + }, + "files": [ + "library/HTMLPurifier.composer.php" + ], + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "LGPL-2.1-or-later" ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" } ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" + "html" ], "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.1" + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/master" }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", - "type": "tidelift" - } - ], - "time": "2020-05-25T17:44:05+00:00" + "time": "2020-06-29T00:56:53+00:00" }, { - "name": "dragonmantank/cron-expression", - "version": "v2.3.0", + "name": "fideloper/proxy", + "version": "4.4.0", "source": { "type": "git", - "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27" + "url": "https://github.com/fideloper/TrustedProxy.git", + "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/72b6fbf76adb3cf5bc0db68559b33d41219aba27", - "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27", + "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8", + "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8", "shasum": "" }, "require": { - "php": "^7.0" + "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0", + "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^6.4|^7.0" + "illuminate/http": "^5.0|^6.0|^7.0|^8.0", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.3-dev" + "laravel": { + "providers": [ + "Fideloper\\Proxy\\TrustedProxyServiceProvider" + ] } }, "autoload": { "psr-4": { - "Cron\\": "src/Cron/" + "Fideloper\\Proxy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1801,63 +1504,64 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Chris Tankersley", - "email": "chris@ctankersley.com", - "homepage": "https://github.com/dragonmantank" + "name": "Chris Fidao", + "email": "fideloper@gmail.com" } ], - "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "description": "Set trusted proxies for Laravel", "keywords": [ - "cron", - "schedule" + "load balancing", + "proxy", + "trusted proxy" ], "support": { - "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v2.3.0" + "issues": "https://github.com/fideloper/TrustedProxy/issues", + "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.0" }, - "time": "2019-03-31T00:38:28+00:00" + "time": "2020-06-23T01:36:47+00:00" }, - { - "name": "egulias/email-validator", - "version": "2.1.22", + { + "name": "fruitcake/laravel-cors", + "version": "v2.0.2", "source": { "type": "git", - "url": "https://github.com/egulias/EmailValidator.git", - "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5" + "url": "https://github.com/fruitcake/laravel-cors.git", + "reference": "4b19bfc3bd422948af37a42a62fad7f49025894a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", - "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", + "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/4b19bfc3bd422948af37a42a62fad7f49025894a", + "reference": "4b19bfc3bd422948af37a42a62fad7f49025894a", "shasum": "" }, "require": { - "doctrine/lexer": "^1.0.1", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.10" + "asm89/stack-cors": "^2.0.1", + "illuminate/contracts": "^6|^7|^8", + "illuminate/support": "^6|^7|^8", + "php": ">=7.2", + "symfony/http-foundation": "^4|^5", + "symfony/http-kernel": "^4.3.4|^5" }, "require-dev": { - "dominicsayers/isemail": "^3.0.7", - "phpunit/phpunit": "^4.8.36|^7.5.15", - "satooshi/php-coveralls": "^1.0.1" - }, - "suggest": { - "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + "laravel/framework": "^6|^7|^8", + "orchestra/testbench-dusk": "^4|^5|^6", + "phpunit/phpunit": "^6|^7|^8", + "squizlabs/php_codesniffer": "^3.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "2.0-dev" + }, + "laravel": { + "providers": [ + "Fruitcake\\Cors\\CorsServiceProvider" + ] } }, "autoload": { "psr-4": { - "Egulias\\EmailValidator\\": "src" + "Fruitcake\\Cors\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1866,61 +1570,58 @@ ], "authors": [ { - "name": "Eduardo Gulias Davis" + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" } ], - "description": "A library for validating emails against several RFCs", - "homepage": "https://github.com/egulias/EmailValidator", + "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", "keywords": [ - "email", - "emailvalidation", - "emailvalidator", - "validation", - "validator" + "api", + "cors", + "crossdomain", + "laravel" ], - "support": { - "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/2.1.22" - }, - "time": "2020-09-26T15:48:38+00:00" + "funding": [ + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2020-09-07T11:48:52+00:00" }, { - "name": "elhebert/laravel-sri", - "version": "2.4.0", + "name": "gabrielelana/byte-units", + "version": "0.5.0", "source": { "type": "git", - "url": "https://github.com/Elhebert/laravel-sri.git", - "reference": "d0ad669a507100e485f488542c7d361938fd17b3" + "url": "https://github.com/gabrielelana/byte-units.git", + "reference": "eaf7b998535578c7160be30b39904a8326bb9bb8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Elhebert/laravel-sri/zipball/d0ad669a507100e485f488542c7d361938fd17b3", - "reference": "d0ad669a507100e485f488542c7d361938fd17b3", + "url": "https://api.github.com/repos/gabrielelana/byte-units/zipball/eaf7b998535578c7160be30b39904a8326bb9bb8", + "reference": "eaf7b998535578c7160be30b39904a8326bb9bb8", "shasum": "" }, "require": { - "illuminate/support": "^6.0 | ^7.0 | ^8.0", - "php": "^7.2.5" + "ext-bcmath": "*", + "php": ">=5.4.0" }, "require-dev": { - "orchestra/testbench": "^4.0 | ^5.0 | ^6.0", - "phpunit/phpunit": "^8.0 | ^9.0 | ^9.3" + "phpunit/phpunit": ">=4.0,<6.0" }, "type": "library", - "extra": { - "laravel": { - "providers": [ - "Elhebert\\SubresourceIntegrity\\SriServiceProvider" - ], - "aliases": { - "Sri": "Elhebert\\SubresourceIntegrity\\SriFacade" - } - } - }, "autoload": { "psr-4": { - "Elhebert\\SubresourceIntegrity\\": "src" - } + "ByteUnits\\": "src/ByteUnits" + }, + "files": [ + "src/ByteUnits/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1928,199 +1629,283 @@ ], "authors": [ { - "name": "Dieter Stinglhamber", - "email": "elhebert@hotmail.be" + "name": "Gabriele Lana", + "email": "gabriele.lana@gmail.com" } ], - "description": "Subresource Integrity hash generator for laravel", + "description": "Library to parse, format and convert byte units", + "homepage": "https://github.com/gabrielelana/byte-units", "keywords": [ - "laravel-sri", - "sri", - "subresource integrity" + "byte", + "convert", + "format", + "parse", + "size", + "units" ], "support": { - "issues": "https://github.com/Elhebert/laravel-sri/issues", - "source": "https://github.com/Elhebert/laravel-sri/tree/2.4.0" + "issues": "https://github.com/gabrielelana/byte-units/issues", + "source": "https://github.com/gabrielelana/byte-units/tree/master" }, - "time": "2020-09-10T06:38:47+00:00" + "time": "2018-01-11T10:40:03+00:00" }, { - "name": "emojione/assets", - "version": "4.5", + "name": "graham-campbell/result-type", + "version": "v1.0.1", "source": { "type": "git", - "url": "https://github.com/emojione/emojione-assets.git", - "reference": "88478c659a64af0176c7b0cd0778f1f9cb8f916f" + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/emojione/emojione-assets/zipball/88478c659a64af0176c7b0cd0778f1f9cb8f916f", - "reference": "88478c659a64af0176c7b0cd0778f1f9cb8f916f", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/7e279d2cd5d7fbb156ce46daada972355cea27bb", + "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb", "shasum": "" }, - "suggest": { - "emojione/emojione": "A set of libraries to make using emoji on your websites easier." + "require": { + "php": "^7.0|^8.0", + "phpoption/phpoption": "^1.7.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.5|^7.5|^8.5|^9.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ - "proprietary" + "MIT" ], - "description": "Emojis in png format brought to you by EmojiOne. EmojiOne is a complete set of emojis designed for the web.", - "homepage": "https://www.emojione.com", + "authors": [ + { + "name": "Graham Campbell", + "email": "graham@alt-three.com" + } + ], + "description": "An Implementation Of The Result Type", "keywords": [ - "emoji", - "emojione", - "emojis", - "emoticons", - "smileys", - "smilies", - "unicode" + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" ], - "support": { - "issues": "https://github.com/emojione/emojione-assets/issues", - "source": "https://github.com/emojione/emojione-assets/tree/4.5" - }, - "abandoned": true, - "time": "2019-01-23T22:10:07+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2020-04-13T13:17:36+00:00" }, { - "name": "emojione/emojione", - "version": "4.5.0", + "name": "guzzlehttp/guzzle", + "version": "7.1.1", "source": { "type": "git", - "url": "https://github.com/emojione/emojione.git", - "reference": "79e685356877cbb6128074a71b7f88f435b58412" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "7427d6f99df41cc01f33cd59832f721c150ffdf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/emojione/emojione/zipball/79e685356877cbb6128074a71b7f88f435b58412", - "reference": "79e685356877cbb6128074a71b7f88f435b58412", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7427d6f99df41cc01f33cd59832f721c150ffdf3", + "reference": "7427d6f99df41cc01f33cd59832f721c150ffdf3", "shasum": "" }, "require": { - "php": ">=5.3" + "ext-json": "*", + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.6.1", + "php": "^7.2.5", + "psr/http-client": "^1.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { - "phpunit/phpunit": "~4.6 || ~5.0" + "ext-curl": "*", + "php-http/client-integration-tests": "dev-phpunit8", + "phpunit/phpunit": "^8.5.5", + "psr/log": "^1.1" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.1-dev" + } + }, "autoload": { "psr-4": { - "Emojione\\": "lib/php/src" - } + "GuzzleHttp\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "(CC-BY-4.0 and MIT)" + "MIT" ], - "description": "EmojiOne is a complete set of emojis designed for the web. It includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to our custom emoji images. PNG format provided for the emoji images.", - "homepage": "http://www.emojione.com", + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", "keywords": [ - "emoji", - "emojione", - "emojis", - "emoticons", - "smileys", - "smilies", - "unicode" + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" ], - "support": { - "issues": "https://github.com/emojione/emojione/issues", - "source": "https://github.com/emojione/emojione/tree/4.5.0" - }, - "abandoned": true, - "time": "2019-02-15T01:32:20+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://github.com/alexeyshockov", + "type": "github" + }, + { + "url": "https://github.com/gmponos", + "type": "github" + } + ], + "time": "2020-09-30T08:51:17+00:00" }, { - "name": "ezyang/htmlpurifier", - "version": "v4.13.0", + "name": "guzzlehttp/promises", + "version": "1.4.0", "source": { "type": "git", - "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75" + "url": "https://github.com/guzzle/promises.git", + "reference": "60d379c243457e073cff02bc323a2a86cb355631" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/08e27c97e4c6ed02f37c5b2b20488046c8d90d75", - "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75", + "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631", + "reference": "60d379c243457e073cff02bc323a2a86cb355631", "shasum": "" }, "require": { - "php": ">=5.2" + "php": ">=5.5" }, "require-dev": { - "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd" + "symfony/phpunit-bridge": "^4.4 || ^5.1" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, "autoload": { - "psr-0": { - "HTMLPurifier": "library/" + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" }, "files": [ - "library/HTMLPurifier.composer.php" - ], - "exclude-from-classmap": [ - "/library/HTMLPurifier/Language/" + "src/functions_include.php" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-2.1-or-later" + "MIT" ], "authors": [ { - "name": "Edward Z. Yang", - "email": "admin@htmlpurifier.org", - "homepage": "http://ezyang.com" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" } ], - "description": "Standards compliant HTML filter written in PHP", - "homepage": "http://htmlpurifier.org/", + "description": "Guzzle promises library", "keywords": [ - "html" + "promise" ], "support": { - "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/master" + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.4.0" }, - "time": "2020-06-29T00:56:53+00:00" + "time": "2020-09-30T07:37:28+00:00" }, { - "name": "fideloper/proxy", - "version": "4.4.0", + "name": "guzzlehttp/psr7", + "version": "1.7.0", "source": { "type": "git", - "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8" + "url": "https://github.com/guzzle/psr7.git", + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8", - "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", "shasum": "" }, "require": { - "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0", - "php": ">=5.4.0" + "php": ">=5.4.0", + "psr/http-message": "~1.0", + "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" }, "require-dev": { - "illuminate/http": "^5.0|^6.0|^7.0|^8.0", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.0" + "ext-zlib": "*", + "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Fideloper\\Proxy\\TrustedProxyServiceProvider" - ] + "branch-alias": { + "dev-master": "1.7-dev" } }, "autoload": { "psr-4": { - "Fideloper\\Proxy\\": "src/" - } + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2128,65 +1913,65 @@ ], "authors": [ { - "name": "Chris Fidao", - "email": "fideloper@gmail.com" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" } ], - "description": "Set trusted proxies for Laravel", + "description": "PSR-7 message implementation that also provides common utility methods", "keywords": [ - "load balancing", - "proxy", - "trusted proxy" + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" ], "support": { - "issues": "https://github.com/fideloper/TrustedProxy/issues", - "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.0" + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/1.7.0" }, - "time": "2020-06-23T01:36:47+00:00" + "time": "2020-09-30T07:37:11+00:00" }, { - "name": "fruitcake/laravel-cors", - "version": "v1.0.6", + "name": "hootlex/laravel-moderation", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/fruitcake/laravel-cors.git", - "reference": "1d127dbec313e2e227d65e0c483765d8d7559bf6" + "url": "https://github.com/hootlex/laravel-moderation.git", + "reference": "1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/1d127dbec313e2e227d65e0c483765d8d7559bf6", - "reference": "1d127dbec313e2e227d65e0c483765d8d7559bf6", + "url": "https://api.github.com/repos/hootlex/laravel-moderation/zipball/1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b", + "reference": "1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b", "shasum": "" }, "require": { - "asm89/stack-cors": "^1.3", - "illuminate/contracts": "^5.5|^6.0|^7.0|^8.0", - "illuminate/support": "^5.5|^6.0|^7.0|^8.0", - "php": ">=7", - "symfony/http-foundation": "^3.3|^4.0|^5.0", - "symfony/http-kernel": "^3.3|^4.0|^5.0" + "php": ">=5.4.0" }, "require-dev": { - "laravel/framework": "^5.5|^6.0|^7.0|^8.0", - "orchestra/testbench": "^3.5|^4.0|^5.0|^6.0", - "phpro/grumphp": "^0.16|^0.17", - "phpunit/phpunit": "^6.0|^7.0|^8.0", - "squizlabs/php_codesniffer": "^3.5" + "laravel/laravel": "5.*", + "nunomaduro/collision": "^2.0", + "phpunit/phpunit": "7.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "laravel": { "providers": [ - "Fruitcake\\Cors\\CorsServiceProvider" + "Hootlex\\Moderation\\ModerationServiceProvider" ] } }, "autoload": { "psr-4": { - "Fruitcake\\Cors\\": "src/" + "Hootlex\\Moderation\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2195,62 +1980,69 @@ ], "authors": [ { - "name": "Fruitcake", - "homepage": "https://fruitcake.nl" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" + "name": "Alex Kyriakidis", + "email": "hootlex@icloud.com" } ], - "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", + "description": "A simple Content Moderation System for Laravel 5.* that allows you to Approve or Reject resources like posts, comments, users, etc.", "keywords": [ - "api", - "cors", - "crossdomain", - "laravel" + "content-moderation", + "laravel", + "moderation", + "moderation-system" ], "support": { - "issues": "https://github.com/fruitcake/laravel-cors/issues", - "source": "https://github.com/fruitcake/laravel-cors/tree/1.0" + "issues": "https://github.com/hootlex/laravel-moderation/issues", + "source": "https://github.com/hootlex/laravel-moderation/tree/master" }, - "funding": [ - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], - "time": "2020-04-28T08:47:37+00:00" + "time": "2018-06-08T08:18:26+00:00" }, { - "name": "gabrielelana/byte-units", - "version": "0.5.0", + "name": "intervention/image", + "version": "2.5.1", "source": { "type": "git", - "url": "https://github.com/gabrielelana/byte-units.git", - "reference": "eaf7b998535578c7160be30b39904a8326bb9bb8" + "url": "https://github.com/Intervention/image.git", + "reference": "abbf18d5ab8367f96b3205ca3c89fb2fa598c69e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gabrielelana/byte-units/zipball/eaf7b998535578c7160be30b39904a8326bb9bb8", - "reference": "eaf7b998535578c7160be30b39904a8326bb9bb8", + "url": "https://api.github.com/repos/Intervention/image/zipball/abbf18d5ab8367f96b3205ca3c89fb2fa598c69e", + "reference": "abbf18d5ab8367f96b3205ca3c89fb2fa598c69e", "shasum": "" }, "require": { - "ext-bcmath": "*", + "ext-fileinfo": "*", + "guzzlehttp/psr7": "~1.1", "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": ">=4.0,<6.0" + "mockery/mockery": "~0.9.2", + "phpunit/phpunit": "^4.8 || ^5.7" + }, + "suggest": { + "ext-gd": "to use GD library based image processing.", + "ext-imagick": "to use Imagick based image processing.", + "intervention/imagecache": "Caching extension for the Intervention Image library" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + }, + "laravel": { + "providers": [ + "Intervention\\Image\\ImageServiceProvider" + ], + "aliases": { + "Image": "Intervention\\Image\\Facades\\Image" + } + } + }, "autoload": { "psr-4": { - "ByteUnits\\": "src/ByteUnits" - }, - "files": [ - "src/ByteUnits/functions.php" - ] + "Intervention\\Image\\": "src/Intervention/Image" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2258,59 +2050,61 @@ ], "authors": [ { - "name": "Gabriele Lana", - "email": "gabriele.lana@gmail.com" + "name": "Oliver Vogel", + "email": "oliver@olivervogel.com", + "homepage": "http://olivervogel.com/" } ], - "description": "Library to parse, format and convert byte units", - "homepage": "https://github.com/gabrielelana/byte-units", + "description": "Image handling and manipulation library with support for Laravel integration", + "homepage": "http://image.intervention.io/", "keywords": [ - "byte", - "convert", - "format", - "parse", - "size", - "units" + "gd", + "image", + "imagick", + "laravel", + "thumbnail", + "watermark" ], "support": { - "issues": "https://github.com/gabrielelana/byte-units/issues", - "source": "https://github.com/gabrielelana/byte-units/tree/master" + "issues": "https://github.com/Intervention/image/issues", + "source": "https://github.com/Intervention/image/tree/master" }, - "time": "2018-01-11T10:40:03+00:00" + "time": "2019-11-02T09:15:47+00:00" }, { - "name": "gitonomy/gitlib", - "version": "v1.2.2", + "name": "kyslik/column-sortable", + "version": "6.4.0", "source": { "type": "git", - "url": "https://github.com/gitonomy/gitlib.git", - "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72" + "url": "https://github.com/Kyslik/column-sortable.git", + "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/d1fe4676bf1347c08dec84a14a4c5e7110740d72", - "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72", + "url": "https://api.github.com/repos/Kyslik/column-sortable/zipball/9aef633bfe160c5a43d97e92e55983daa2696eb1", + "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1", "shasum": "" }, "require": { - "ext-pcre": "*", - "php": "^5.6 || ^7.0 || ^8.0", - "symfony/polyfill-mbstring": "^1.7", - "symfony/process": "^3.4 || ^4.0 || ^5.0" + "illuminate/database": "5.8.*|^6.0|^7.0|^8.0", + "illuminate/support": "5.8.*|^6.0|^7.0|^8.0", + "php": ">=7.2" }, "require-dev": { - "ext-fileinfo": "*", - "phpunit/phpunit": "^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0", - "psr/log": "^1.0" + "orchestra/testbench": "^5.0", + "phpunit/phpunit": "^8.5" }, - "suggest": { - "ext-fileinfo": "Required to determine the mimetype of a blob", - "psr/log": "Required to use loggers for reporting of execution" + "type": "package", + "extra": { + "laravel": { + "providers": [ + "Kyslik\\ColumnSortable\\ColumnSortableServiceProvider" + ] + } }, - "type": "library", "autoload": { "psr-4": { - "Gitonomy\\Git\\": "src/Gitonomy/Git/" + "Kyslik\\ColumnSortable\\": "src/ColumnSortable/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2319,64 +2113,168 @@ ], "authors": [ { - "name": "Graham Campbell", - "email": "graham@alt-three.com" - }, - { - "name": "Julien Didier", - "email": "genzo.wm@gmail.com" - }, - { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" - }, - { - "name": "Alexandre Salomé", - "email": "alexandre.salome@gmail.com" + "name": "Martin Kiesel", + "email": "martin.kiesel@gmail.com", + "role": "Developer and maintainer" } ], - "description": "Library for accessing git", + "description": "Package for handling column sorting in Laravel 6.x", + "keywords": [ + "column", + "laravel", + "sort", + "sortable", + "sorting" + ], "support": { - "issues": "https://github.com/gitonomy/gitlib/issues", - "source": "https://github.com/gitonomy/gitlib/tree/1.2" + "issues": "https://github.com/Kyslik/column-sortable/issues", + "source": "https://github.com/Kyslik/column-sortable/tree/6.4.0" }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/gitonomy/gitlib", - "type": "tidelift" - } - ], - "time": "2020-07-30T14:54:11+00:00" + "time": "2020-09-11T21:17:32+00:00" }, { - "name": "gstt/laravel-achievements", - "version": "v1.0.0", + "name": "laravel/framework", + "version": "v8.8.0", "source": { "type": "git", - "url": "https://github.com/gstt/laravel-achievements.git", - "reference": "7807592a70bde10fb960d7ef75b625613a1d0050" + "url": "https://github.com/laravel/framework.git", + "reference": "0bdd5c6f12cb7cb6644e484169656245af417735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gstt/laravel-achievements/zipball/7807592a70bde10fb960d7ef75b625613a1d0050", - "reference": "7807592a70bde10fb960d7ef75b625613a1d0050", + "url": "https://api.github.com/repos/laravel/framework/zipball/0bdd5c6f12cb7cb6644e484169656245af417735", + "reference": "0bdd5c6f12cb7cb6644e484169656245af417735", "shasum": "" }, "require": { - "ramsey/uuid": "^3.5" + "doctrine/inflector": "^1.4|^2.0", + "dragonmantank/cron-expression": "^3.0", + "egulias/email-validator": "^2.1.10", + "ext-json": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "league/commonmark": "^1.3", + "league/flysystem": "^1.0.34", + "monolog/monolog": "^2.0", + "nesbot/carbon": "^2.17", + "opis/closure": "^3.5.3", + "php": "^7.3", + "psr/container": "^1.0", + "psr/simple-cache": "^1.0", + "ramsey/uuid": "^4.0", + "swiftmailer/swiftmailer": "^6.0", + "symfony/console": "^5.1", + "symfony/error-handler": "^5.1", + "symfony/finder": "^5.1", + "symfony/http-foundation": "^5.1", + "symfony/http-kernel": "^5.1", + "symfony/mime": "^5.1", + "symfony/process": "^5.1", + "symfony/routing": "^5.1", + "symfony/var-dumper": "^5.1", + "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "vlucas/phpdotenv": "^5.2", + "voku/portable-ascii": "^1.4.8" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" }, "require-dev": { - "laravel/laravel": "^5.3", - "phpunit/phpunit": "^5.6" + "aws/aws-sdk-php": "^3.0", + "doctrine/dbal": "^2.6", + "filp/whoops": "^2.4", + "guzzlehttp/guzzle": "^6.5.5|^7.0.1", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.3.1", + "orchestra/testbench-core": "^6.0", + "pda/pheanstalk": "^4.0", + "phpunit/phpunit": "^8.4|^9.0", + "predis/predis": "^1.1.1", + "symfony/cache": "^5.1" + }, + "suggest": { + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "filp/whoops": "Required for friendly error pages in development (^2.4).", + "fzaninotto/faker": "Required to use the eloquent factory builder (^1.9.1).", + "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "mockery/mockery": "Required to use mocking (^1.3.1).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^8.4|^9.0).", + "predis/predis": "Required to use the predis connector (^1.1.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.1).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", + "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, "autoload": { - "classmap": [ - "src/Migrations" + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" ], "psr-4": { - "Gstt\\Achievements\\": "src/", - "Gstt\\Tests\\": "tests/" + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/" + ] } }, "notification-url": "https://packagist.org/downloads/", @@ -2385,59 +2283,62 @@ ], "authors": [ { - "name": "Gabriel Simonetti", - "email": "simonettigo@gmail.com" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "Achievements for Laravel 5.3+", - "support": { - "issues": "https://github.com/gstt/laravel-achievements/issues", - "source": "https://github.com/gstt/laravel-achievements/tree/master" - }, - "time": "2017-03-08T03:42:08+00:00" + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "time": "2020-10-02T14:33:08+00:00" }, { - "name": "guzzlehttp/guzzle", - "version": "6.5.5", + "name": "laravel/tinker", + "version": "v2.4.2", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e" + "url": "https://github.com/laravel/tinker.git", + "reference": "58424c24e8aec31c3a3ac54eb3adb15e8a0a067b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", + "url": "https://api.github.com/repos/laravel/tinker/zipball/58424c24e8aec31c3a3ac54eb3adb15e8a0a067b", + "reference": "58424c24e8aec31c3a3ac54eb3adb15e8a0a067b", "shasum": "" }, "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.6.1", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.17.0" + "illuminate/console": "^6.0|^7.0|^8.0", + "illuminate/contracts": "^6.0|^7.0|^8.0", + "illuminate/support": "^6.0|^7.0|^8.0", + "php": "^7.2", + "psy/psysh": "^0.10.3", + "symfony/var-dumper": "^4.3|^5.0" }, "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" + "mockery/mockery": "^1.3.1", + "phpunit/phpunit": "^8.4|^9.0" }, "suggest": { - "psr/log": "Required for using the Log middleware" + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.5-dev" + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] } }, "autoload": { "psr-4": { - "GuzzleHttp\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "Laravel\\Tinker\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2445,61 +2346,60 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", + "description": "Powerful REPL for the Laravel framework.", "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" + "REPL", + "Tinker", + "laravel", + "psysh" ], "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/6.5" + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/2.x" }, - "time": "2020-06-16T21:01:06+00:00" + "time": "2020-08-11T19:28:08+00:00" }, { - "name": "guzzlehttp/promises", - "version": "1.4.0", + "name": "laravel/ui", + "version": "v2.3.0", "source": { "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "60d379c243457e073cff02bc323a2a86cb355631" + "url": "https://github.com/laravel/ui.git", + "reference": "2ccaa3b821ea8ac7e05393b946d0578bdb46099b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631", - "reference": "60d379c243457e073cff02bc323a2a86cb355631", + "url": "https://api.github.com/repos/laravel/ui/zipball/2ccaa3b821ea8ac7e05393b946d0578bdb46099b", + "reference": "2ccaa3b821ea8ac7e05393b946d0578bdb46099b", "shasum": "" }, "require": { - "php": ">=5.5" + "illuminate/console": "^7.0|^8.0", + "illuminate/filesystem": "^7.0|^8.0", + "illuminate/support": "^7.0|^8.0", + "php": "^7.2.5" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^8.0|^9.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.4-dev" + "laravel": { + "providers": [ + "Laravel\\Ui\\UiServiceProvider" + ] } }, "autoload": { "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "Laravel\\Ui\\": "src/", + "Illuminate\\Foundation\\Auth\\": "auth-backend/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2507,129 +2407,169 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "Guzzle promises library", + "description": "Laravel UI utilities and presets.", "keywords": [ - "promise" + "laravel", + "ui" ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.0" - }, - "time": "2020-09-30T07:37:28+00:00" + "time": "2020-09-09T12:07:59+00:00" }, { - "name": "guzzlehttp/psr7", - "version": "1.7.0", + "name": "league/commonmark", + "version": "1.5.5", "source": { "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "45832dfed6007b984c0d40addfac48d403dc6432" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/45832dfed6007b984c0d40addfac48d403dc6432", + "reference": "45832dfed6007b984c0d40addfac48d403dc6432", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "ext-mbstring": "*", + "php": "^7.1 || ^8.0" }, - "provide": { - "psr/http-message-implementation": "1.0" + "conflict": { + "scrutinizer/ocular": "1.7.*" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + "cebe/markdown": "~1.0", + "commonmark/commonmark.js": "0.29.2", + "erusev/parsedown": "~1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "~1.4", + "mikehaertl/php-shellcommand": "^1.4", + "phpstan/phpstan": "^0.12", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2", + "scrutinizer/ocular": "^1.5", + "symfony/finder": "^4.2" }, + "bin": [ + "bin/commonmark" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7-dev" - } - }, "autoload": { "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + "League\\CommonMark\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" } ], - "description": "PSR-7 message implementation that also provides common utility methods", + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" ], "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.7.0" + "docs": "https://commonmark.thephpleague.com/", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" }, - "time": "2020-09-30T07:37:11+00:00" + "funding": [ + { + "url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark", + "type": "custom" + }, + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://www.patreon.com/colinodell", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2020-09-13T14:44:46+00:00" }, { - "name": "hootlex/laravel-moderation", - "version": "v1.1.0", + "name": "league/flysystem", + "version": "1.1.3", "source": { "type": "git", - "url": "https://github.com/hootlex/laravel-moderation.git", - "reference": "1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b" + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "9be3b16c877d477357c015cec057548cf9b2a14a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hootlex/laravel-moderation/zipball/1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b", - "reference": "1ae3aa8ae2ee3d16ecb8325c99d15614901d4d7b", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a", + "reference": "9be3b16c877d477357c015cec057548cf9b2a14a", "shasum": "" }, "require": { - "php": ">=5.4.0" + "ext-fileinfo": "*", + "league/mime-type-detection": "^1.3", + "php": "^7.2.5 || ^8.0" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" }, "require-dev": { - "laravel/laravel": "5.*", - "nunomaduro/collision": "^2.0", - "phpunit/phpunit": "7.0" + "phpspec/prophecy": "^1.11.1", + "phpunit/phpunit": "^8.5.8" + }, + "suggest": { + "ext-fileinfo": "Required for MimeType", + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Hootlex\\Moderation\\ModerationServiceProvider" - ] + "branch-alias": { + "dev-master": "1.1-dev" } }, "autoload": { "psr-4": { - "Hootlex\\Moderation\\": "src/" + "League\\Flysystem\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2638,131 +2578,139 @@ ], "authors": [ { - "name": "Alex Kyriakidis", - "email": "hootlex@icloud.com" + "name": "Frank de Jonge", + "email": "info@frenky.net" } ], - "description": "A simple Content Moderation System for Laravel 5.* that allows you to Approve or Reject resources like posts, comments, users, etc.", + "description": "Filesystem abstraction: Many filesystems, one API.", "keywords": [ - "content-moderation", - "laravel", - "moderation", - "moderation-system" + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" ], "support": { - "issues": "https://github.com/hootlex/laravel-moderation/issues", - "source": "https://github.com/hootlex/laravel-moderation/tree/master" + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/1.x" }, - "time": "2018-06-08T08:18:26+00:00" + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2020-08-23T07:39:11+00:00" }, { - "name": "intervention/image", - "version": "2.5.1", + "name": "league/mime-type-detection", + "version": "1.5.0", "source": { "type": "git", - "url": "https://github.com/Intervention/image.git", - "reference": "abbf18d5ab8367f96b3205ca3c89fb2fa598c69e" + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "ea2fbfc988bade315acd5967e6d02274086d0f28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Intervention/image/zipball/abbf18d5ab8367f96b3205ca3c89fb2fa598c69e", - "reference": "abbf18d5ab8367f96b3205ca3c89fb2fa598c69e", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ea2fbfc988bade315acd5967e6d02274086d0f28", + "reference": "ea2fbfc988bade315acd5967e6d02274086d0f28", "shasum": "" }, "require": { "ext-fileinfo": "*", - "guzzlehttp/psr7": "~1.1", - "php": ">=5.4.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "mockery/mockery": "~0.9.2", - "phpunit/phpunit": "^4.8 || ^5.7" - }, - "suggest": { - "ext-gd": "to use GD library based image processing.", - "ext-imagick": "to use Imagick based image processing.", - "intervention/imagecache": "Caching extension for the Intervention Image library" + "phpstan/phpstan": "^0.12.36", + "phpunit/phpunit": "^8.5.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - }, - "laravel": { - "providers": [ - "Intervention\\Image\\ImageServiceProvider" - ], - "aliases": { - "Image": "Intervention\\Image\\Facades\\Image" - } - } - }, "autoload": { "psr-4": { - "Intervention\\Image\\": "src/Intervention/Image" + "League\\MimeTypeDetection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Oliver Vogel", - "email": "oliver@olivervogel.com", - "homepage": "http://olivervogel.com/" - } - ], - "description": "Image handling and manipulation library with support for Laravel integration", - "homepage": "http://image.intervention.io/", - "keywords": [ - "gd", - "image", - "imagick", - "laravel", - "thumbnail", - "watermark" + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } ], + "description": "Mime-type detection for Flysystem", "support": { - "issues": "https://github.com/Intervention/image/issues", - "source": "https://github.com/Intervention/image/tree/master" + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.0" }, - "time": "2019-11-02T09:15:47+00:00" + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2020-09-21T18:10:53+00:00" }, { - "name": "kyslik/column-sortable", - "version": "6.4.0", + "name": "livewire/livewire", + "version": "v1.3.5", "source": { "type": "git", - "url": "https://github.com/Kyslik/column-sortable.git", - "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1" + "url": "https://github.com/livewire/livewire.git", + "reference": "b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Kyslik/column-sortable/zipball/9aef633bfe160c5a43d97e92e55983daa2696eb1", - "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1", + "url": "https://api.github.com/repos/livewire/livewire/zipball/b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82", + "reference": "b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82", "shasum": "" }, "require": { - "illuminate/database": "5.8.*|^6.0|^7.0|^8.0", - "illuminate/support": "5.8.*|^6.0|^7.0|^8.0", - "php": ">=7.2" + "illuminate/database": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", + "illuminate/support": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", + "illuminate/validation": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", + "php": "^7.1.3", + "symfony/http-kernel": "^4.0|^5.0" }, "require-dev": { - "orchestra/testbench": "^5.0", - "phpunit/phpunit": "^8.5" + "laravel/framework": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0", + "mockery/mockery": "^1.3.1", + "orchestra/testbench": "~3.6.0|~3.7.0|~3.8.0|^4.0|^5.0", + "phpunit/phpunit": "^7.5.15|^8.4|^9.0", + "psy/psysh": "@stable" }, - "type": "package", + "type": "library", "extra": { "laravel": { "providers": [ - "Kyslik\\ColumnSortable\\ColumnSortableServiceProvider" - ] + "Livewire\\LivewireServiceProvider" + ], + "aliases": { + "Livewire": "Livewire\\Livewire" + } } }, "autoload": { "psr-4": { - "Kyslik\\ColumnSortable\\": "src/ColumnSortable/" + "Livewire\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2771,230 +2719,117 @@ ], "authors": [ { - "name": "Martin Kiesel", - "email": "martin.kiesel@gmail.com", - "role": "Developer and maintainer" + "name": "Caleb Porzio", + "email": "calebporzio@gmail.com" } ], - "description": "Package for handling column sorting in Laravel 6.x", - "keywords": [ - "column", - "laravel", - "sort", - "sortable", - "sorting" - ], + "description": "A front-end framework for Laravel.", "support": { - "issues": "https://github.com/Kyslik/column-sortable/issues", - "source": "https://github.com/Kyslik/column-sortable/tree/6.4.0" + "issues": "https://github.com/livewire/livewire/issues", + "source": "https://github.com/livewire/livewire/tree/v1.3.5" }, - "time": "2020-09-11T21:17:32+00:00" + "funding": [ + { + "url": "https://github.com/calebporzio", + "type": "github" + } + ], + "time": "2020-09-17T04:38:16+00:00" }, { - "name": "laravel/framework", - "version": "v7.28.3", + "name": "malkusch/lock", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/laravel/framework.git", - "reference": "b0942c391975972b1a54b2dc983e33a239f169a9" + "url": "https://github.com/malkusch/lock.git", + "reference": "5555f291092a0ed5ab4f02d8be7031b877d8d165" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/b0942c391975972b1a54b2dc983e33a239f169a9", - "reference": "b0942c391975972b1a54b2dc983e33a239f169a9", + "url": "https://api.github.com/repos/malkusch/lock/zipball/5555f291092a0ed5ab4f02d8be7031b877d8d165", + "reference": "5555f291092a0ed5ab4f02d8be7031b877d8d165", "shasum": "" }, "require": { - "doctrine/inflector": "^1.4|^2.0", - "dragonmantank/cron-expression": "^2.0", - "egulias/email-validator": "^2.1.10", - "ext-json": "*", - "ext-mbstring": "*", - "ext-openssl": "*", - "league/commonmark": "^1.3", - "league/flysystem": "^1.0.34", - "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.17", - "opis/closure": "^3.1", - "php": "^7.2.5", - "psr/container": "^1.0", - "psr/simple-cache": "^1.0", - "ramsey/uuid": "^3.7|^4.0", - "swiftmailer/swiftmailer": "^6.0", - "symfony/console": "^5.0", - "symfony/error-handler": "^5.0", - "symfony/finder": "^5.0", - "symfony/http-foundation": "^5.0", - "symfony/http-kernel": "^5.0", - "symfony/mime": "^5.0", - "symfony/polyfill-php73": "^1.17", - "symfony/process": "^5.0", - "symfony/routing": "^5.0", - "symfony/var-dumper": "^5.0", - "tijsverkoyen/css-to-inline-styles": "^2.2.2", - "vlucas/phpdotenv": "^4.0", - "voku/portable-ascii": "^1.4.8" - }, - "conflict": { - "tightenco/collect": "<5.5.33" - }, - "provide": { - "psr/container-implementation": "1.0" - }, - "replace": { - "illuminate/auth": "self.version", - "illuminate/broadcasting": "self.version", - "illuminate/bus": "self.version", - "illuminate/cache": "self.version", - "illuminate/config": "self.version", - "illuminate/console": "self.version", - "illuminate/container": "self.version", - "illuminate/contracts": "self.version", - "illuminate/cookie": "self.version", - "illuminate/database": "self.version", - "illuminate/encryption": "self.version", - "illuminate/events": "self.version", - "illuminate/filesystem": "self.version", - "illuminate/hashing": "self.version", - "illuminate/http": "self.version", - "illuminate/log": "self.version", - "illuminate/mail": "self.version", - "illuminate/notifications": "self.version", - "illuminate/pagination": "self.version", - "illuminate/pipeline": "self.version", - "illuminate/queue": "self.version", - "illuminate/redis": "self.version", - "illuminate/routing": "self.version", - "illuminate/session": "self.version", - "illuminate/support": "self.version", - "illuminate/testing": "self.version", - "illuminate/translation": "self.version", - "illuminate/validation": "self.version", - "illuminate/view": "self.version" + "php": ">=5.6", + "psr/log": "^1" }, "require-dev": { - "aws/aws-sdk-php": "^3.0", - "doctrine/dbal": "^2.6", - "filp/whoops": "^2.4", - "guzzlehttp/guzzle": "^6.3.1|^7.0", - "league/flysystem-cached-adapter": "^1.0", - "mockery/mockery": "^1.3.1", - "moontoast/math": "^1.1", - "orchestra/testbench-core": "^5.0", - "pda/pheanstalk": "^4.0", - "phpunit/phpunit": "^8.4|^9.0", - "predis/predis": "^1.1.1", - "symfony/cache": "^5.0" - }, - "suggest": { - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", - "ext-ftp": "Required to use the Flysystem FTP driver.", - "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", - "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", - "ext-posix": "Required to use all features of the queue worker.", - "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", - "filp/whoops": "Required for friendly error pages in development (^2.4).", - "fzaninotto/faker": "Required to use the eloquent factory builder (^1.9.1).", - "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.3.1|^7.0).", - "laravel/tinker": "Required to use the tinker console command (^2.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", - "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", - "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", - "mockery/mockery": "Required to use mocking (^1.3.1).", - "moontoast/math": "Required to use ordered UUIDs (^1.1).", - "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^8.4|^9.0).", - "predis/predis": "Required to use the predis connector (^1.1.2).", - "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^5.0).", - "symfony/filesystem": "Required to create relative storage directory symbolic links (^5.0).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", - "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." + "ext-redis": "^2.2.4|^3", + "kriswallsmith/spork": "^0.3", + "mikey179/vfsstream": "^1.5.0", + "php-mock/php-mock-phpunit": "^1", + "phpunit/phpunit": "^5", + "predis/predis": "~1.0", + "zetacomponents/system-information": "~1.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.x-dev" - } - }, "autoload": { - "files": [ - "src/Illuminate/Foundation/helpers.php", - "src/Illuminate/Support/helpers.php" - ], "psr-4": { - "Illuminate\\": "src/Illuminate/" + "malkusch\\lock\\": "classes/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "WTFPL" ], "authors": [ { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" + "name": "Markus Malkusch", + "email": "markus@malkusch.de", + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], - "description": "The Laravel Framework.", - "homepage": "https://laravel.com", + "description": "Mutex library for exclusive code execution.", + "homepage": "https://github.com/malkusch/lock", "keywords": [ - "framework", - "laravel" + "cas", + "flock", + "lock", + "memcache", + "mutex", + "redis", + "redlock", + "semaphore" ], "support": { - "issues": "https://github.com/laravel/framework/issues", - "source": "https://github.com/laravel/framework" + "issues": "https://github.com/malkusch/lock/issues", + "source": "https://github.com/malkusch/lock/tree/master" }, - "time": "2020-09-17T14:23:26+00:00" + "time": "2016-08-05T11:03:36+00:00" }, { - "name": "laravel/tinker", - "version": "v2.4.2", + "name": "marcreichel/igdb-laravel", + "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/laravel/tinker.git", - "reference": "58424c24e8aec31c3a3ac54eb3adb15e8a0a067b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/58424c24e8aec31c3a3ac54eb3adb15e8a0a067b", - "reference": "58424c24e8aec31c3a3ac54eb3adb15e8a0a067b", - "shasum": "" - }, - "require": { - "illuminate/console": "^6.0|^7.0|^8.0", - "illuminate/contracts": "^6.0|^7.0|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0", - "php": "^7.2", - "psy/psysh": "^0.10.3", - "symfony/var-dumper": "^4.3|^5.0" + "url": "https://github.com/marcreichel/igdb-laravel.git", + "reference": "63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d" }, - "require-dev": { - "mockery/mockery": "^1.3.1", - "phpunit/phpunit": "^8.4|^9.0" + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/marcreichel/igdb-laravel/zipball/63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d", + "reference": "63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d", + "shasum": "" }, - "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0)." + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "~6.0|~7.0", + "laravel/framework": "5.8.*|^6.0|^7.0|^8.0", + "php": "^7.2.5" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ - "Laravel\\Tinker\\TinkerServiceProvider" + "MarcReichel\\IGDBLaravel\\IGDBLaravelServiceProvider" ] } }, "autoload": { "psr-4": { - "Laravel\\Tinker\\": "src/" + "MarcReichel\\IGDBLaravel\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3003,60 +2838,79 @@ ], "authors": [ { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" + "name": "Marc Reichel", + "email": "mail@marcreichel.de" } ], - "description": "Powerful REPL for the Laravel framework.", + "description": "A Laravel Wrapper for the IGDB API v3", "keywords": [ - "REPL", - "Tinker", + "api-wrapper", + "apicalypse", + "igdb", + "igdb-api", "laravel", - "psysh" + "wrapper" ], "support": { - "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/2.x" + "issues": "https://github.com/marcreichel/igdb-laravel/issues", + "source": "https://github.com/marcreichel/igdb-laravel/tree/1.0.2" }, - "time": "2020-08-11T19:28:08+00:00" + "funding": [ + { + "url": "https://github.com/marcreichel", + "type": "github" + } + ], + "time": "2020-09-08T16:59:40+00:00" }, { - "name": "laravel/ui", - "version": "v2.4.1", + "name": "mews/purifier", + "version": "3.3.0", "source": { "type": "git", - "url": "https://github.com/laravel/ui.git", - "reference": "1c69ae3e8b52fe6c9eaf83b43c6dd8ef5c3f9e2c" + "url": "https://github.com/mewebstudio/Purifier.git", + "reference": "da76c8705550d549a8723ffe7368c0f5554652a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/ui/zipball/1c69ae3e8b52fe6c9eaf83b43c6dd8ef5c3f9e2c", - "reference": "1c69ae3e8b52fe6c9eaf83b43c6dd8ef5c3f9e2c", + "url": "https://api.github.com/repos/mewebstudio/Purifier/zipball/da76c8705550d549a8723ffe7368c0f5554652a1", + "reference": "da76c8705550d549a8723ffe7368c0f5554652a1", "shasum": "" }, "require": { - "illuminate/console": "^7.0", - "illuminate/filesystem": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "ezyang/htmlpurifier": "4.13.*", + "illuminate/config": "^5.8|^6.0|^7.0|^8.0", + "illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0", + "illuminate/support": "^5.8|^6.0|^7.0|^8.0", + "php": "^7.2" }, "require-dev": { + "graham-campbell/testbench": "^3.2|^5.5.1", "mockery/mockery": "^1.0", - "phpunit/phpunit": "^8.0" + "phpunit/phpunit": "^8.0|^9.0" }, - "type": "library", + "suggest": { + "laravel/framework": "To test the Laravel bindings", + "laravel/lumen-framework": "To test the Lumen bindings" + }, + "type": "package", "extra": { "laravel": { "providers": [ - "Laravel\\Ui\\UiServiceProvider" - ] + "Mews\\Purifier\\PurifierServiceProvider" + ], + "aliases": { + "Purifier": "Mews\\Purifier\\Facades\\Purifier" + } } }, "autoload": { "psr-4": { - "Laravel\\Ui\\": "src/", - "Illuminate\\Foundation\\Auth\\": "auth-backend/" - } + "Mews\\Purifier\\": "src/" + }, + "files": [ + "src/helpers.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3064,173 +2918,167 @@ ], "authors": [ { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" + "name": "Muharrem ERİN", + "email": "me@mewebstudio.com", + "homepage": "https://github.com/mewebstudio", + "role": "Developer" } ], - "description": "Laravel UI utilities and presets.", + "description": "Laravel 5/6/7 HtmlPurifier Package", + "homepage": "https://github.com/mewebstudio/purifier", "keywords": [ - "laravel", - "ui" + "Purifier", + "htmlpurifier", + "laravel5 HtmlPurifier", + "laravel5 Purifier", + "laravel5 Security", + "laravel6 HtmlPurifier", + "laravel6 Purifier", + "laravel6 Security", + "security", + "xss" ], "support": { - "issues": "https://github.com/laravel/ui/issues", - "source": "https://github.com/laravel/ui/tree/v2.4.1" + "issues": "https://github.com/mewebstudio/Purifier/issues", + "source": "https://github.com/mewebstudio/Purifier/tree/3.3.0" }, - "time": "2020-09-22T16:51:51+00:00" + "time": "2020-09-10T22:30:34+00:00" }, { - "name": "league/commonmark", - "version": "1.5.5", + "name": "monolog/monolog", + "version": "2.1.1", "source": { "type": "git", - "url": "https://github.com/thephpleague/commonmark.git", - "reference": "45832dfed6007b984c0d40addfac48d403dc6432" + "url": "https://github.com/Seldaek/monolog.git", + "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/45832dfed6007b984c0d40addfac48d403dc6432", - "reference": "45832dfed6007b984c0d40addfac48d403dc6432", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9eee5cec93dfb313a38b6b288741e84e53f02d5", + "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": "^7.1 || ^8.0" + "php": ">=7.2", + "psr/log": "^1.0.1" }, - "conflict": { - "scrutinizer/ocular": "1.7.*" + "provide": { + "psr/log-implementation": "1.0.0" }, "require-dev": { - "cebe/markdown": "~1.0", - "commonmark/commonmark.js": "0.29.2", - "erusev/parsedown": "~1.0", - "ext-json": "*", - "github/gfm": "0.29.0", - "michelf/php-markdown": "~1.4", - "mikehaertl/php-shellcommand": "^1.4", - "phpstan/phpstan": "^0.12", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2", - "scrutinizer/ocular": "^1.5", - "symfony/finder": "^4.2" + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^6.0", + "graylog2/gelf-php": "^1.4.2", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "php-parallel-lint/php-parallel-lint": "^1.0", + "phpspec/prophecy": "^1.6.1", + "phpunit/phpunit": "^8.5", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3", + "ruflin/elastica": ">=0.90 <3.0", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, - "bin": [ - "bin/commonmark" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, "autoload": { "psr-4": { - "League\\CommonMark\\": "src" + "Monolog\\": "src/Monolog" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Colin O'Dell", - "email": "colinodell@gmail.com", - "homepage": "https://www.colinodell.com", - "role": "Lead Developer" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)", - "homepage": "https://commonmark.thephpleague.com", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", "keywords": [ - "commonmark", - "flavored", - "gfm", - "github", - "github-flavored", - "markdown", - "md", - "parser" + "log", + "logging", + "psr-3" ], "support": { - "docs": "https://commonmark.thephpleague.com/", - "issues": "https://github.com/thephpleague/commonmark/issues", - "rss": "https://github.com/thephpleague/commonmark/releases.atom", - "source": "https://github.com/thephpleague/commonmark" + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/2.1.1" }, "funding": [ { - "url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark", - "type": "custom" - }, - { - "url": "https://www.colinodell.com/sponsor", - "type": "custom" - }, - { - "url": "https://www.paypal.me/colinpodell/10.00", - "type": "custom" - }, - { - "url": "https://github.com/colinodell", + "url": "https://github.com/Seldaek", "type": "github" }, { - "url": "https://www.patreon.com/colinodell", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", "type": "tidelift" } ], - "time": "2020-09-13T14:44:46+00:00" + "time": "2020-07-23T08:41:23+00:00" }, { - "name": "league/flysystem", - "version": "1.1.3", + "name": "nelexa/zip", + "version": "3.3.3", "source": { "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a" + "url": "https://github.com/Ne-Lexa/php-zip.git", + "reference": "501b52f6fc393a599b44ff348a42740e1eaac7c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a", + "url": "https://api.github.com/repos/Ne-Lexa/php-zip/zipball/501b52f6fc393a599b44ff348a42740e1eaac7c6", + "reference": "501b52f6fc393a599b44ff348a42740e1eaac7c6", "shasum": "" }, "require": { - "ext-fileinfo": "*", - "league/mime-type-detection": "^1.3", - "php": "^7.2.5 || ^8.0" - }, - "conflict": { - "league/flysystem-sftp": "<1.0.6" + "ext-zlib": "*", + "paragonie/random_compat": "*", + "php": "^5.5.9 || ^7.0", + "psr/http-message": "^1.0", + "symfony/finder": "^3.0|^4.0|^5.0" }, - "require-dev": { - "phpspec/prophecy": "^1.11.1", - "phpunit/phpunit": "^8.5.8" + "require-dev": { + "ext-bz2": "*", + "ext-fileinfo": "*", + "ext-openssl": "*", + "ext-xml": "*", + "guzzlehttp/psr7": "^1.6", + "phpunit/phpunit": "^4.8|^5.7", + "symfony/var-dumper": "^3.0|^4.0|^5.0" }, "suggest": { - "ext-fileinfo": "Required for MimeType", - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + "ext-bz2": "Needed to support BZIP2 compression", + "ext-fileinfo": "Needed to get mime-type file", + "ext-mcrypt": "Needed to support encrypt zip entries or use ext-openssl", + "ext-openssl": "Needed to support encrypt zip entries or use ext-mcrypt" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { - "League\\Flysystem\\": "src/" + "PhpZip\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3239,68 +3087,81 @@ ], "authors": [ { - "name": "Frank de Jonge", - "email": "info@frenky.net" + "name": "Ne-Lexa", + "email": "alexey@nelexa.ru", + "role": "Developer" } ], - "description": "Filesystem abstraction: Many filesystems, one API.", + "description": "PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, ZipAlign tool, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.", + "homepage": "https://github.com/Ne-Lexa/php-zip", "keywords": [ - "Cloud Files", - "WebDAV", - "abstraction", - "aws", - "cloud", - "copy.com", - "dropbox", - "file systems", - "files", - "filesystem", - "filesystems", - "ftp", - "rackspace", - "remote", - "s3", - "sftp", - "storage" + "archive", + "extract", + "unzip", + "winzip", + "zip", + "zipalign", + "ziparchive" ], "support": { - "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.x" + "issues": "https://github.com/Ne-Lexa/php-zip/issues", + "source": "https://github.com/Ne-Lexa/php-zip/tree/3.3.3" }, - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "other" - } - ], - "time": "2020-08-23T07:39:11+00:00" + "time": "2020-07-11T21:01:42+00:00" }, { - "name": "league/mime-type-detection", - "version": "1.5.0", + "name": "nesbot/carbon", + "version": "2.41.0", "source": { "type": "git", - "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ea2fbfc988bade315acd5967e6d02274086d0f28" + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "8690b13ad4da6d54d692afea15aab30b36fee52e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ea2fbfc988bade315acd5967e6d02274086d0f28", - "reference": "ea2fbfc988bade315acd5967e6d02274086d0f28", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8690b13ad4da6d54d692afea15aab30b36fee52e", + "reference": "8690b13ad4da6d54d692afea15aab30b36fee52e", "shasum": "" }, "require": { - "ext-fileinfo": "*", - "php": "^7.2 || ^8.0" + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/translation": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.36", - "phpunit/phpunit": "^8.5.8" + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", + "kylekatarnls/multi-tester": "^2.0", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.35", + "phpunit/phpunit": "^7.5 || ^8.0", + "squizlabs/php_codesniffer": "^3.4" }, + "bin": [ + "bin/carbon" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev", + "dev-3.x": "3.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, "autoload": { "psr-4": { - "League\\MimeTypeDetection\\": "src" + "Carbon\\": "src/Carbon/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3309,188 +3170,180 @@ ], "authors": [ { - "name": "Frank de Jonge", - "email": "info@frankdejonge.nl" + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "http://nesbot.com" + }, + { + "name": "kylekatarnls", + "homepage": "http://github.com/kylekatarnls" } ], - "description": "Mime-type detection for Flysystem", - "support": { - "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.0" - }, + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "http://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], "funding": [ { - "url": "https://github.com/frankdejonge", - "type": "github" + "url": "https://opencollective.com/Carbon", + "type": "open_collective" }, { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", "type": "tidelift" } ], - "time": "2020-09-21T18:10:53+00:00" + "time": "2020-10-04T09:11:05+00:00" }, { - "name": "livewire/livewire", - "version": "v1.3.5", + "name": "nikic/php-parser", + "version": "v4.10.2", "source": { "type": "git", - "url": "https://github.com/livewire/livewire.git", - "reference": "b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82" + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "658f1be311a230e0907f5dfe0213742aff0596de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82", - "reference": "b1673ff9fc78a3296ca4a3b0d1ca26da0a5cdf82", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/658f1be311a230e0907f5dfe0213742aff0596de", + "reference": "658f1be311a230e0907f5dfe0213742aff0596de", "shasum": "" }, "require": { - "illuminate/database": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", - "illuminate/support": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", - "illuminate/validation": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0", - "php": "^7.1.3", - "symfony/http-kernel": "^4.0|^5.0" + "ext-tokenizer": "*", + "php": ">=7.0" }, "require-dev": { - "laravel/framework": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0", - "mockery/mockery": "^1.3.1", - "orchestra/testbench": "~3.6.0|~3.7.0|~3.8.0|^4.0|^5.0", - "phpunit/phpunit": "^7.5.15|^8.4|^9.0", - "psy/psysh": "@stable" + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" }, + "bin": [ + "bin/php-parse" + ], "type": "library", "extra": { - "laravel": { - "providers": [ - "Livewire\\LivewireServiceProvider" - ], - "aliases": { - "Livewire": "Livewire\\Livewire" - } + "branch-alias": { + "dev-master": "4.9-dev" } }, "autoload": { "psr-4": { - "Livewire\\": "src/" + "PhpParser\\": "lib/PhpParser" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Caleb Porzio", - "email": "calebporzio@gmail.com" + "name": "Nikita Popov" } ], - "description": "A front-end framework for Laravel.", + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], "support": { - "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v1.3.5" + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2" }, - "funding": [ - { - "url": "https://github.com/calebporzio", - "type": "github" - } - ], - "time": "2020-09-17T04:38:16+00:00" + "time": "2020-09-26T10:30:38+00:00" }, { - "name": "malkusch/lock", - "version": "1.0.0", + "name": "opis/closure", + "version": "3.5.7", "source": { "type": "git", - "url": "https://github.com/malkusch/lock.git", - "reference": "5555f291092a0ed5ab4f02d8be7031b877d8d165" + "url": "https://github.com/opis/closure.git", + "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/malkusch/lock/zipball/5555f291092a0ed5ab4f02d8be7031b877d8d165", - "reference": "5555f291092a0ed5ab4f02d8be7031b877d8d165", + "url": "https://api.github.com/repos/opis/closure/zipball/4531e53afe2fc660403e76fb7644e95998bff7bf", + "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf", "shasum": "" }, "require": { - "php": ">=5.6", - "psr/log": "^1" + "php": "^5.4 || ^7.0" }, "require-dev": { - "ext-redis": "^2.2.4|^3", - "kriswallsmith/spork": "^0.3", - "mikey179/vfsstream": "^1.5.0", - "php-mock/php-mock-phpunit": "^1", - "phpunit/phpunit": "^5", - "predis/predis": "~1.0", - "zetacomponents/system-information": "~1.1" + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.5.x-dev" + } + }, "autoload": { "psr-4": { - "malkusch\\lock\\": "classes/" - } + "Opis\\Closure\\": "src/" + }, + "files": [ + "functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "WTFPL" + "MIT" ], "authors": [ { - "name": "Markus Malkusch", - "email": "markus@malkusch.de", - "homepage": "http://markus.malkusch.de", - "role": "Developer" + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" } ], - "description": "Mutex library for exclusive code execution.", - "homepage": "https://github.com/malkusch/lock", + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", "keywords": [ - "cas", - "flock", - "lock", - "memcache", - "mutex", - "redis", - "redlock", - "semaphore" + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" ], "support": { - "issues": "https://github.com/malkusch/lock/issues", - "source": "https://github.com/malkusch/lock/tree/master" + "issues": "https://github.com/opis/closure/issues", + "source": "https://github.com/opis/closure/tree/3.5.7" }, - "time": "2016-08-05T11:03:36+00:00" + "time": "2020-09-06T17:02:15+00:00" }, { - "name": "marcreichel/igdb-laravel", - "version": "1.0.2", + "name": "paragonie/constant_time_encoding", + "version": "v2.3.0", "source": { "type": "git", - "url": "https://github.com/marcreichel/igdb-laravel.git", - "reference": "63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d" + "url": "https://github.com/paragonie/constant_time_encoding.git", + "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/marcreichel/igdb-laravel/zipball/63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d", - "reference": "63ff7a1c5258b4f09cbd95e1bb7c0a289354f27d", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", + "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", "shasum": "" }, "require": { - "ext-json": "*", - "guzzlehttp/guzzle": "~6.0|~7.0", - "laravel/framework": "5.8.*|^6.0|^7.0|^8.0", - "php": "^7.2.5" + "php": "^7|^8" }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "MarcReichel\\IGDBLaravel\\IGDBLaravelServiceProvider" - ] - } + "require-dev": { + "phpunit/phpunit": "^6|^7", + "vimeo/psalm": "^1|^2|^3" }, + "type": "library", "autoload": { "psr-4": { - "MarcReichel\\IGDBLaravel\\": "src" + "ParagonIE\\ConstantTime\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3499,247 +3352,200 @@ ], "authors": [ { - "name": "Marc Reichel", - "email": "mail@marcreichel.de" + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com", + "role": "Maintainer" + }, + { + "name": "Steve 'Sc00bz' Thomas", + "email": "steve@tobtu.com", + "homepage": "https://www.tobtu.com", + "role": "Original Developer" } ], - "description": "A Laravel Wrapper for the IGDB API v3", + "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)", "keywords": [ - "api-wrapper", - "apicalypse", - "igdb", - "igdb-api", - "laravel", - "wrapper" + "base16", + "base32", + "base32_decode", + "base32_encode", + "base64", + "base64_decode", + "base64_encode", + "bin2hex", + "encoding", + "hex", + "hex2bin", + "rfc4648" ], "support": { - "issues": "https://github.com/marcreichel/igdb-laravel/issues", - "source": "https://github.com/marcreichel/igdb-laravel/tree/1.0.2" + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/constant_time_encoding/issues", + "source": "https://github.com/paragonie/constant_time_encoding" }, - "funding": [ - { - "url": "https://github.com/marcreichel", - "type": "github" - } - ], - "time": "2020-09-08T16:59:40+00:00" + "time": "2019-11-06T19:20:29+00:00" }, { - "name": "mews/purifier", - "version": "3.3.0", + "name": "paragonie/random_compat", + "version": "v9.99.99", "source": { "type": "git", - "url": "https://github.com/mewebstudio/Purifier.git", - "reference": "da76c8705550d549a8723ffe7368c0f5554652a1" + "url": "https://github.com/paragonie/random_compat.git", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mewebstudio/Purifier/zipball/da76c8705550d549a8723ffe7368c0f5554652a1", - "reference": "da76c8705550d549a8723ffe7368c0f5554652a1", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", "shasum": "" }, "require": { - "ezyang/htmlpurifier": "4.13.*", - "illuminate/config": "^5.8|^6.0|^7.0|^8.0", - "illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0", - "illuminate/support": "^5.8|^6.0|^7.0|^8.0", - "php": "^7.2" + "php": "^7" }, "require-dev": { - "graham-campbell/testbench": "^3.2|^5.5.1", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^8.0|^9.0" + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" }, "suggest": { - "laravel/framework": "To test the Laravel bindings", - "laravel/lumen-framework": "To test the Lumen bindings" - }, - "type": "package", - "extra": { - "laravel": { - "providers": [ - "Mews\\Purifier\\PurifierServiceProvider" - ], - "aliases": { - "Purifier": "Mews\\Purifier\\Facades\\Purifier" - } - } - }, - "autoload": { - "psr-4": { - "Mews\\Purifier\\": "src/" - }, - "files": [ - "src/helpers.php" - ] + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." }, + "type": "library", "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Muharrem ERİN", - "email": "me@mewebstudio.com", - "homepage": "https://github.com/mewebstudio", - "role": "Developer" + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" } ], - "description": "Laravel 5/6/7 HtmlPurifier Package", - "homepage": "https://github.com/mewebstudio/purifier", + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", "keywords": [ - "Purifier", - "htmlpurifier", - "laravel5 HtmlPurifier", - "laravel5 Purifier", - "laravel5 Security", - "laravel6 HtmlPurifier", - "laravel6 Purifier", - "laravel6 Security", - "security", - "xss" + "csprng", + "polyfill", + "pseudorandom", + "random" ], "support": { - "issues": "https://github.com/mewebstudio/Purifier/issues", - "source": "https://github.com/mewebstudio/Purifier/tree/3.3.0" + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/random_compat/issues", + "source": "https://github.com/paragonie/random_compat" }, - "time": "2020-09-10T22:30:34+00:00" + "time": "2018-07-02T15:55:56+00:00" }, { - "name": "monolog/monolog", - "version": "2.1.1", + "name": "phpoption/phpoption", + "version": "1.7.5", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5" + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9eee5cec93dfb313a38b6b288741e84e53f02d5", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525", + "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1" - }, - "provide": { - "psr/log-implementation": "1.0.0" + "php": "^5.5.9 || ^7.0 || ^8.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", - "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^6.0", - "graylog2/gelf-php": "^1.4.2", - "php-amqplib/php-amqplib": "~2.4", - "php-console/php-console": "^3.1.3", - "php-parallel-lint/php-parallel-lint": "^1.0", - "phpspec/prophecy": "^1.6.1", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1", - "rollbar/rollbar": "^1.3", - "ruflin/elastica": ">=0.90 <3.0", - "swiftmailer/swiftmailer": "^5.3|^6.0" - }, - "suggest": { - "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", - "doctrine/couchdb": "Allow sending log messages to a CouchDB server", - "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", - "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mbstring": "Allow to work properly with unicode symbols", - "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", - "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", - "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", - "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + "bamarni/composer-bin-plugin": "^1.4.1", + "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "1.7-dev" } }, "autoload": { "psr-4": { - "Monolog\\": "src/Monolog" + "PhpOption\\": "src/PhpOption/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "Apache-2.0" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com" } ], - "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", + "description": "Option Type for PHP", "keywords": [ - "log", - "logging", - "psr-3" + "language", + "option", + "php", + "type" ], - "support": { - "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.1.1" + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.7.5" }, "funding": [ { - "url": "https://github.com/Seldaek", + "url": "https://github.com/GrahamCampbell", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", "type": "tidelift" } ], - "time": "2020-07-23T08:41:23+00:00" + "time": "2020-07-20T17:29:33+00:00" }, { - "name": "nelexa/zip", - "version": "3.3.3", + "name": "predis/predis", + "version": "v1.1.6", "source": { "type": "git", - "url": "https://github.com/Ne-Lexa/php-zip.git", - "reference": "501b52f6fc393a599b44ff348a42740e1eaac7c6" + "url": "https://github.com/predis/predis.git", + "reference": "9930e933c67446962997b05201c69c2319bf26de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ne-Lexa/php-zip/zipball/501b52f6fc393a599b44ff348a42740e1eaac7c6", - "reference": "501b52f6fc393a599b44ff348a42740e1eaac7c6", + "url": "https://api.github.com/repos/predis/predis/zipball/9930e933c67446962997b05201c69c2319bf26de", + "reference": "9930e933c67446962997b05201c69c2319bf26de", "shasum": "" }, "require": { - "ext-zlib": "*", - "paragonie/random_compat": "*", - "php": "^5.5.9 || ^7.0", - "psr/http-message": "^1.0", - "symfony/finder": "^3.0|^4.0|^5.0" + "php": ">=5.3.9" }, "require-dev": { - "ext-bz2": "*", - "ext-fileinfo": "*", - "ext-openssl": "*", - "ext-xml": "*", - "guzzlehttp/psr7": "^1.6", - "phpunit/phpunit": "^4.8|^5.7", - "symfony/var-dumper": "^3.0|^4.0|^5.0" + "cweagans/composer-patches": "^1.6", + "phpunit/phpunit": "~4.8" }, "suggest": { - "ext-bz2": "Needed to support BZIP2 compression", - "ext-fileinfo": "Needed to get mime-type file", - "ext-mcrypt": "Needed to support encrypt zip entries or use ext-openssl", - "ext-openssl": "Needed to support encrypt zip entries or use ext-mcrypt" + "ext-curl": "Allows access to Webdis when paired with phpiredis", + "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" }, "type": "library", + "extra": { + "composer-exit-on-patch-failure": true, + "patches": { + "phpunit/phpunit-mock-objects": { + "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch" + }, + "phpunit/phpunit": { + "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch", + "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch" + } + } + }, "autoload": { "psr-4": { - "PhpZip\\": "src/" + "Predis\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3748,81 +3554,62 @@ ], "authors": [ { - "name": "Ne-Lexa", - "email": "alexey@nelexa.ru", - "role": "Developer" + "name": "Daniele Alessandri", + "email": "suppakilla@gmail.com", + "homepage": "http://clorophilla.net", + "role": "Creator & Maintainer" + }, + { + "name": "Till Krüss", + "homepage": "https://till.im", + "role": "Maintainer" } ], - "description": "PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, ZipAlign tool, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.", - "homepage": "https://github.com/Ne-Lexa/php-zip", + "description": "Flexible and feature-complete Redis client for PHP and HHVM", + "homepage": "http://github.com/predis/predis", "keywords": [ - "archive", - "extract", - "unzip", - "winzip", - "zip", - "zipalign", - "ziparchive" + "nosql", + "predis", + "redis" ], "support": { - "issues": "https://github.com/Ne-Lexa/php-zip/issues", - "source": "https://github.com/Ne-Lexa/php-zip/tree/3.3.3" + "issues": "https://github.com/predis/predis/issues", + "source": "https://github.com/predis/predis/tree/v1.1.6" }, - "time": "2020-07-11T21:01:42+00:00" + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2020-09-11T19:18:05+00:00" }, { - "name": "nesbot/carbon", - "version": "2.40.1", + "name": "psr/container", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "d9a76d8b7eb0f97cf3a82529393245212f40ba3b" + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d9a76d8b7eb0f97cf3a82529393245212f40ba3b", - "reference": "d9a76d8b7eb0f97cf3a82529393245212f40ba3b", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.1.8 || ^8.0", - "symfony/polyfill-mbstring": "^1.0", - "symfony/translation": "^3.4 || ^4.0 || ^5.0" - }, - "require-dev": { - "doctrine/orm": "^2.7", - "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", - "kylekatarnls/multi-tester": "^2.0", - "phpmd/phpmd": "^2.9", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.35", - "phpunit/phpunit": "^7.5 || ^8.0", - "squizlabs/php_codesniffer": "^3.4" + "php": ">=5.3.0" }, - "bin": [ - "bin/carbon" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev", - "dev-3.x": "3.x-dev" - }, - "laravel": { - "providers": [ - "Carbon\\Laravel\\ServiceProvider" - ] - }, - "phpstan": { - "includes": [ - "extension.neon" - ] + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "Carbon\\": "src/Carbon/" + "Psr\\Container\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3831,128 +3618,103 @@ ], "authors": [ { - "name": "Brian Nesbitt", - "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" - }, - { - "name": "kylekatarnls", - "homepage": "http://github.com/kylekatarnls" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "An API extension for DateTime that supports 281 different languages.", - "homepage": "http://carbon.nesbot.com", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ - "date", - "datetime", - "time" + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" ], "support": { - "issues": "https://github.com/briannesbitt/Carbon/issues", - "source": "https://github.com/briannesbitt/Carbon" + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" }, - "funding": [ - { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" - }, - { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", - "type": "tidelift" - } - ], - "time": "2020-09-23T08:17:37+00:00" + "time": "2017-02-14T16:28:37+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.10.2", + "name": "psr/event-dispatcher", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "658f1be311a230e0907f5dfe0213742aff0596de" + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/658f1be311a230e0907f5dfe0213742aff0596de", - "reference": "658f1be311a230e0907f5dfe0213742aff0596de", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "php": ">=7.2.0" }, - "bin": [ - "bin/php-parse" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "PhpParser\\": "lib/PhpParser" + "Psr\\EventDispatcher\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Nikita Popov" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A PHP parser written in PHP", + "description": "Standard interfaces for event handling.", "keywords": [ - "parser", - "php" + "events", + "psr", + "psr-14" ], "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2" + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "time": "2020-09-26T10:30:38+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "opis/closure", - "version": "3.5.7", + "name": "psr/http-client", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/opis/closure.git", - "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf" + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opis/closure/zipball/4531e53afe2fc660403e76fb7644e95998bff7bf", - "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "shasum": "" }, "require": { - "php": "^5.4 || ^7.0" - }, - "require-dev": { - "jeremeamia/superclosure": "^2.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.5.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "Opis\\Closure\\": "src/" - }, - "files": [ - "functions.php" - ] + "Psr\\Http\\Client\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3960,55 +3722,46 @@ ], "authors": [ { - "name": "Marius Sarca", - "email": "marius.sarca@gmail.com" - }, - { - "name": "Sorin Sarca", - "email": "sarca_sorin@hotmail.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", - "homepage": "https://opis.io/closure", - "keywords": [ - "anonymous functions", - "closure", - "function", - "serializable", - "serialization", - "serialize" - ], - "support": { - "issues": "https://github.com/opis/closure/issues", - "source": "https://github.com/opis/closure/tree/3.5.7" - }, - "time": "2020-09-06T17:02:15+00:00" + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "time": "2020-06-29T06:28:15+00:00" }, { - "name": "paragonie/constant_time_encoding", - "version": "v2.3.0", + "name": "psr/http-message", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2" + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", - "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, "require": { - "php": "^7|^8" - }, - "require-dev": { - "phpunit/phpunit": "^6|^7", - "vimeo/psalm": "^1|^2|^3" + "php": ">=5.3.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "ParagonIE\\ConstantTime\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4017,249 +3770,175 @@ ], "authors": [ { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com", - "role": "Maintainer" - }, - { - "name": "Steve 'Sc00bz' Thomas", - "email": "steve@tobtu.com", - "homepage": "https://www.tobtu.com", - "role": "Original Developer" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)", + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ - "base16", - "base32", - "base32_decode", - "base32_encode", - "base64", - "base64_decode", - "base64_encode", - "bin2hex", - "encoding", - "hex", - "hex2bin", - "rfc4648" + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" ], "support": { - "email": "info@paragonie.com", - "issues": "https://github.com/paragonie/constant_time_encoding/issues", - "source": "https://github.com/paragonie/constant_time_encoding" + "source": "https://github.com/php-fig/http-message/tree/master" }, - "time": "2019-11-06T19:20:29+00:00" + "time": "2016-08-06T14:39:51+00:00" }, { - "name": "paragonie/random_compat", - "version": "v9.99.99", + "name": "psr/log", + "version": "1.1.3", "source": { "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" + "url": "https://github.com/php-fig/log.git", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", "shasum": "" }, "require": { - "php": "^7" + "php": ">=5.3.0" }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*", - "vimeo/psalm": "^1" + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } }, - "type": "library", "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" + "log", + "psr", + "psr-3" ], "support": { - "email": "info@paragonie.com", - "issues": "https://github.com/paragonie/random_compat/issues", - "source": "https://github.com/paragonie/random_compat" + "source": "https://github.com/php-fig/log/tree/1.1.3" }, - "time": "2018-07-02T15:55:56+00:00" + "time": "2020-03-23T09:12:05+00:00" }, { - "name": "phpoption/phpoption", - "version": "1.7.5", + "name": "psr/simple-cache", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/schmittjoh/php-option.git", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "PhpOption\\": "src/PhpOption/" + "Psr\\SimpleCache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "Johannes M. Schmitt", - "email": "schmittjoh@gmail.com" - }, - { - "name": "Graham Campbell", - "email": "graham@alt-three.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Option Type for PHP", + "description": "Common interfaces for simple caching", "keywords": [ - "language", - "option", - "php", - "type" + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" ], "support": { - "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.7.5" + "source": "https://github.com/php-fig/simple-cache/tree/master" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", - "type": "tidelift" - } - ], - "time": "2020-07-20T17:29:33+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { - "name": "phpro/grumphp", - "version": "v0.19.1", + "name": "psy/psysh", + "version": "v0.10.4", "source": { "type": "git", - "url": "https://github.com/phpro/grumphp.git", - "reference": "3be2d5fe8437f2a3ef5a45629602657be7464e8a" + "url": "https://github.com/bobthecow/psysh.git", + "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpro/grumphp/zipball/3be2d5fe8437f2a3ef5a45629602657be7464e8a", - "reference": "3be2d5fe8437f2a3ef5a45629602657be7464e8a", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/a8aec1b2981ab66882a01cce36a49b6317dc3560", + "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560", "shasum": "" }, "require": { - "amphp/amp": "^2.4", - "amphp/parallel": "^1.4", - "amphp/parallel-functions": "^0.1.3", - "composer-plugin-api": "~1.0 || ~2.0", - "doctrine/collections": "~1.2", + "dnoegel/php-xdg-base-dir": "0.1.*", "ext-json": "*", - "gitonomy/gitlib": "^1.0.3", - "monolog/monolog": "~1.16 || ^2.0", - "opis/closure": "^3.5", - "php": "^7.2", - "psr/container": "^1.0", - "seld/jsonlint": "~1.1", - "symfony/config": "~4.4 || ~5.0", - "symfony/console": "~4.4 || ~5.0", - "symfony/dependency-injection": "~4.4 || ~5.0", - "symfony/event-dispatcher": "~4.4 || ~5.0", - "symfony/filesystem": "~4.4 || ~5.0", - "symfony/finder": "~4.4 || ~5.0", - "symfony/options-resolver": "~4.4 || ~5.0", - "symfony/process": "~4.4 || ~5.0", - "symfony/yaml": "~4.4 || ~5.0" + "ext-tokenizer": "*", + "nikic/php-parser": "~4.0|~3.0|~2.0|~1.3", + "php": "^8.0 || ^7.0 || ^5.5.9", + "symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10", + "symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7" }, "require-dev": { - "brianium/paratest": "~3.1 || dev-master", - "composer/composer": "~1.9 || ^2.0@dev", - "ergebnis/composer-normalize": "~2.1", - "jakub-onderka/php-parallel-lint": "~1.0", - "nikic/php-parser": "~4.0", - "phpspec/phpspec": "~6.1", - "phpunit/phpunit": "^7.5.17", - "sensiolabs/security-checker": "~6.0", - "squizlabs/php_codesniffer": "~3.5" + "bamarni/composer-bin-plugin": "^1.2", + "hoa/console": "3.17.*" }, - "suggest": { - "atoum/atoum": "Lets GrumPHP run your unit tests.", - "behat/behat": "Lets GrumPHP validate your project features.", - "brianium/paratest": "Lets GrumPHP run PHPUnit in parallel.", - "codeception/codeception": "Lets GrumPHP run your project's full stack tests", - "codegyre/robo": "Lets GrumPHP run your automated PHP tasks.", - "designsecurity/progpilot": "Lets GrumPHP be sure that there are no vulnerabilities in your code.", - "doctrine/orm": "Lets GrumPHP validate your Doctrine mapping files.", - "ergebnis/composer-normalize": "Lets GrumPHP tidy and normalize your composer.json file.", - "friendsofphp/php-cs-fixer": "Lets GrumPHP automatically fix your codestyle.", - "friendsoftwig/twigcs": "Lets GrumPHP check Twig coding standard.", - "infection/infection": "Lets GrumPHP evaluate the quality your unit tests", - "jakub-onderka/php-parallel-lint": "Lets GrumPHP quickly lint your entire code base.", - "maglnet/composer-require-checker": "Lets GrumPHP analyze composer dependencies.", - "malukenho/kawaii-gherkin": "Lets GrumPHP lint your Gherkin files.", - "nikic/php-parser": "Lets GrumPHP run static analyses through your PHP files.", - "phan/phan": "Lets GrumPHP unleash a static analyzer on your code", - "phing/phing": "Lets GrumPHP run your automated PHP tasks.", - "phpmd/phpmd": "Lets GrumPHP sort out the mess in your code", - "phpspec/phpspec": "Lets GrumPHP spec your code.", - "phpstan/phpstan": "Lets GrumPHP discover bugs in your code without running it.", - "phpunit/phpunit": "Lets GrumPHP run your unit tests.", - "povils/phpmnd": "Lets GrumPHP help you detect magic numbers in PHP code.", - "roave/security-advisories": "Lets GrumPHP be sure that there are no known security issues.", - "sebastian/phpcpd": "Lets GrumPHP find duplicated code.", - "sensiolabs/security-checker": "Lets GrumPHP be sure that there are no known security issues.", - "squizlabs/php_codesniffer": "Lets GrumPHP sniff on your code.", - "sstalle/php7cc": "Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.", - "symfony/phpunit-bridge": "Lets GrumPHP run your unit tests with the phpunit-bridge of Symfony.", - "symplify/easycodingstandard": "Lets GrumPHP check coding standard.", - "vimeo/psalm": "Lets GrumPHP discover errors in your code without running it." + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", + "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", + "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." }, "bin": [ - "bin/grumphp" + "bin/psysh" ], - "type": "composer-plugin", + "type": "library", "extra": { - "class": "GrumPHP\\Composer\\GrumPHPPlugin" + "branch-alias": { + "dev-master": "0.10.x-dev" + } }, "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { - "GrumPHP\\": "src" + "Psy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4268,63 +3947,51 @@ ], "authors": [ { - "name": "Toon Verwerft", - "email": "toon.verwerft@phpro.be" - }, - { - "name": "Community", - "homepage": "https://github.com/phpro/grumphp/graphs/contributors" + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" } ], - "description": "A composer plugin that enables source code quality checks.", + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ], "support": { - "issues": "https://github.com/phpro/grumphp/issues", - "source": "https://github.com/phpro/grumphp/tree/v0.19.1" + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/master" }, - "time": "2020-06-24T05:17:37+00:00" + "time": "2020-05-03T19:32:03+00:00" }, { - "name": "predis/predis", - "version": "v1.1.6", + "name": "ralouphie/getallheaders", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/predis/predis.git", - "reference": "9930e933c67446962997b05201c69c2319bf26de" + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/predis/predis/zipball/9930e933c67446962997b05201c69c2319bf26de", - "reference": "9930e933c67446962997b05201c69c2319bf26de", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.6" }, "require-dev": { - "cweagans/composer-patches": "^1.6", - "phpunit/phpunit": "~4.8" - }, - "suggest": { - "ext-curl": "Allows access to Webdis when paired with phpiredis", - "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" }, "type": "library", - "extra": { - "composer-exit-on-patch-failure": true, - "patches": { - "phpunit/phpunit-mock-objects": { - "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch" - }, - "phpunit/phpunit": { - "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch", - "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch" - } - } - }, "autoload": { - "psr-4": { - "Predis\\": "src/" - } + "files": [ + "src/getallheaders.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4332,62 +3999,56 @@ ], "authors": [ { - "name": "Daniele Alessandri", - "email": "suppakilla@gmail.com", - "homepage": "http://clorophilla.net", - "role": "Creator & Maintainer" - }, - { - "name": "Till Krüss", - "homepage": "https://till.im", - "role": "Maintainer" + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" } ], - "description": "Flexible and feature-complete Redis client for PHP and HHVM", - "homepage": "http://github.com/predis/predis", - "keywords": [ - "nosql", - "predis", - "redis" - ], + "description": "A polyfill for getallheaders.", "support": { - "issues": "https://github.com/predis/predis/issues", - "source": "https://github.com/predis/predis/tree/v1.1.6" + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" }, - "funding": [ - { - "url": "https://github.com/sponsors/tillkruss", - "type": "github" - } - ], - "time": "2020-09-11T19:18:05+00:00" + "time": "2019-03-08T08:55:37+00:00" }, { - "name": "psr/container", - "version": "1.0.0", + "name": "ramsey/collection", + "version": "1.1.1", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "url": "https://github.com/ramsey/collection.git", + "reference": "24d93aefb2cd786b7edd9f45b554aea20b28b9b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/ramsey/collection/zipball/24d93aefb2cd786b7edd9f45b554aea20b28b9b1", + "reference": "24d93aefb2cd786b7edd9f45b554aea20b28b9b1", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } + "require-dev": { + "captainhook/captainhook": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "ergebnis/composer-normalize": "^2.6", + "fzaninotto/faker": "^1.5", + "hamcrest/hamcrest-php": "^2", + "jangregor/phpstan-prophecy": "^0.6", + "mockery/mockery": "^1.3", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^0.12.32", + "phpstan/phpstan-mockery": "^0.12.5", + "phpstan/phpstan-phpunit": "^0.12.11", + "phpunit/phpunit": "^8.5", + "psy/psysh": "^0.10.4", + "slevomat/coding-standard": "^6.3", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^3.12.2" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Ramsey\\Collection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4396,101 +4057,140 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "A PHP 7.2+ library for representing and manipulating collections.", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "array", + "collection", + "hash", + "map", + "queue", + "set" ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" - }, - "time": "2017-02-14T16:28:37+00:00" + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + } + ], + "time": "2020-09-10T20:58:17+00:00" }, { - "name": "psr/event-dispatcher", - "version": "1.0.0", + "name": "ramsey/uuid", + "version": "4.1.1", "source": { "type": "git", - "url": "https://github.com/php-fig/event-dispatcher.git", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + "url": "https://github.com/ramsey/uuid.git", + "reference": "cd4032040a750077205918c86049aa0f43d22947" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/cd4032040a750077205918c86049aa0f43d22947", + "reference": "cd4032040a750077205918c86049aa0f43d22947", "shasum": "" }, "require": { - "php": ">=7.2.0" + "brick/math": "^0.8 || ^0.9", + "ext-json": "*", + "php": "^7.2 || ^8", + "ramsey/collection": "^1.0", + "symfony/polyfill-ctype": "^1.8" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "codeception/aspect-mock": "^3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0", + "doctrine/annotations": "^1.8", + "goaop/framework": "^2", + "mockery/mockery": "^1.3", + "moontoast/math": "^1.1", + "paragonie/random-lib": "^2", + "php-mock/php-mock-mockery": "^1.3", + "php-mock/php-mock-phpunit": "^2.5", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^0.17.1", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-mockery": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^8.5", + "psy/psysh": "^0.10.0", + "slevomat/coding-standard": "^6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "3.9.4" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-ctype": "Enables faster processing of character classification using ctype functions.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "4.x-dev" } }, "autoload": { "psr-4": { - "Psr\\EventDispatcher\\": "src/" - } + "Ramsey\\Uuid\\": "src/" + }, + "files": [ + "src/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "homepage": "https://github.com/ramsey/uuid", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "funding": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "url": "https://github.com/ramsey", + "type": "github" } ], - "description": "Standard interfaces for event handling.", - "keywords": [ - "events", - "psr", - "psr-14" - ], - "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" - }, - "time": "2019-01-08T18:20:26+00:00" + "time": "2020-08-18T17:17:46+00:00" }, { - "name": "psr/http-message", - "version": "1.0.1", + "name": "spatie/db-dumper", + "version": "2.17.0", "source": { "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "url": "https://github.com/spatie/db-dumper.git", + "reference": "d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a", + "reference": "d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2", + "symfony/process": "^4.2|^5.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^7.0|^8.0" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Http\\Message\\": "src/" + "Spatie\\DbDumper\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4499,51 +4199,61 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", + "description": "Dump databases", + "homepage": "https://github.com/spatie/db-dumper", "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" + "database", + "db-dumper", + "dump", + "mysqldump", + "spatie" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "issues": "https://github.com/spatie/db-dumper/issues", + "source": "https://github.com/spatie/db-dumper/tree/2.17.0" }, - "time": "2016-08-06T14:39:51+00:00" + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2020-09-10T14:52:52+00:00" }, { - "name": "psr/log", - "version": "1.1.3", + "name": "spatie/image-optimizer", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + "url": "https://github.com/spatie/image-optimizer.git", + "reference": "9c1d470e34b28b715d25edb539dd6c899461527c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/9c1d470e34b28b715d25edb539dd6c899461527c", + "reference": "9c1d470e34b28b715d25edb539dd6c899461527c", "shasum": "" }, "require": { - "php": ">=5.3.0" + "ext-fileinfo": "*", + "php": "^7.2", + "psr/log": "^1.0", + "symfony/process": "^4.2|^5.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^8.0", + "symfony/var-dumper": "^4.2|^5.0" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Spatie\\ImageOptimizer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4552,49 +4262,77 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", + "description": "Easily optimize images using PHP", + "homepage": "https://github.com/spatie/image-optimizer", "keywords": [ - "log", - "psr", - "psr-3" + "image-optimizer", + "spatie" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" + "issues": "https://github.com/spatie/image-optimizer/issues", + "source": "https://github.com/spatie/image-optimizer/tree/master" }, - "time": "2020-03-23T09:12:05+00:00" + "time": "2019-11-25T12:29:24+00:00" }, { - "name": "psr/simple-cache", - "version": "1.0.1", + "name": "spatie/laravel-backup", + "version": "6.11.4", "source": { "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + "url": "https://github.com/spatie/laravel-backup.git", + "reference": "3aea94ae9a326871b702ccc358e91683d7782666" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/3aea94ae9a326871b702ccc358e91683d7782666", + "reference": "3aea94ae9a326871b702ccc358e91683d7782666", "shasum": "" }, "require": { - "php": ">=5.3.0" + "illuminate/console": "^5.8.15|^6.0|^7.0|^8.0", + "illuminate/contracts": "^5.8.15|^6.0|^7.0|^8.0", + "illuminate/events": "^5.8.15|^6.0|^7.0|^8.0", + "illuminate/filesystem": "^5.8.15|^6.0|^7.0|^8.0", + "illuminate/notifications": "^5.8.15|^6.0|^7.0|^8.0", + "illuminate/support": "^5.8.15|^6.0|^7.0|^8.0", + "league/flysystem": "^1.0.49", + "php": "^7.3", + "spatie/db-dumper": "^2.12", + "spatie/temporary-directory": "^1.1", + "symfony/finder": "^4.2|^5.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.16", + "laravel/slack-notification-channel": "^1.0", + "league/flysystem-aws-s3-v3": "^1.0", + "mockery/mockery": "^1.3", + "orchestra/testbench": "3.8.*|4.*|5.*|6.*", + "phpunit/phpunit": "^8.4|^9.0" + }, + "suggest": { + "laravel/slack-notification-channel": "Required for sending notifications via Slack" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" + "laravel": { + "providers": [ + "Spatie\\Backup\\BackupServiceProvider" + ] } }, "autoload": { "psr-4": { - "Psr\\SimpleCache\\": "src/" - } + "Spatie\\Backup\\": "src" + }, + "files": [ + "src/Helpers/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4602,72 +4340,71 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "Common interfaces for simple caching", + "description": "A Laravel package to backup your application", + "homepage": "https://github.com/spatie/laravel-backup", "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" + "backup", + "database", + "laravel-backup", + "spatie" ], "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" + "issues": "https://github.com/spatie/laravel-backup/issues", + "source": "https://github.com/spatie/laravel-backup/tree/6.11.4" }, - "time": "2017-10-23T01:57:42+00:00" + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2020-09-30T06:58:20+00:00" }, { - "name": "psy/psysh", - "version": "v0.10.4", + "name": "spatie/laravel-cookie-consent", + "version": "2.12.9", "source": { "type": "git", - "url": "https://github.com/bobthecow/psysh.git", - "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560" + "url": "https://github.com/spatie/laravel-cookie-consent.git", + "reference": "423f17b60aaca47431414d0a0ef07614711f73d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/a8aec1b2981ab66882a01cce36a49b6317dc3560", - "reference": "a8aec1b2981ab66882a01cce36a49b6317dc3560", + "url": "https://api.github.com/repos/spatie/laravel-cookie-consent/zipball/423f17b60aaca47431414d0a0ef07614711f73d0", + "reference": "423f17b60aaca47431414d0a0ef07614711f73d0", "shasum": "" }, "require": { - "dnoegel/php-xdg-base-dir": "0.1.*", - "ext-json": "*", - "ext-tokenizer": "*", - "nikic/php-parser": "~4.0|~3.0|~2.0|~1.3", - "php": "^8.0 || ^7.0 || ^5.5.9", - "symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10", - "symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7" + "illuminate/cookie": "~5.8.0|^6.0|^7.0|^8.0", + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0", + "illuminate/view": "~5.8.0|^6.0|^7.0|^8.0", + "php": "^7.2" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "hoa/console": "3.17.*" - }, - "suggest": { - "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", - "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", - "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." + "fzaninotto/faker": "~1.4", + "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.0" }, - "bin": [ - "bin/psysh" - ], "type": "library", "extra": { - "branch-alias": { - "dev-master": "0.10.x-dev" + "laravel": { + "providers": [ + "Spatie\\CookieConsent\\CookieConsentServiceProvider" + ] } }, "autoload": { - "files": [ - "src/functions.php" - ], "psr-4": { - "Psy\\": "src/" + "Spatie\\CookieConsent\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4676,51 +4413,79 @@ ], "authors": [ { - "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + }, + { + "name": "Willem Van Bockstal", + "email": "willem@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "An interactive shell for modern PHP.", - "homepage": "http://psysh.org", + "description": "Make your Laravel app comply with the crazy EU cookie law", + "homepage": "https://github.com/spatie/cookie-consent", "keywords": [ - "REPL", - "console", - "interactive", - "shell" + "comply", + "cookie", + "cookie-consent", + "eu", + "law", + "spatie" ], "support": { - "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/master" + "issues": "https://github.com/spatie/laravel-cookie-consent/issues", + "source": "https://github.com/spatie/laravel-cookie-consent/tree/2.12.9" }, - "time": "2020-05-03T19:32:03+00:00" + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + } + ], + "time": "2020-09-09T07:21:51+00:00" }, { - "name": "ralouphie/getallheaders", - "version": "3.0.3", + "name": "spatie/laravel-image-optimizer", + "version": "1.6.3", "source": { "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" + "url": "https://github.com/spatie/laravel-image-optimizer.git", + "reference": "8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", + "url": "https://api.github.com/repos/spatie/laravel-image-optimizer/zipball/8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c", + "reference": "8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c", "shasum": "" }, "require": { - "php": ">=5.6" + "laravel/framework": "^6.0|^7.0|^8.0", + "php": "^7.2", + "spatie/image-optimizer": "^1.2.0" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" + "friendsofphp/php-cs-fixer": "^2.16", + "orchestra/testbench": "^4.0|^5.0|^6.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelImageOptimizer\\ImageOptimizerServiceProvider" + ], + "aliases": { + "ImageOptimizer": "Spatie\\LaravelImageOptimizer\\Facades\\ImageOptimizer" + } + } }, - "type": "library", "autoload": { - "files": [ - "src/getallheaders.php" - ] + "psr-4": { + "Spatie\\LaravelImageOptimizer\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4728,75 +4493,55 @@ ], "authors": [ { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "A polyfill for getallheaders.", + "description": "Optimize images in your Laravel app", + "homepage": "https://github.com/spatie/laravel-image-optimizer", + "keywords": [ + "laravel-image-optimizer", + "spatie" + ], "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" + "issues": "https://github.com/spatie/laravel-image-optimizer/issues", + "source": "https://github.com/spatie/laravel-image-optimizer/tree/master" }, - "time": "2019-03-08T08:55:37+00:00" + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + } + ], + "time": "2020-09-08T19:46:59+00:00" }, { - "name": "ramsey/uuid", - "version": "3.9.3", + "name": "spatie/macroable", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/ramsey/uuid.git", - "reference": "7e1633a6964b48589b142d60542f9ed31bd37a92" + "url": "https://github.com/spatie/macroable.git", + "reference": "74b0d189ce75142f1706aad834d5a428dfc7c3c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/7e1633a6964b48589b142d60542f9ed31bd37a92", - "reference": "7e1633a6964b48589b142d60542f9ed31bd37a92", + "url": "https://api.github.com/repos/spatie/macroable/zipball/74b0d189ce75142f1706aad834d5a428dfc7c3c3", + "reference": "74b0d189ce75142f1706aad834d5a428dfc7c3c3", "shasum": "" }, "require": { - "ext-json": "*", - "paragonie/random_compat": "^1 | ^2 | 9.99.99", - "php": "^5.4 | ^7 | ^8", - "symfony/polyfill-ctype": "^1.8" - }, - "replace": { - "rhumsaa/uuid": "self.version" + "php": "^7.0" }, "require-dev": { - "codeception/aspect-mock": "^1 | ^2", - "doctrine/annotations": "^1.2", - "goaop/framework": "1.0.0-alpha.2 | ^1 | ^2.1", - "jakub-onderka/php-parallel-lint": "^1", - "mockery/mockery": "^0.9.11 | ^1", - "moontoast/math": "^1.1", - "paragonie/random-lib": "^2", - "php-mock/php-mock-phpunit": "^0.3 | ^1.1", - "phpunit/phpunit": "^4.8 | ^5.4 | ^6.5", - "squizlabs/php_codesniffer": "^3.5" - }, - "suggest": { - "ext-ctype": "Provides support for PHP Ctype functions", - "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", - "ext-openssl": "Provides the OpenSSL extension for use with the OpenSslGenerator", - "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", - "moontoast/math": "Provides support for converting UUID to 128-bit integer (in string form).", - "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", - "ramsey/uuid-console": "A console application for generating UUIDs with ramsey/uuid", - "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + "phpunit/phpunit": "^6.3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "autoload": { "psr-4": { - "Ramsey\\Uuid\\": "src/" - }, - "files": [ - "src/functions.php" - ] + "Spatie\\Macroable\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4804,62 +4549,57 @@ ], "authors": [ { - "name": "Ben Ramsey", - "email": "ben@benramsey.com", - "homepage": "https://benramsey.com" - }, - { - "name": "Marijn Huizendveld", - "email": "marijn.huizendveld@gmail.com" - }, - { - "name": "Thibaud Fabre", - "email": "thibaud@aztech.io" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", - "homepage": "https://github.com/ramsey/uuid", + "description": "A trait to dynamically add methods to a class", + "homepage": "https://github.com/spatie/macroable", "keywords": [ - "guid", - "identifier", - "uuid" + "macroable", + "spatie" ], "support": { - "issues": "https://github.com/ramsey/uuid/issues", - "rss": "https://github.com/ramsey/uuid/releases.atom", - "source": "https://github.com/ramsey/uuid", - "wiki": "https://github.com/ramsey/uuid/wiki" + "issues": "https://github.com/spatie/macroable/issues", + "source": "https://github.com/spatie/macroable/tree/master" }, - "time": "2020-02-21T04:36:14+00:00" + "time": "2017-09-18T09:51:20+00:00" }, { - "name": "seld/jsonlint", - "version": "1.8.2", + "name": "spatie/ssl-certificate", + "version": "1.19.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337" + "url": "https://github.com/spatie/ssl-certificate.git", + "reference": "0fba58aa801dc85fcc009dc1e8d1e71b97a6b250" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337", + "url": "https://api.github.com/repos/spatie/ssl-certificate/zipball/0fba58aa801dc85fcc009dc1e8d1e71b97a6b250", + "reference": "0fba58aa801dc85fcc009dc1e8d1e71b97a6b250", "shasum": "" }, "require": { - "php": "^5.3 || ^7.0 || ^8.0" + "ext-intl": "*", + "ext-json": "*", + "nesbot/carbon": "^1.15|^2.0", + "php": "^7.2", + "spatie/macroable": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^8.0", + "spatie/phpunit-snapshot-assertions": "^2.0" }, - "bin": [ - "bin/jsonlint" - ], "type": "library", "autoload": { "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" - } + "Spatie\\SslCertificate\\": "src" + }, + "files": [ + "src/helpers.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4867,59 +4607,54 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" } ], - "description": "JSON Linter", + "description": "A class to easily query the properties of an ssl certificate", + "homepage": "https://github.com/spatie/ssl-certificate", "keywords": [ - "json", - "linter", - "parser", - "validator" + "spatie", + "ssl-certificate" ], "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/master" + "issues": "https://github.com/spatie/ssl-certificate/issues", + "source": "https://github.com/spatie/ssl-certificate/tree/1.19.1" }, "funding": [ { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" + "url": "https://www.patreon.com/spatie", + "type": "patreon" } ], - "time": "2020-08-25T06:56:57+00:00" + "time": "2020-04-01T14:52:44+00:00" }, { - "name": "spatie/db-dumper", - "version": "2.17.0", + "name": "spatie/temporary-directory", + "version": "1.2.4", "source": { "type": "git", - "url": "https://github.com/spatie/db-dumper.git", - "reference": "d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a" + "url": "https://github.com/spatie/temporary-directory.git", + "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/db-dumper/zipball/d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a", - "reference": "d23bcb566443e862a8dbb6dbd5e8da03aaf98e2a", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/8efe8e61e0ca943d84341f10e51ef3a9606af932", + "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932", "shasum": "" }, "require": { - "php": "^7.2", - "symfony/process": "^4.2|^5.0" + "php": "^7.2" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0" + "phpunit/phpunit": "^8.0" }, "type": "library", "autoload": { "psr-4": { - "Spatie\\DbDumper\\": "src" + "Spatie\\TemporaryDirectory\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4928,139 +4663,149 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", + "name": "Alex Vanderbist", + "email": "alex@spatie.be", "homepage": "https://spatie.be", "role": "Developer" } ], - "description": "Dump databases", - "homepage": "https://github.com/spatie/db-dumper", + "description": "Easily create, use and destroy temporary directories", + "homepage": "https://github.com/spatie/temporary-directory", "keywords": [ - "database", - "db-dumper", - "dump", - "mysqldump", - "spatie" + "spatie", + "temporary-directory" ], "support": { - "issues": "https://github.com/spatie/db-dumper/issues", - "source": "https://github.com/spatie/db-dumper/tree/2.17.0" + "issues": "https://github.com/spatie/temporary-directory/issues", + "source": "https://github.com/spatie/temporary-directory/tree/master" }, - "funding": [ - { - "url": "https://github.com/spatie", - "type": "github" - } - ], - "time": "2020-09-10T14:52:52+00:00" + "time": "2020-09-07T20:41:15+00:00" }, { - "name": "spatie/image-optimizer", - "version": "1.2.1", + "name": "swiftmailer/swiftmailer", + "version": "v6.2.3", "source": { "type": "git", - "url": "https://github.com/spatie/image-optimizer.git", - "reference": "9c1d470e34b28b715d25edb539dd6c899461527c" + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/9c1d470e34b28b715d25edb539dd6c899461527c", - "reference": "9c1d470e34b28b715d25edb539dd6c899461527c", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/149cfdf118b169f7840bbe3ef0d4bc795d1780c9", + "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9", "shasum": "" }, "require": { - "ext-fileinfo": "*", - "php": "^7.2", - "psr/log": "^1.0", - "symfony/process": "^4.2|^5.0" + "egulias/email-validator": "~2.0", + "php": ">=7.0.0", + "symfony/polyfill-iconv": "^1.0", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", - "symfony/var-dumper": "^4.2|^5.0" + "mockery/mockery": "~0.9.1", + "symfony/phpunit-bridge": "^3.4.19|^4.1.8" + }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses", + "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" }, "type": "library", - "autoload": { - "psr-4": { - "Spatie\\ImageOptimizer\\": "src" + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" } }, + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" } ], - "description": "Easily optimize images using PHP", - "homepage": "https://github.com/spatie/image-optimizer", + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", "keywords": [ - "image-optimizer", - "spatie" + "email", + "mail", + "mailer" ], "support": { - "issues": "https://github.com/spatie/image-optimizer/issues", - "source": "https://github.com/spatie/image-optimizer/tree/master" + "issues": "https://github.com/swiftmailer/swiftmailer/issues", + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.3" }, - "time": "2019-11-25T12:29:24+00:00" + "time": "2019-11-12T09:31:26+00:00" }, { - "name": "spatie/laravel-backup", - "version": "6.11.4", + "name": "symfony/console", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/spatie/laravel-backup.git", - "reference": "3aea94ae9a326871b702ccc358e91683d7782666" + "url": "https://github.com/symfony/console.git", + "reference": "04c3a31fe8ea94b42c9e2d1acc93d19782133b00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/3aea94ae9a326871b702ccc358e91683d7782666", - "reference": "3aea94ae9a326871b702ccc358e91683d7782666", + "url": "https://api.github.com/repos/symfony/console/zipball/04c3a31fe8ea94b42c9e2d1acc93d19782133b00", + "reference": "04c3a31fe8ea94b42c9e2d1acc93d19782133b00", "shasum": "" }, "require": { - "illuminate/console": "^5.8.15|^6.0|^7.0|^8.0", - "illuminate/contracts": "^5.8.15|^6.0|^7.0|^8.0", - "illuminate/events": "^5.8.15|^6.0|^7.0|^8.0", - "illuminate/filesystem": "^5.8.15|^6.0|^7.0|^8.0", - "illuminate/notifications": "^5.8.15|^6.0|^7.0|^8.0", - "illuminate/support": "^5.8.15|^6.0|^7.0|^8.0", - "league/flysystem": "^1.0.49", - "php": "^7.3", - "spatie/db-dumper": "^2.12", - "spatie/temporary-directory": "^1.1", - "symfony/finder": "^4.2|^5.0" + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php80": "^1.15", + "symfony/service-contracts": "^1.1|^2", + "symfony/string": "^5.1" + }, + "conflict": { + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "laravel/slack-notification-channel": "^1.0", - "league/flysystem-aws-s3-v3": "^1.0", - "mockery/mockery": "^1.3", - "orchestra/testbench": "3.8.*|4.*|5.*|6.*", - "phpunit/phpunit": "^8.4|^9.0" + "psr/log": "~1.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { - "laravel/slack-notification-channel": "Required for sending notifications via Slack" + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Spatie\\Backup\\BackupServiceProvider" - ] + "branch-alias": { + "dev-master": "5.1-dev" } }, "autoload": { "psr-4": { - "Spatie\\Backup\\": "src" + "Symfony\\Component\\Console\\": "" }, - "files": [ - "src/Helpers/functions.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5069,72 +4814,62 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A Laravel package to backup your application", - "homepage": "https://github.com/spatie/laravel-backup", - "keywords": [ - "backup", - "database", - "laravel-backup", - "spatie" - ], - "support": { - "issues": "https://github.com/spatie/laravel-backup/issues", - "source": "https://github.com/spatie/laravel-backup/tree/6.11.4" - }, + "description": "Symfony Console Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://spatie.be/open-source/support-us", + "url": "https://symfony.com/sponsor", "type": "custom" }, { - "url": "https://github.com/spatie", + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-30T06:58:20+00:00" + "time": "2020-09-18T14:27:32+00:00" }, { - "name": "spatie/laravel-cookie-consent", - "version": "2.12.9", + "name": "symfony/css-selector", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/spatie/laravel-cookie-consent.git", - "reference": "423f17b60aaca47431414d0a0ef07614711f73d0" + "url": "https://github.com/symfony/css-selector.git", + "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-cookie-consent/zipball/423f17b60aaca47431414d0a0ef07614711f73d0", - "reference": "423f17b60aaca47431414d0a0ef07614711f73d0", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/e544e24472d4c97b2d11ade7caacd446727c6bf9", + "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9", "shasum": "" }, "require": { - "illuminate/cookie": "~5.8.0|^6.0|^7.0|^8.0", - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0", - "illuminate/view": "~5.8.0|^6.0|^7.0|^8.0", - "php": "^7.2" - }, - "require-dev": { - "fzaninotto/faker": "~1.4", - "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.0" + "php": ">=7.2.5" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Spatie\\CookieConsent\\CookieConsentServiceProvider" - ] + "branch-alias": { + "dev-master": "5.1-dev" } }, "autoload": { "psr-4": { - "Spatie\\CookieConsent\\": "src" - } + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5142,79 +4877,67 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { - "name": "Willem Van Bockstal", - "email": "willem@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Make your Laravel app comply with the crazy EU cookie law", - "homepage": "https://github.com/spatie/cookie-consent", - "keywords": [ - "comply", - "cookie", - "cookie-consent", - "eu", - "law", - "spatie" - ], - "support": { - "issues": "https://github.com/spatie/laravel-cookie-consent/issues", - "source": "https://github.com/spatie/laravel-cookie-consent/tree/2.12.9" - }, + "description": "Symfony CssSelector Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://spatie.be/open-source/support-us", + "url": "https://symfony.com/sponsor", "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-09T07:21:51+00:00" + "time": "2020-05-20T17:43:50+00:00" }, { - "name": "spatie/laravel-image-optimizer", - "version": "1.6.3", + "name": "symfony/deprecation-contracts", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/spatie/laravel-image-optimizer.git", - "reference": "8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-image-optimizer/zipball/8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c", - "reference": "8c7cb83f5bd0dc5484c9918fdb0a9bf608a29c2c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", "shasum": "" }, "require": { - "laravel/framework": "^6.0|^7.0|^8.0", - "php": "^7.2", - "spatie/image-optimizer": "^1.2.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "orchestra/testbench": "^4.0|^5.0|^6.0", - "phpunit/phpunit": "^9.0" + "php": ">=7.1" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Spatie\\LaravelImageOptimizer\\ImageOptimizerServiceProvider" - ], - "aliases": { - "ImageOptimizer": "Spatie\\LaravelImageOptimizer\\Facades\\ImageOptimizer" - } + "branch-alias": { + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "psr-4": { - "Spatie\\LaravelImageOptimizer\\": "src" - } + "files": [ + "function.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5222,55 +4945,73 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Optimize images in your Laravel app", - "homepage": "https://github.com/spatie/laravel-image-optimizer", - "keywords": [ - "laravel-image-optimizer", - "spatie" - ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/spatie/laravel-image-optimizer/issues", - "source": "https://github.com/spatie/laravel-image-optimizer/tree/master" + "source": "https://github.com/symfony/deprecation-contracts/tree/master" }, "funding": [ { - "url": "https://spatie.be/open-source/support-us", + "url": "https://symfony.com/sponsor", "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-08T19:46:59+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { - "name": "spatie/macroable", - "version": "1.0.0", + "name": "symfony/dom-crawler", + "version": "v3.4.45", "source": { "type": "git", - "url": "https://github.com/spatie/macroable.git", - "reference": "74b0d189ce75142f1706aad834d5a428dfc7c3c3" + "url": "https://github.com/symfony/dom-crawler.git", + "reference": "82fe363780d2d2089066e34495a7f8bd56f2bf84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/macroable/zipball/74b0d189ce75142f1706aad834d5a428dfc7c3c3", - "reference": "74b0d189ce75142f1706aad834d5a428dfc7c3c3", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/82fe363780d2d2089066e34495a7f8bd56f2bf84", + "reference": "82fe363780d2d2089066e34495a7f8bd56f2bf84", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { - "phpunit/phpunit": "^6.3" + "symfony/css-selector": "~2.8|~3.0|~4.0" + }, + "suggest": { + "symfony/css-selector": "" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, "autoload": { "psr-4": { - "Spatie\\Macroable\\": "src" - } + "Symfony\\Component\\DomCrawler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5278,56 +5019,72 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A trait to dynamically add methods to a class", - "homepage": "https://github.com/spatie/macroable", - "keywords": [ - "macroable", - "spatie" - ], + "description": "Symfony DomCrawler Component", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/spatie/macroable/issues", - "source": "https://github.com/spatie/macroable/tree/master" + "source": "https://github.com/symfony/dom-crawler/tree/3.4" }, - "time": "2017-09-18T09:51:20+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-02T16:06:40+00:00" }, { - "name": "spatie/ssl-certificate", - "version": "1.19.1", + "name": "symfony/error-handler", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/spatie/ssl-certificate.git", - "reference": "0fba58aa801dc85fcc009dc1e8d1e71b97a6b250" + "url": "https://github.com/symfony/error-handler.git", + "reference": "5e4d8ef8d71822922d1eebd130219ae3491a5ca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ssl-certificate/zipball/0fba58aa801dc85fcc009dc1e8d1e71b97a6b250", - "reference": "0fba58aa801dc85fcc009dc1e8d1e71b97a6b250", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/5e4d8ef8d71822922d1eebd130219ae3491a5ca9", + "reference": "5e4d8ef8d71822922d1eebd130219ae3491a5ca9", "shasum": "" }, "require": { - "ext-intl": "*", - "ext-json": "*", - "nesbot/carbon": "^1.15|^2.0", - "php": "^7.2", - "spatie/macroable": "^1.0" + "php": ">=7.2.5", + "psr/log": "^1.0", + "symfony/polyfill-php80": "^1.15", + "symfony/var-dumper": "^4.4|^5.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", - "spatie/phpunit-snapshot-assertions": "^2.0" + "symfony/deprecation-contracts": "^2.1", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, "autoload": { "psr-4": { - "Spatie\\SslCertificate\\": "src" + "Symfony\\Component\\ErrorHandler\\": "" }, - "files": [ - "src/helpers.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5336,55 +5093,86 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A class to easily query the properties of an ssl certificate", - "homepage": "https://github.com/spatie/ssl-certificate", - "keywords": [ - "spatie", - "ssl-certificate" - ], - "support": { - "issues": "https://github.com/spatie/ssl-certificate/issues", - "source": "https://github.com/spatie/ssl-certificate/tree/1.19.1" - }, + "description": "Symfony ErrorHandler Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://www.patreon.com/spatie", - "type": "patreon" + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-04-01T14:52:44+00:00" + "time": "2020-10-02T08:49:02+00:00" }, { - "name": "spatie/temporary-directory", - "version": "1.2.4", + "name": "symfony/event-dispatcher", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/spatie/temporary-directory.git", - "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932" + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "d5de97d6af175a9e8131c546db054ca32842dd0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/8efe8e61e0ca943d84341f10e51ef3a9606af932", - "reference": "8efe8e61e0ca943d84341f10e51ef3a9606af932", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d5de97d6af175a9e8131c546db054ca32842dd0f", + "reference": "d5de97d6af175a9e8131c546db054ca32842dd0f", "shasum": "" }, "require": { - "php": "^7.2" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/event-dispatcher-contracts": "^2", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/dependency-injection": "<4.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0" }, "require-dev": { - "phpunit/phpunit": "^8.0" + "psr/log": "~1.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/stopwatch": "^4.4|^5.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, "autoload": { "psr-4": { - "Spatie\\TemporaryDirectory\\": "src" - } + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5392,63 +5180,67 @@ ], "authors": [ { - "name": "Alex Vanderbist", - "email": "alex@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Easily create, use and destroy temporary directories", - "homepage": "https://github.com/spatie/temporary-directory", - "keywords": [ - "spatie", - "temporary-directory" + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } ], - "support": { - "issues": "https://github.com/spatie/temporary-directory/issues", - "source": "https://github.com/spatie/temporary-directory/tree/master" - }, - "time": "2020-09-07T20:41:15+00:00" + "time": "2020-09-18T14:27:32+00:00" }, { - "name": "swiftmailer/swiftmailer", - "version": "v6.2.3", + "name": "symfony/event-dispatcher-contracts", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/149cfdf118b169f7840bbe3ef0d4bc795d1780c9", - "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ba7d54483095a198fa51781bc608d17e84dffa2", + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2", "shasum": "" }, "require": { - "egulias/email-validator": "~2.0", - "php": ">=7.0.0", - "symfony/polyfill-iconv": "^1.0", - "symfony/polyfill-intl-idn": "^1.10", - "symfony/polyfill-mbstring": "^1.0" - }, - "require-dev": { - "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "^3.4.19|^4.1.8" + "php": ">=7.2.5", + "psr/event-dispatcher": "^1" }, "suggest": { - "ext-intl": "Needed to support internationalized email addresses", - "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" + "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.2-dev" + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "files": [ - "lib/swift_required.php" - ] + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5456,59 +5248,59 @@ ], "authors": [ { - "name": "Chris Corbyn" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "https://swiftmailer.symfony.com", + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", "keywords": [ - "email", - "mail", - "mailer" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "issues": "https://github.com/swiftmailer/swiftmailer/issues", - "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.3" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0" }, - "time": "2019-11-12T09:31:26+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-07T11:33:47+00:00" }, { - "name": "symfony/config", - "version": "v5.1.6", + "name": "symfony/finder", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "6ad8be6e1280f6734150d8a04a9160dd34ceb191" + "url": "https://github.com/symfony/finder.git", + "reference": "2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/6ad8be6e1280f6734150d8a04a9160dd34ceb191", - "reference": "6ad8be6e1280f6734150d8a04a9160dd34ceb191", + "url": "https://api.github.com/repos/symfony/finder/zipball/2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8", + "reference": "2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/filesystem": "^4.4|^5.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/finder": "<4.4" - }, - "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/yaml": "^4.4|^5.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" + "php": ">=7.2.5" }, "type": "library", "extra": { @@ -5518,7 +5310,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Component\\Config\\": "" + "Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -5538,11 +5330,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Config Component", + "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/5.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5560,65 +5349,39 @@ "time": "2020-09-02T16:23:27+00:00" }, { - "name": "symfony/console", - "version": "v5.1.6", + "name": "symfony/http-client-contracts", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "04c3a31fe8ea94b42c9e2d1acc93d19782133b00" + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/04c3a31fe8ea94b42c9e2d1acc93d19782133b00", - "reference": "04c3a31fe8ea94b42c9e2d1acc93d19782133b00", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3", + "reference": "3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2", - "symfony/string": "^5.1" - }, - "conflict": { - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" - }, - "provide": { - "psr/log-implementation": "1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "php": ">=7.2.5" }, "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "symfony/http-client-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Symfony\\Contracts\\HttpClient\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5626,18 +5389,26 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Console Component", + "description": "Generic abstractions related to HTTP clients", "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], "support": { - "source": "https://github.com/symfony/console/tree/v5.1.6" + "source": "https://github.com/symfony/http-client-contracts/tree/v2.2.0" }, "funding": [ { @@ -5653,24 +5424,36 @@ "type": "tidelift" } ], - "time": "2020-09-18T14:27:32+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { - "name": "symfony/css-selector", - "version": "v5.1.6", + "name": "symfony/http-foundation", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/css-selector.git", - "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9" + "url": "https://github.com/symfony/http-foundation.git", + "reference": "353b42e7b4fd1c898aab09a059466c9cea74039b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/e544e24472d4c97b2d11ade7caacd446727c6bf9", - "reference": "e544e24472d4c97b2d11ade7caacd446727c6bf9", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/353b42e7b4fd1c898aab09a059466c9cea74039b", + "reference": "353b42e7b4fd1c898aab09a059466c9cea74039b", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php80": "^1.15" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/cache": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/mime": "^4.4|^5.0" + }, + "suggest": { + "symfony/mime": "To use the file extension guesser" }, "type": "library", "extra": { @@ -5680,7 +5463,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Component\\CssSelector\\": "" + "Symfony\\Component\\HttpFoundation\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -5695,20 +5478,13 @@ "name": "Fabien Potencier", "email": "fabien@symfony.com" }, - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony CssSelector Component", + "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.1.5" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5723,50 +5499,75 @@ "type": "tidelift" } ], - "time": "2020-05-20T17:43:50+00:00" + "time": "2020-09-27T14:14:57+00:00" }, { - "name": "symfony/dependency-injection", - "version": "v5.1.6", + "name": "symfony/http-kernel", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/dependency-injection.git", - "reference": "61e9e7be2c30a779deb26e555243eaca9d26b0f3" + "url": "https://github.com/symfony/http-kernel.git", + "reference": "1764b87d2f10d5c9ce6e4850fe27934116d89708" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/61e9e7be2c30a779deb26e555243eaca9d26b0f3", - "reference": "61e9e7be2c30a779deb26e555243eaca9d26b0f3", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1764b87d2f10d5c9ce6e4850fe27934116d89708", + "reference": "1764b87d2f10d5c9ce6e4850fe27934116d89708", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.0", + "psr/log": "~1.0", "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1.6|^2" + "symfony/error-handler": "^4.4|^5.0", + "symfony/event-dispatcher": "^5.0", + "symfony/http-client-contracts": "^1.1|^2", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.15" }, "conflict": { - "symfony/config": "<5.1", - "symfony/finder": "<4.4", - "symfony/proxy-manager-bridge": "<4.4", - "symfony/yaml": "<4.4" + "symfony/browser-kit": "<4.4", + "symfony/cache": "<5.0", + "symfony/config": "<5.0", + "symfony/console": "<4.4", + "symfony/dependency-injection": "<4.4", + "symfony/doctrine-bridge": "<5.0", + "symfony/form": "<5.0", + "symfony/http-client": "<5.0", + "symfony/mailer": "<5.0", + "symfony/messenger": "<5.0", + "symfony/translation": "<5.0", + "symfony/twig-bridge": "<5.0", + "symfony/validator": "<5.0", + "twig/twig": "<2.4" }, "provide": { - "psr/container-implementation": "1.0", - "symfony/service-implementation": "1.0" + "psr/log-implementation": "1.0" }, "require-dev": { - "symfony/config": "^5.1", + "psr/cache": "~1.0", + "symfony/browser-kit": "^4.4|^5.0", + "symfony/config": "^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/css-selector": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/dom-crawler": "^4.4|^5.0", "symfony/expression-language": "^4.4|^5.0", - "symfony/yaml": "^4.4|^5.0" + "symfony/finder": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/routing": "^4.4|^5.0", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/translation": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "twig/twig": "^2.4|^3.0" }, "suggest": { + "symfony/browser-kit": "", "symfony/config": "", - "symfony/expression-language": "For using expressions in service container configuration", - "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" + "symfony/console": "", + "symfony/dependency-injection": "" }, "type": "library", "extra": { @@ -5776,7 +5577,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Component\\DependencyInjection\\": "" + "Symfony\\Component\\HttpKernel\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -5796,11 +5597,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony DependencyInjection Component", + "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.1.6" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5815,38 +5613,47 @@ "type": "tidelift" } ], - "time": "2020-09-11T11:43:06+00:00" + "time": "2020-10-04T07:57:28+00:00" }, { - "name": "symfony/deprecation-contracts", - "version": "v2.2.0", + "name": "symfony/mime", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" + "url": "https://github.com/symfony/mime.git", + "reference": "4404d6545125863561721514ad9388db2661eec5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "url": "https://api.github.com/repos/symfony/mime/zipball/4404d6545125863561721514ad9388db2661eec5", + "reference": "4404d6545125863561721514ad9388db2661eec5", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2.5", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/mailer": "<4.4" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10", + "symfony/dependency-injection": "^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-master": "5.1-dev" } }, "autoload": { - "files": [ - "function.php" + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5855,19 +5662,20 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "A generic function and convention to trigger deprecation notices", + "description": "A library to manipulate MIME messages", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/master" - }, + "keywords": [ + "mime", + "mime-type" + ], "funding": [ { "url": "https://symfony.com/sponsor", @@ -5882,45 +5690,44 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2020-09-02T16:23:27+00:00" }, { - "name": "symfony/dom-crawler", - "version": "v3.4.45", + "name": "symfony/polyfill-ctype", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/dom-crawler.git", - "reference": "82fe363780d2d2089066e34495a7f8bd56f2bf84" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "1c302646f6efc070cd46856e600e5e0684d6b454" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/82fe363780d2d2089066e34495a7f8bd56f2bf84", - "reference": "82fe363780d2d2089066e34495a7f8bd56f2bf84", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454", + "reference": "1c302646f6efc070cd46856e600e5e0684d6b454", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.0" - }, - "require-dev": { - "symfony/css-selector": "~2.8|~3.0|~4.0" + "php": ">=5.3.3" }, "suggest": { - "symfony/css-selector": "" + "ext-ctype": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\DomCrawler\\": "" + "Symfony\\Polyfill\\Ctype\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5929,18 +5736,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony DomCrawler Component", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], "support": { - "source": "https://github.com/symfony/dom-crawler/tree/3.4" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.18.0" }, "funding": [ { @@ -5956,45 +5769,44 @@ "type": "tidelift" } ], - "time": "2020-09-02T16:06:40+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/error-handler", - "version": "v5.1.6", + "name": "symfony/polyfill-iconv", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/error-handler.git", - "reference": "d2f1d4996d5499f1261164d10080e4120001f041" + "url": "https://github.com/symfony/polyfill-iconv.git", + "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/d2f1d4996d5499f1261164d10080e4120001f041", - "reference": "d2f1d4996d5499f1261164d10080e4120001f041", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36", + "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/log": "^1.0", - "symfony/polyfill-php80": "^1.15", - "symfony/var-dumper": "^4.4|^5.0" + "php": ">=5.3.3" }, - "require-dev": { - "symfony/deprecation-contracts": "^2.1", - "symfony/http-kernel": "^4.4|^5.0", - "symfony/serializer": "^4.4|^5.0" + "suggest": { + "ext-iconv": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\ErrorHandler\\": "" + "Symfony\\Polyfill\\Iconv\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6003,18 +5815,25 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony ErrorHandler Component", + "description": "Symfony polyfill for the Iconv extension", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "iconv", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.1.6" + "source": "https://github.com/symfony/polyfill-iconv/tree/master" }, "funding": [ { @@ -6030,61 +5849,44 @@ "type": "tidelift" } ], - "time": "2020-09-27T03:44:28+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/event-dispatcher", - "version": "v5.1.6", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "d5de97d6af175a9e8131c546db054ca32842dd0f" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d5de97d6af175a9e8131c546db054ca32842dd0f", - "reference": "d5de97d6af175a9e8131c546db054ca32842dd0f", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b740103edbdcc39602239ee8860f0f45a8eb9aa5", + "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/event-dispatcher-contracts": "^2", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/dependency-injection": "<4.4" - }, - "provide": { - "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "2.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/error-handler": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/http-foundation": "^4.4|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/stopwatch": "^4.4|^5.0" + "php": ">=5.3.3" }, "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6093,18 +5895,26 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony EventDispatcher Component", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.1.6" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.18.1" }, "funding": [ { @@ -6120,43 +5930,48 @@ "type": "tidelift" } ], - "time": "2020-09-18T14:27:32+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/event-dispatcher-contracts", - "version": "v2.2.0", + "name": "symfony/polyfill-intl-idn", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2" + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ba7d54483095a198fa51781bc608d17e84dffa2", - "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251", + "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/event-dispatcher": "^1" + "php": ">=5.3.3", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php70": "^1.10", + "symfony/polyfill-php72": "^1.10" }, "suggest": { - "symfony/event-dispatcher-implementation": "" + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "1.18-dev" }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Contracts\\EventDispatcher\\": "" - } + "Symfony\\Polyfill\\Intl\\Idn\\": "" + }, + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6164,26 +5979,30 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Generic abstractions related to dispatching event", + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", "homepage": "https://symfony.com", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.18.1" }, "funding": [ { @@ -6199,38 +6018,47 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2020-08-04T06:02:08+00:00" }, { - "name": "symfony/filesystem", - "version": "v5.1.6", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "f3194303d3077829dbbc1d18f50288b2a01146f2" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/f3194303d3077829dbbc1d18f50288b2a01146f2", - "reference": "f3194303d3077829dbbc1d18f50288b2a01146f2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", + "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8" + "php": ">=5.3.3" + }, + "suggest": { + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6239,18 +6067,26 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Filesystem Component", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.1.6" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.18.1" }, "funding": [ { @@ -6266,37 +6102,44 @@ "type": "tidelift" } ], - "time": "2020-09-02T16:23:27+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/finder", - "version": "v5.1.6", + "name": "symfony/polyfill-mbstring", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8", - "reference": "2c3ba7ad6884e6c4451ce2340e2dc23f6fa3e0d8", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" + "Symfony\\Polyfill\\Mbstring\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6305,18 +6148,25 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Finder Component", + "description": "Symfony polyfill for the Mbstring extension", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/finder/tree/5.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.18.1" }, "funding": [ { @@ -6332,42 +6182,46 @@ "type": "tidelift" } ], - "time": "2020-09-02T16:23:27+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/http-client-contracts", - "version": "v2.2.0", + "name": "symfony/polyfill-php70", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3" + "url": "https://github.com/symfony/polyfill-php70.git", + "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3", - "reference": "3a5d0fe7908daaa23e3dbf4cee3ba4bfbb19fdd3", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", + "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", "shasum": "" }, "require": { - "php": ">=7.2.5" - }, - "suggest": { - "symfony/http-client-implementation": "" + "paragonie/random_compat": "~1.0|~2.0|~9.99", + "php": ">=5.3.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "1.18-dev" }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Contracts\\HttpClient\\": "" - } + "Symfony\\Polyfill\\Php70\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6383,18 +6237,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Generic abstractions related to HTTP clients", + "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "compatibility", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v2.2.0" + "source": "https://github.com/symfony/polyfill-php70/tree/master" }, "funding": [ { @@ -6410,49 +6262,41 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/http-foundation", - "version": "v5.1.6", + "name": "symfony/polyfill-php72", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "6cca6b2e4b69fc5bace160d14cf1ee5f71483db4" + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "639447d008615574653fb3bc60d1986d7172eaae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/6cca6b2e4b69fc5bace160d14cf1ee5f71483db4", - "reference": "6cca6b2e4b69fc5bace160d14cf1ee5f71483db4", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae", + "reference": "639447d008615574653fb3bc60d1986d7172eaae", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php80": "^1.15" - }, - "require-dev": { - "predis/predis": "~1.0", - "symfony/cache": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/mime": "^4.4|^5.0" - }, - "suggest": { - "symfony/mime": "To use the file extension guesser" + "php": ">=5.3.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\HttpFoundation\\": "" + "Symfony\\Polyfill\\Php72\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6461,18 +6305,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony HttpFoundation Component", + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.1.6" + "source": "https://github.com/symfony/polyfill-php72/tree/master" }, "funding": [ { @@ -6485,91 +6335,47 @@ }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-13T05:01:27+00:00" - }, - { - "name": "symfony/http-kernel", - "version": "v5.1.6", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-kernel.git", - "reference": "17227644c3c66dcf32bdfeceff4364d090cd6756" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/17227644c3c66dcf32bdfeceff4364d090cd6756", - "reference": "17227644c3c66dcf32bdfeceff4364d090cd6756", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/log": "~1.0", - "symfony/deprecation-contracts": "^2.1", - "symfony/error-handler": "^4.4|^5.0", - "symfony/event-dispatcher": "^5.0", - "symfony/http-client-contracts": "^1.1|^2", - "symfony/http-foundation": "^4.4|^5.0", - "symfony/polyfill-ctype": "^1.8", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/browser-kit": "<4.4", - "symfony/cache": "<5.0", - "symfony/config": "<5.0", - "symfony/console": "<4.4", - "symfony/dependency-injection": "<4.4", - "symfony/doctrine-bridge": "<5.0", - "symfony/form": "<5.0", - "symfony/http-client": "<5.0", - "symfony/mailer": "<5.0", - "symfony/messenger": "<5.0", - "symfony/translation": "<5.0", - "symfony/twig-bridge": "<5.0", - "symfony/validator": "<5.0", - "twig/twig": "<2.4" - }, - "provide": { - "psr/log-implementation": "1.0" - }, - "require-dev": { - "psr/cache": "~1.0", - "symfony/browser-kit": "^4.4|^5.0", - "symfony/config": "^5.0", - "symfony/console": "^4.4|^5.0", - "symfony/css-selector": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/dom-crawler": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/routing": "^4.4|^5.0", - "symfony/stopwatch": "^4.4|^5.0", - "symfony/translation": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", - "twig/twig": "^2.4|^3.0" + "type": "tidelift" + } + ], + "time": "2020-07-14T12:35:20+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca" }, - "suggest": { - "symfony/browser-kit": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "" + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca", + "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\HttpKernel\\": "" + "Symfony\\Polyfill\\Php73\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6578,18 +6384,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony HttpKernel Component", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.1.6" + "source": "https://github.com/symfony/polyfill-php73/tree/master" }, "funding": [ { @@ -6605,47 +6417,44 @@ "type": "tidelift" } ], - "time": "2020-09-27T04:33:19+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/mime", - "version": "v5.1.6", + "name": "symfony/polyfill-php80", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/mime.git", - "reference": "4404d6545125863561721514ad9388db2661eec5" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/4404d6545125863561721514ad9388db2661eec5", - "reference": "4404d6545125863561721514ad9388db2661eec5", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-intl-idn": "^1.10", - "symfony/polyfill-mbstring": "^1.0", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/mailer": "<4.4" - }, - "require-dev": { - "egulias/email-validator": "^2.1.10", - "symfony/dependency-injection": "^4.4|^5.0" + "php": ">=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Mime\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6654,22 +6463,28 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "A library to manipulate MIME messages", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ - "mime", - "mime-type" + "compatibility", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/mime/tree/5.1" + "source": "https://github.com/symfony/polyfill-php80/tree/master" }, "funding": [ { @@ -6685,25 +6500,24 @@ "type": "tidelift" } ], - "time": "2020-09-02T16:23:27+00:00" + "time": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/options-resolver", - "version": "v5.1.6", + "name": "symfony/process", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "4c7e155bf7d93ea4ba3824d5a14476694a5278dd" + "url": "https://github.com/symfony/process.git", + "reference": "d3a2e64866169586502f0cd9cab69135ad12cee9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4c7e155bf7d93ea4ba3824d5a14476694a5278dd", - "reference": "4c7e155bf7d93ea4ba3824d5a14476694a5278dd", + "url": "https://api.github.com/repos/symfony/process/zipball/d3a2e64866169586502f0cd9cab69135ad12cee9", + "reference": "d3a2e64866169586502f0cd9cab69135ad12cee9", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.15" }, "type": "library", @@ -6714,7 +6528,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" + "Symfony\\Component\\Process\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -6734,16 +6548,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony OptionsResolver Component", + "description": "Symfony Process Component", "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.1.6" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -6758,44 +6564,60 @@ "type": "tidelift" } ], - "time": "2020-09-27T03:44:28+00:00" + "time": "2020-09-02T16:23:27+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.18.1", + "name": "symfony/routing", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454" + "url": "https://github.com/symfony/routing.git", + "reference": "720348c2ae011f8c56964c0fc3e992840cb60ccf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454", + "url": "https://api.github.com/repos/symfony/routing/zipball/720348c2ae011f8c56964c0fc3e992840cb60ccf", + "reference": "720348c2ae011f8c56964c0fc3e992840cb60ccf", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/config": "<5.0", + "symfony/dependency-injection": "<4.4", + "symfony/yaml": "<4.4" + }, + "require-dev": { + "doctrine/annotations": "~1.2", + "psr/log": "~1.0", + "symfony/config": "^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { - "ext-ctype": "For best performance" + "doctrine/annotations": "For using the annotation loader", + "symfony/config": "For using the all-in-one router or any loader", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "5.1-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" + "Symfony\\Component\\Routing\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6804,25 +6626,22 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Symfony Routing Component", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" + "router", + "routing", + "uri", + "url" ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.18.0" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -6837,45 +6656,43 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-10-02T13:05:43+00:00" }, { - "name": "symfony/polyfill-iconv", - "version": "v1.18.1", + "name": "symfony/service-contracts", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36", - "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5", + "psr/container": "^1.0" }, "suggest": { - "ext-iconv": "For best performance" + "symfony/service-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-master": "2.2-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Iconv\\": "" - }, - "files": [ - "bootstrap.php" - ] + "Symfony\\Contracts\\Service\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6891,17 +6708,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Iconv extension", + "description": "Generic abstractions related to writing services", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "iconv", - "polyfill", - "portable", - "shim" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/master" + "source": "https://github.com/symfony/service-contracts/tree/master" }, "funding": [ { @@ -6917,44 +6735,51 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.18.1", + "name": "symfony/string", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5" + "url": "https://github.com/symfony/string.git", + "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b740103edbdcc39602239ee8860f0f45a8eb9aa5", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5", + "url": "https://api.github.com/repos/symfony/string/zipball/4a9afe9d07bac506f75bcee8ed3ce76da5a9343e", + "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, - "suggest": { - "ext-intl": "For best performance" + "require-dev": { + "symfony/error-handler": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "5.1-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "Symfony\\Component\\String\\": "" }, "files": [ - "bootstrap.php" + "Resources/functions.php" + ], + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6971,19 +6796,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's grapheme_* functions", + "description": "Symfony String component", "homepage": "https://symfony.com", "keywords": [ - "compatibility", "grapheme", - "intl", - "polyfill", - "portable", - "shim" + "i18n", + "string", + "unicode", + "utf-8", + "utf8" ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.18.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -6998,47 +6820,66 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-09-15T12:23:47+00:00" }, { - "name": "symfony/polyfill-intl-idn", - "version": "v1.18.1", + "name": "symfony/translation", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251" + "url": "https://github.com/symfony/translation.git", + "reference": "e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251", + "url": "https://api.github.com/repos/symfony/translation/zipball/e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b", + "reference": "e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php70": "^1.10", - "symfony/polyfill-php72": "^1.10" + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.15", + "symfony/translation-contracts": "^2" + }, + "conflict": { + "symfony/config": "<4.4", + "symfony/dependency-injection": "<5.0", + "symfony/http-kernel": "<5.0", + "symfony/twig-bundle": "<5.0", + "symfony/yaml": "<4.4" + }, + "provide": { + "symfony/translation-implementation": "2.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "^4.4|^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/http-kernel": "^5.0", + "symfony/intl": "^4.4|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { - "ext-intl": "For best performance" + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "5.1-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Intl\\Idn\\": "" + "Symfony\\Component\\Translation\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -7047,31 +6888,16 @@ ], "authors": [ { - "name": "Laurent Bassin", - "email": "laurent@bassin.info" - }, - { - "name": "Trevor Rowbotham", - "email": "trevor.rowbotham@pm.me" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "idn", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.18.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7086,48 +6912,42 @@ "type": "tidelift" } ], - "time": "2020-08-04T06:02:08+00:00" + "time": "2020-09-27T03:44:28+00:00" }, { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.18.1", + "name": "symfony/translation-contracts", + "version": "v2.3.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e" + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/e2eaa60b558f26a4b0354e1bbb25636efaaad105", + "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5" }, "suggest": { - "ext-intl": "For best performance" + "symfony/translation-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-master": "2.3-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "Symfony\\Contracts\\Translation\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7143,19 +6963,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "Generic abstractions related to translation", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.18.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7170,44 +6987,60 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-09-28T13:05:58+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.18.1", + "name": "symfony/var-dumper", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + "url": "https://github.com/symfony/var-dumper.git", + "reference": "c976c115a0d788808f7e71834c8eb0844f678d02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c976c115a0d788808f7e71834c8eb0844f678d02", + "reference": "c976c115a0d788808f7e71834c8eb0844f678d02", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "phpunit/phpunit": "<5.4.3", + "symfony/console": "<4.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "twig/twig": "^2.4|^3.0" }, "suggest": { - "ext-mbstring": "For best performance" + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" }, + "bin": [ + "Resources/bin/var-dump-server" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "5.1-dev" } }, "autoload": { + "files": [ + "Resources/functions/dump.php" + ], "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" + "Symfony\\Component\\VarDumper\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -7224,18 +7057,12 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Symfony mechanism for exploring and dumping PHP variables", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" + "debug", + "dump" ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.18.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7246,205 +7073,213 @@ "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-18T14:27:32+00:00" + }, + { + "name": "theodorejb/polycast", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/theodorejb/PolyCast.git", + "reference": "68ae87e42ead5c1a59ae4e03446607f592cefea3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theodorejb/PolyCast/zipball/68ae87e42ead5c1a59ae4e03446607f592cefea3", + "reference": "68ae87e42ead5c1a59ae4e03446607f592cefea3", + "shasum": "" + }, + "require-dev": { + "phpunit/phpunit": "^4.8" + }, + "type": "library", + "autoload": { + "files": [ + "lib/PolyCast.php", + "lib/CastException.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Theodore Brown", + "email": "theodorejb@outlook.com" } ], - "time": "2020-07-14T12:35:20+00:00" + "description": "Safely cast values to int, float, or string", + "support": { + "issues": "https://github.com/theodorejb/PolyCast/issues", + "source": "https://github.com/theodorejb/PolyCast/tree/master" + }, + "time": "2015-10-25T19:36:42+00:00" }, { - "name": "symfony/polyfill-php70", - "version": "v1.18.1", + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.3", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3" + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5", + "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0|~9.99", - "php": ">=5.3.3" + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "2.2.x-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { - "source": "https://github.com/symfony/polyfill-php70/tree/master" + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-07-13T06:12:54+00:00" }, { - "name": "symfony/polyfill-php72", - "version": "v1.18.1", + "name": "vlucas/phpdotenv", + "version": "v5.2.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "639447d008615574653fb3bc60d1986d7172eaae" + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "fba64139db67123c7a57072e5f8d3db10d160b66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae", - "reference": "639447d008615574653fb3bc60d1986d7172eaae", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/fba64139db67123c7a57072e5f8d3db10d160b66", + "reference": "fba64139db67123c7a57072e5f8d3db10d160b66", "shasum": "" }, "require": { - "php": ">=5.3.3" + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.1", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.7.4", + "symfony/polyfill-ctype": "^1.17", + "symfony/polyfill-mbstring": "^1.17", + "symfony/polyfill-php80": "^1.17" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.2 || ^9.0" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "5.2-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - }, - "files": [ - "bootstrap.php" - ] + "Dotenv\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "homepage": "https://gjcampbell.co.uk/" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://vancelucas.com/" } ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "dotenv", + "env", + "environment" ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/master" - }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/GrahamCampbell", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-09-14T15:57:31+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.18.1", + "name": "voku/anti-xss", + "version": "4.1.28", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca" + "url": "https://github.com/voku/anti-xss.git", + "reference": "8919a19846d2b100e664d9e3cecfcaba4f57d9b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca", + "url": "https://api.github.com/repos/voku/anti-xss/zipball/8919a19846d2b100e664d9e3cecfcaba4f57d9b4", + "reference": "8919a19846d2b100e664d9e3cecfcaba4f57d9b4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.0.0", + "voku/portable-utf8": "~5.4.27" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-master": "4.1.x-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "voku\\helper\\": "src/voku/helper/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7452,78 +7287,79 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "EllisLab Dev Team", + "homepage": "http://ellislab.com/" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Lars Moelleken", + "email": "lars@moelleken.org", + "homepage": "http://www.moelleken.org/" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", + "description": "anti xss-library", + "homepage": "https://github.com/voku/anti-xss", "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "anti-xss", + "clean", + "security", + "xss" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/master" + "issues": "https://github.com/voku/anti-xss/issues", + "source": "https://github.com/voku/anti-xss/tree/4.1.28" }, "funding": [ { - "url": "https://symfony.com/sponsor", + "url": "https://www.paypal.me/moelleken", "type": "custom" }, { - "url": "https://github.com/fabpot", + "url": "https://github.com/voku", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "url": "https://opencollective.com/anti-xss", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/anti-xss", "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-08-27T22:43:59+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.18.1", + "name": "voku/portable-ascii", + "version": "1.5.3", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" + "url": "https://github.com/voku/portable-ascii.git", + "reference": "25bcbf01678930251fd572891447d9e318a6e2b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/25bcbf01678930251fd572891447d9e318a6e2b8", + "reference": "25bcbf01678930251fd572891447d9e318a6e2b8", "shasum": "" }, "require": { - "php": ">=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } + "php": ">=7.0.0" }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "voku\\": "src/voku/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7531,164 +7367,185 @@ ], "authors": [ { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "ascii", + "clean", + "php" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/master" + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/master" }, "funding": [ { - "url": "https://symfony.com/sponsor", + "url": "https://www.paypal.me/moelleken", "type": "custom" }, { - "url": "https://github.com/fabpot", + "url": "https://github.com/voku", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-07-22T23:32:04+00:00" }, { - "name": "symfony/process", - "version": "v5.1.6", + "name": "voku/portable-utf8", + "version": "5.4.47", "source": { "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "d3a2e64866169586502f0cd9cab69135ad12cee9" + "url": "https://github.com/voku/portable-utf8.git", + "reference": "c92522515a2d5ec9b03fd3c9e231b8b277c65121" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d3a2e64866169586502f0cd9cab69135ad12cee9", - "reference": "d3a2e64866169586502f0cd9cab69135ad12cee9", + "url": "https://api.github.com/repos/voku/portable-utf8/zipball/c92522515a2d5ec9b03fd3c9e231b8b277c65121", + "reference": "c92522515a2d5ec9b03fd3c9e231b8b277c65121", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.15" + "php": ">=7.0.0", + "symfony/polyfill-iconv": "~1.0", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.0", + "voku/portable-ascii": "~1.5" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0" + }, + "suggest": { + "ext-ctype": "Use Ctype for e.g. hexadecimal digit detection", + "ext-fileinfo": "Use Fileinfo for better binary file detection", + "ext-iconv": "Use iconv for best performance", + "ext-intl": "Use Intl for best performance", + "ext-json": "Use JSON for string detection", + "ext-mbstring": "Use Mbstring for best performance" }, + "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Process\\": "" + "voku\\": "src/voku/" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "(Apache-2.0 or GPL-2.0)" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Hamid Sarfraz", + "homepage": "http://pageconfig.com/" + }, + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" } ], - "description": "Symfony Process Component", - "homepage": "https://symfony.com", + "description": "Portable UTF-8 library - performance optimized (unicode) string functions for php.", + "homepage": "https://github.com/voku/portable-utf8", + "keywords": [ + "UTF", + "clean", + "php", + "unicode", + "utf-8", + "utf8" + ], "support": { - "source": "https://github.com/symfony/process/tree/5.1" + "issues": "https://github.com/voku/portable-utf8/issues", + "source": "https://github.com/voku/portable-utf8/tree/master" }, "funding": [ { - "url": "https://symfony.com/sponsor", + "url": "https://www.paypal.me/moelleken", "type": "custom" }, { - "url": "https://github.com/fabpot", + "url": "https://github.com/voku", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "url": "https://opencollective.com/portable-utf8", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-utf8", "type": "tidelift" } ], - "time": "2020-09-02T16:23:27+00:00" - }, + "time": "2020-07-26T11:17:51+00:00" + } + ], + "packages-dev": [ { - "name": "symfony/routing", - "version": "v5.1.6", + "name": "amphp/amp", + "version": "v2.5.0", "source": { "type": "git", - "url": "https://github.com/symfony/routing.git", - "reference": "d36e06eb02a55522a8eed070c1cbc3dc3c389876" + "url": "https://github.com/amphp/amp.git", + "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/d36e06eb02a55522a8eed070c1cbc3dc3c389876", - "reference": "d36e06eb02a55522a8eed070c1cbc3dc3c389876", + "url": "https://api.github.com/repos/amphp/amp/zipball/f220a51458bf4dd0dedebb171ac3457813c72bbc", + "reference": "f220a51458bf4dd0dedebb171ac3457813c72bbc", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/config": "<5.0", - "symfony/dependency-injection": "<4.4", - "symfony/yaml": "<4.4" + "php": ">=7" }, "require-dev": { - "doctrine/annotations": "~1.2", - "psr/log": "~1.0", - "symfony/config": "^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/http-foundation": "^4.4|^5.0", - "symfony/yaml": "^4.4|^5.0" - }, - "suggest": { - "doctrine/annotations": "For using the annotation loader", - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6.0.9 | ^7", + "psalm/phar": "^3.11@dev", + "react/promise": "^2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Routing\\": "" + "Amp\\": "lib" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "lib/functions.php", + "lib/Internal/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -7697,76 +7554,87 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Symfony Routing Component", - "homepage": "https://symfony.com", + "description": "A non-blocking concurrency framework for PHP applications.", + "homepage": "http://amphp.org/amp", "keywords": [ - "router", - "routing", - "uri", - "url" + "async", + "asynchronous", + "awaitable", + "concurrency", + "event", + "event-loop", + "future", + "non-blocking", + "promise" ], "support": { - "source": "https://github.com/symfony/routing/tree/5.1" + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/amp/issues", + "source": "https://github.com/amphp/amp/tree/master" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/amphp", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2020-09-02T16:23:27+00:00" + "time": "2020-07-14T21:47:18+00:00" }, { - "name": "symfony/service-contracts", - "version": "v2.2.0", + "name": "amphp/byte-stream", + "version": "v1.8.0", "source": { "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + "url": "https://github.com/amphp/byte-stream.git", + "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.0" + "amphp/amp": "^2", + "php": ">=7.1" }, - "suggest": { - "symfony/service-implementation": "" + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.4", + "friendsofphp/php-cs-fixer": "^2.3", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6 || ^7 || ^8", + "psalm/phar": "^3.11.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } + "Amp\\ByteStream\\": "lib" + }, + "files": [ + "lib/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7774,86 +7642,68 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "http://amphp.org/byte-stream", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/master" + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/byte-stream/issues", + "source": "https://github.com/amphp/byte-stream/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2020-06-29T18:35:05+00:00" }, { - "name": "symfony/string", - "version": "v5.1.6", + "name": "amphp/parallel", + "version": "v1.4.0", "source": { "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e" + "url": "https://github.com/amphp/parallel.git", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/4a9afe9d07bac506f75bcee8ed3ce76da5a9343e", - "reference": "4a9afe9d07bac506f75bcee8ed3ce76da5a9343e", + "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "amphp/amp": "^2", + "amphp/byte-stream": "^1.6.1", + "amphp/parser": "^1", + "amphp/process": "^1", + "amphp/serialization": "^1", + "amphp/sync": "^1.0.1", + "php": ">=7.1" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^8 || ^7" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { - "Symfony\\Component\\String\\": "" + "Amp\\Parallel\\": "lib" }, "files": [ - "Resources/functions.php" - ], - "exclude-from-classmap": [ - "/Tests/" + "lib/Context/functions.php", + "lib/Sync/functions.php", + "lib/Worker/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -7862,101 +7712,61 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" } ], - "description": "Symfony String component", - "homepage": "https://symfony.com", + "description": "Parallel processing component for Amp.", + "homepage": "https://github.com/amphp/parallel", "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" + "async", + "asynchronous", + "concurrent", + "multi-processing", + "multi-threading" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.1.6" + "issues": "https://github.com/amphp/parallel/issues", + "source": "https://github.com/amphp/parallel/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-15T12:23:47+00:00" + "time": "2020-04-27T15:12:37+00:00" }, { - "name": "symfony/translation", - "version": "v5.1.6", + "name": "amphp/parallel-functions", + "version": "v0.1.3", "source": { "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b" + "url": "https://github.com/amphp/parallel-functions.git", + "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b", - "reference": "e3cdd5119b1b5bf0698c351b8ee20fb5a4ea248b", + "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", + "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.15", - "symfony/translation-contracts": "^2" - }, - "conflict": { - "symfony/config": "<4.4", - "symfony/dependency-injection": "<5.0", - "symfony/http-kernel": "<5.0", - "symfony/twig-bundle": "<5.0", - "symfony/yaml": "<4.4" - }, - "provide": { - "symfony/translation-implementation": "2.0" + "amphp/amp": "^2.0.3", + "amphp/parallel": "^0.1.8 || ^0.2 || ^1", + "opis/closure": "^3.0.7", + "php": ">=7" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^4.4|^5.0", - "symfony/console": "^4.4|^5.0", - "symfony/dependency-injection": "^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/http-kernel": "^5.0", - "symfony/intl": "^4.4|^5.0", - "symfony/service-contracts": "^1.1.2|^2", - "symfony/yaml": "^4.4|^5.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" + "amphp/phpunit-util": "^1.0", + "friendsofphp/php-cs-fixer": "^2.9", + "phpunit/phpunit": "^6.5" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { - "Symfony\\Component\\Translation\\": "" + "Amp\\ParallelFunctions\\": "src" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "src/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -7965,68 +7775,42 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Symfony Translation Component", - "homepage": "https://symfony.com", + "description": "Parallel processing made simple.", "support": { - "source": "https://github.com/symfony/translation/tree/v5.1.6" + "issues": "https://github.com/amphp/parallel-functions/issues", + "source": "https://github.com/amphp/parallel-functions/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-27T03:44:28+00:00" + "time": "2018-10-28T15:29:02+00:00" }, { - "name": "symfony/translation-contracts", - "version": "v2.2.0", + "name": "amphp/parser", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/symfony/translation-contracts.git", - "reference": "77ce1c3627c9f39643acd9af086631f842c50c4d" + "url": "https://github.com/amphp/parser.git", + "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/77ce1c3627c9f39643acd9af086631f842c50c4d", - "reference": "77ce1c3627c9f39643acd9af086631f842c50c4d", + "url": "https://api.github.com/repos/amphp/parser/zipball/f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=7" }, - "suggest": { - "symfony/translation-implementation": "" + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.3", + "phpunit/phpunit": "^6" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, "autoload": { "psr-4": { - "Symfony\\Contracts\\Translation\\": "" + "Amp\\Parser\\": "lib" } }, "notification-url": "https://packagist.org/downloads/", @@ -8035,95 +7819,59 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Niklas Keller", + "email": "me@kelunik.com" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" } ], - "description": "Generic abstractions related to translation", - "homepage": "https://symfony.com", + "description": "A generator parser to make streaming parsers simple.", + "homepage": "https://github.com/amphp/parser", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "async", + "non-blocking", + "parser", + "stream" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/master" + "issues": "https://github.com/amphp/parser/issues", + "source": "https://github.com/amphp/parser/tree/is-valid" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2017-06-06T05:29:10+00:00" }, { - "name": "symfony/var-dumper", - "version": "v5.1.6", + "name": "amphp/process", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "c976c115a0d788808f7e71834c8eb0844f678d02" + "url": "https://github.com/amphp/process.git", + "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c976c115a0d788808f7e71834c8eb0844f678d02", - "reference": "c976c115a0d788808f7e71834c8eb0844f678d02", + "url": "https://api.github.com/repos/amphp/process/zipball/355b1e561b01c16ab3d78fada1ad47ccc96df70e", + "reference": "355b1e561b01c16ab3d78fada1ad47ccc96df70e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "phpunit/phpunit": "<5.4.3", - "symfony/console": "<4.4" + "amphp/amp": "^2", + "amphp/byte-stream": "^1.4", + "php": ">=7" }, "require-dev": { - "ext-iconv": "*", - "symfony/console": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "twig/twig": "^2.4|^3.0" - }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "phpunit/phpunit": "^6" }, - "bin": [ - "Resources/bin/var-dump-server" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { - "files": [ - "Resources/functions/dump.php" - ], "psr-4": { - "Symfony\\Component\\VarDumper\\": "" + "Amp\\Process\\": "lib" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "lib/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -8132,82 +7880,54 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony mechanism for exploring and dumping PHP variables", - "homepage": "https://symfony.com", - "keywords": [ - "debug", - "dump" - ], - "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.1.6" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" }, { - "url": "https://github.com/fabpot", - "type": "github" + "name": "Niklas Keller", + "email": "me@kelunik.com" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" } ], - "time": "2020-09-18T14:27:32+00:00" + "description": "Asynchronous process manager.", + "homepage": "https://github.com/amphp/process", + "support": { + "issues": "https://github.com/amphp/process/issues", + "source": "https://github.com/amphp/process/tree/master" + }, + "time": "2019-02-26T16:33:03+00:00" }, { - "name": "symfony/yaml", - "version": "v5.1.6", + "name": "amphp/serialization", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a" + "url": "https://github.com/amphp/serialization.git", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a", - "reference": "e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a", + "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<4.4" + "php": ">=7.1" }, "require-dev": { - "symfony/console": "^4.4|^5.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "amphp/php-cs-fixer-config": "dev-master", + "phpunit/phpunit": "^9 || ^8 || ^7" }, - "bin": [ - "Resources/bin/yaml-lint" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { - "Symfony\\Component\\Yaml\\": "" + "Amp\\Serialization\\": "src" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "src/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -8216,57 +7936,59 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", + "description": "Serialization tools for IPC and data storage in PHP.", + "homepage": "https://github.com/amphp/serialization", + "keywords": [ + "async", + "asynchronous", + "serialization", + "serialize" + ], "support": { - "source": "https://github.com/symfony/yaml/tree/v5.1.6" + "issues": "https://github.com/amphp/serialization/issues", + "source": "https://github.com/amphp/serialization/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-27T03:44:28+00:00" + "time": "2020-03-25T21:39:07+00:00" }, { - "name": "theodorejb/polycast", - "version": "v1.0.0", + "name": "amphp/sync", + "version": "v1.4.0", "source": { "type": "git", - "url": "https://github.com/theodorejb/PolyCast.git", - "reference": "68ae87e42ead5c1a59ae4e03446607f592cefea3" + "url": "https://github.com/amphp/sync.git", + "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theodorejb/PolyCast/zipball/68ae87e42ead5c1a59ae4e03446607f592cefea3", - "reference": "68ae87e42ead5c1a59ae4e03446607f592cefea3", + "url": "https://api.github.com/repos/amphp/sync/zipball/613047ac54c025aa800a9cde5b05c3add7327ed4", + "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4", "shasum": "" }, + "require": { + "amphp/amp": "^2.2", + "php": ">=7.1" + }, "require-dev": { - "phpunit/phpunit": "^4.8" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^9 || ^8 || ^7" }, "type": "library", "autoload": { + "psr-4": { + "Amp\\Sync\\": "src" + }, "files": [ - "lib/PolyCast.php", - "lib/CastException.php" + "src/functions.php", + "src/ConcurrentIterator/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -8275,258 +7997,335 @@ ], "authors": [ { - "name": "Theodore Brown", - "email": "theodorejb@outlook.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" } ], - "description": "Safely cast values to int, float, or string", + "description": "Mutex, Semaphore, and other synchronization tools for Amp.", + "homepage": "https://github.com/amphp/sync", + "keywords": [ + "async", + "asynchronous", + "mutex", + "semaphore", + "synchronization" + ], "support": { - "issues": "https://github.com/theodorejb/PolyCast/issues", - "source": "https://github.com/theodorejb/PolyCast/tree/master" + "issues": "https://github.com/amphp/sync/issues", + "source": "https://github.com/amphp/sync/tree/v1.4.0" }, - "time": "2015-10-25T19:36:42+00:00" + "time": "2020-05-07T18:57:50+00:00" }, { - "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.3", + "name": "doctrine/collections", + "version": "1.6.7", "source": { "type": "git", - "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5" + "url": "https://github.com/doctrine/collections.git", + "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5", - "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5", + "url": "https://api.github.com/repos/doctrine/collections/zipball/55f8b799269a1a472457bd1a41b4f379d4cfba4a", + "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-libxml": "*", - "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0" + "php": "^7.1.3 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5" + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan-shim": "^0.9.2", + "phpunit/phpunit": "^7.0", + "vimeo/psalm": "^3.8.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, "autoload": { "psr-4": { - "TijsVerkoyen\\CssToInlineStyles\\": "src" + "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Tijs Verkoyen", - "email": "css_to_inline_styles@verkoyen.eu", - "role": "Developer" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", - "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "description": "PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.", + "homepage": "https://www.doctrine-project.org/projects/collections.html", + "keywords": [ + "array", + "collections", + "iterators", + "php" + ], "support": { - "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3" + "issues": "https://github.com/doctrine/collections/issues", + "source": "https://github.com/doctrine/collections/tree/1.6.7" }, - "time": "2020-07-13T06:12:54+00:00" + "time": "2020-07-27T17:53:49+00:00" }, { - "name": "vlucas/phpdotenv", - "version": "v4.1.8", + "name": "doctrine/instantiator", + "version": "1.3.1", "source": { "type": "git", - "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "572af79d913627a9d70374d27a6f5d689a35de32" + "url": "https://github.com/doctrine/instantiator.git", + "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/572af79d913627a9d70374d27a6f5d689a35de32", - "reference": "572af79d913627a9d70374d27a6f5d689a35de32", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", + "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", - "phpoption/phpoption": "^1.7.3", - "symfony/polyfill-ctype": "^1.17" + "php": "^7.1 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "ext-filter": "*", - "ext-pcre": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0" - }, - "suggest": { - "ext-filter": "Required to use the boolean validator.", - "ext-pcre": "Required to use most of the library." + "doctrine/coding-standard": "^6.0", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.1-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { "psr-4": { - "Dotenv\\": "src/" + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Graham Campbell", - "email": "graham@alt-three.com", - "homepage": "https://gjcampbell.co.uk/" - }, - { - "name": "Vance Lucas", - "email": "vance@vancelucas.com", - "homepage": "https://vancelucas.com/" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" } ], - "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ - "dotenv", - "env", - "environment" + "constructor", + "instantiate" ], "support": { - "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/4.1" + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.3.x" }, "funding": [ { - "url": "https://github.com/GrahamCampbell", - "type": "github" + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" }, { - "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", "type": "tidelift" } ], - "time": "2020-07-14T19:22:52+00:00" + "time": "2020-05-29T17:27:14+00:00" }, { - "name": "voku/anti-xss", - "version": "4.1.28", + "name": "facade/flare-client-php", + "version": "1.3.6", "source": { "type": "git", - "url": "https://github.com/voku/anti-xss.git", - "reference": "8919a19846d2b100e664d9e3cecfcaba4f57d9b4" + "url": "https://github.com/facade/flare-client-php.git", + "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/anti-xss/zipball/8919a19846d2b100e664d9e3cecfcaba4f57d9b4", - "reference": "8919a19846d2b100e664d9e3cecfcaba4f57d9b4", + "url": "https://api.github.com/repos/facade/flare-client-php/zipball/451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799", + "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799", "shasum": "" }, "require": { - "php": ">=7.0.0", - "voku/portable-utf8": "~5.4.27" + "facade/ignition-contracts": "~1.0", + "illuminate/pipeline": "^5.5|^6.0|^7.0|^8.0", + "php": "^7.1", + "symfony/http-foundation": "^3.3|^4.1|^5.0", + "symfony/mime": "^3.4|^4.0|^5.1", + "symfony/var-dumper": "^3.4|^4.0|^5.0" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0" + "friendsofphp/php-cs-fixer": "^2.14", + "phpunit/phpunit": "^7.5.16", + "spatie/phpunit-snapshot-assertions": "^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.1.x-dev" + "dev-master": "1.0-dev" } }, "autoload": { "psr-4": { - "voku\\helper\\": "src/voku/helper/" - } + "Facade\\FlareClient\\": "src" + }, + "files": [ + "src/helpers.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "EllisLab Dev Team", - "homepage": "http://ellislab.com/" - }, - { - "name": "Lars Moelleken", - "email": "lars@moelleken.org", - "homepage": "http://www.moelleken.org/" - } - ], - "description": "anti xss-library", - "homepage": "https://github.com/voku/anti-xss", + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/facade/flare-client-php", "keywords": [ - "anti-xss", - "clean", - "security", - "xss" + "exception", + "facade", + "flare", + "reporting" ], "support": { - "issues": "https://github.com/voku/anti-xss/issues", - "source": "https://github.com/voku/anti-xss/tree/4.1.28" + "issues": "https://github.com/facade/flare-client-php/issues", + "source": "https://github.com/facade/flare-client-php/tree/1.3.6" }, "funding": [ { - "url": "https://www.paypal.me/moelleken", - "type": "custom" - }, - { - "url": "https://github.com/voku", + "url": "https://github.com/spatie", "type": "github" + } + ], + "time": "2020-09-18T06:35:11+00:00" + }, + { + "name": "facade/ignition", + "version": "2.3.8", + "source": { + "type": "git", + "url": "https://github.com/facade/ignition.git", + "reference": "e8fed9c382cd1d02b5606688576a35619afdf82c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/ignition/zipball/e8fed9c382cd1d02b5606688576a35619afdf82c", + "reference": "e8fed9c382cd1d02b5606688576a35619afdf82c", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "facade/flare-client-php": "^1.0", + "facade/ignition-contracts": "^1.0", + "filp/whoops": "^2.4", + "illuminate/support": "^7.0|^8.0", + "monolog/monolog": "^2.0", + "php": "^7.2.5", + "scrivo/highlight.php": "^9.15", + "symfony/console": "^5.0", + "symfony/var-dumper": "^5.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.14", + "mockery/mockery": "^1.3", + "orchestra/testbench": "^5.0|^6.0", + "psalm/plugin-laravel": "^1.2" + }, + "suggest": { + "laravel/telescope": "^3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" }, - { - "url": "https://opencollective.com/anti-xss", - "type": "open_collective" - }, - { - "url": "https://www.patreon.com/voku", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/voku/anti-xss", - "type": "tidelift" + "laravel": { + "providers": [ + "Facade\\Ignition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Facade\\Ignition\\Facades\\Flare" + } } + }, + "autoload": { + "psr-4": { + "Facade\\Ignition\\": "src" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" ], - "time": "2020-08-27T22:43:59+00:00" + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://github.com/facade/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "time": "2020-10-01T23:01:14+00:00" }, { - "name": "voku/portable-ascii", - "version": "1.5.3", + "name": "facade/ignition-contracts", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/voku/portable-ascii.git", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8" + "url": "https://github.com/facade/ignition-contracts.git", + "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/25bcbf01678930251fd572891447d9e318a6e2b8", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8", + "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/aeab1ce8b68b188a43e81758e750151ad7da796b", + "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b", "shasum": "" }, "require": { - "php": ">=7.0.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0" - }, - "suggest": { - "ext-intl": "Use Intl for transliterator_transliterate() support" + "friendsofphp/php-cs-fixer": "^2.14", + "phpunit/phpunit": "^7.5|^8.0", + "vimeo/psalm": "^3.12" }, "type": "library", "autoload": { "psr-4": { - "voku\\": "src/voku/" + "Facade\\IgnitionContracts\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -8535,181 +8334,121 @@ ], "authors": [ { - "name": "Lars Moelleken", - "homepage": "http://www.moelleken.org/" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://flareapp.io", + "role": "Developer" } ], - "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", - "homepage": "https://github.com/voku/portable-ascii", + "description": "Solution contracts for Ignition", + "homepage": "https://github.com/facade/ignition-contracts", "keywords": [ - "ascii", - "clean", - "php" + "contracts", + "flare", + "ignition" ], "support": { - "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/master" + "issues": "https://github.com/facade/ignition-contracts/issues", + "source": "https://github.com/facade/ignition-contracts/tree/1.0.1" }, - "funding": [ - { - "url": "https://www.paypal.me/moelleken", - "type": "custom" - }, - { - "url": "https://github.com/voku", - "type": "github" - }, - { - "url": "https://opencollective.com/portable-ascii", - "type": "open_collective" - }, - { - "url": "https://www.patreon.com/voku", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", - "type": "tidelift" - } - ], - "time": "2020-07-22T23:32:04+00:00" + "time": "2020-07-14T10:10:28+00:00" }, { - "name": "voku/portable-utf8", - "version": "5.4.47", + "name": "filp/whoops", + "version": "2.7.3", "source": { "type": "git", - "url": "https://github.com/voku/portable-utf8.git", - "reference": "c92522515a2d5ec9b03fd3c9e231b8b277c65121" + "url": "https://github.com/filp/whoops.git", + "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-utf8/zipball/c92522515a2d5ec9b03fd3c9e231b8b277c65121", - "reference": "c92522515a2d5ec9b03fd3c9e231b8b277c65121", + "url": "https://api.github.com/repos/filp/whoops/zipball/5d5fe9bb3d656b514d455645b3addc5f7ba7714d", + "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d", "shasum": "" }, "require": { - "php": ">=7.0.0", - "symfony/polyfill-iconv": "~1.0", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php72": "~1.0", - "voku/portable-ascii": "~1.5" + "php": "^5.5.9 || ^7.0", + "psr/log": "^1.0.1" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0" + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" }, "suggest": { - "ext-ctype": "Use Ctype for e.g. hexadecimal digit detection", - "ext-fileinfo": "Use Fileinfo for better binary file detection", - "ext-iconv": "Use iconv for best performance", - "ext-intl": "Use Intl for best performance", - "ext-json": "Use JSON for string detection", - "ext-mbstring": "Use Mbstring for best performance" + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.6-dev" + } + }, "autoload": { "psr-4": { - "voku\\": "src/voku/" - }, - "files": [ - "bootstrap.php" - ] + "Whoops\\": "src/Whoops/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "(Apache-2.0 or GPL-2.0)" + "MIT" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Hamid Sarfraz", - "homepage": "http://pageconfig.com/" - }, - { - "name": "Lars Moelleken", - "homepage": "http://www.moelleken.org/" + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" } ], - "description": "Portable UTF-8 library - performance optimized (unicode) string functions for php.", - "homepage": "https://github.com/voku/portable-utf8", + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", "keywords": [ - "UTF", - "clean", - "php", - "unicode", - "utf-8", - "utf8" + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" ], "support": { - "issues": "https://github.com/voku/portable-utf8/issues", - "source": "https://github.com/voku/portable-utf8/tree/master" + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.7.3" }, - "funding": [ - { - "url": "https://www.paypal.me/moelleken", - "type": "custom" - }, - { - "url": "https://github.com/voku", - "type": "github" - }, - { - "url": "https://opencollective.com/portable-utf8", - "type": "open_collective" - }, - { - "url": "https://www.patreon.com/voku", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/voku/portable-utf8", - "type": "tidelift" - } - ], - "time": "2020-07-26T11:17:51+00:00" - } - ], - "packages-dev": [ + "time": "2020-06-14T09:00:00+00:00" + }, { - "name": "doctrine/instantiator", - "version": "1.3.1", + "name": "fzaninotto/faker", + "version": "v1.9.1", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" + "url": "https://github.com/fzaninotto/Faker.git", + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" + "ext-intl": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7", + "squizlabs/php_codesniffer": "^2.9.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.9-dev" } }, "autoload": { "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + "Faker\\": "src/Faker/" } }, "notification-url": "https://packagist.org/downloads/", @@ -8718,206 +8457,165 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "name": "François Zaninotto" } ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.3.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" ], - "time": "2020-05-29T17:27:14+00:00" + "support": { + "issues": "https://github.com/fzaninotto/Faker/issues", + "source": "https://github.com/fzaninotto/Faker/tree/v1.9.1" + }, + "time": "2019-12-12T13:22:17+00:00" }, { - "name": "facade/flare-client-php", - "version": "1.3.6", + "name": "gitonomy/gitlib", + "version": "v1.2.2", "source": { "type": "git", - "url": "https://github.com/facade/flare-client-php.git", - "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799" + "url": "https://github.com/gitonomy/gitlib.git", + "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/flare-client-php/zipball/451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799", - "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799", + "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/d1fe4676bf1347c08dec84a14a4c5e7110740d72", + "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72", "shasum": "" }, "require": { - "facade/ignition-contracts": "~1.0", - "illuminate/pipeline": "^5.5|^6.0|^7.0|^8.0", - "php": "^7.1", - "symfony/http-foundation": "^3.3|^4.1|^5.0", - "symfony/mime": "^3.4|^4.0|^5.1", - "symfony/var-dumper": "^3.4|^4.0|^5.0" + "ext-pcre": "*", + "php": "^5.6 || ^7.0 || ^8.0", + "symfony/polyfill-mbstring": "^1.7", + "symfony/process": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14", - "phpunit/phpunit": "^7.5.16", - "spatie/phpunit-snapshot-assertions": "^2.0" + "ext-fileinfo": "*", + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0", + "psr/log": "^1.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } + "suggest": { + "ext-fileinfo": "Required to determine the mimetype of a blob", + "psr/log": "Required to use loggers for reporting of execution" }, + "type": "library", "autoload": { "psr-4": { - "Facade\\FlareClient\\": "src" - }, - "files": [ - "src/helpers.php" - ] + "Gitonomy\\Git\\": "src/Gitonomy/Git/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Send PHP errors to Flare", - "homepage": "https://github.com/facade/flare-client-php", - "keywords": [ - "exception", - "facade", - "flare", - "reporting" + "authors": [ + { + "name": "Graham Campbell", + "email": "graham@alt-three.com" + }, + { + "name": "Julien Didier", + "email": "genzo.wm@gmail.com" + }, + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Alexandre Salomé", + "email": "alexandre.salome@gmail.com" + } ], + "description": "Library for accessing git", "support": { - "issues": "https://github.com/facade/flare-client-php/issues", - "source": "https://github.com/facade/flare-client-php/tree/1.3.6" + "issues": "https://github.com/gitonomy/gitlib/issues", + "source": "https://github.com/gitonomy/gitlib/tree/1.2" }, "funding": [ { - "url": "https://github.com/spatie", - "type": "github" + "url": "https://tidelift.com/funding/github/packagist/gitonomy/gitlib", + "type": "tidelift" } ], - "time": "2020-09-18T06:35:11+00:00" + "time": "2020-07-30T14:54:11+00:00" }, { - "name": "facade/ignition", - "version": "2.3.7", + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", "source": { "type": "git", - "url": "https://github.com/facade/ignition.git", - "reference": "b364db8860a63c1fb58b72b9718863c21df08762" + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/b364db8860a63c1fb58b72b9718863c21df08762", - "reference": "b364db8860a63c1fb58b72b9718863c21df08762", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", "shasum": "" }, "require": { - "ext-json": "*", - "ext-mbstring": "*", - "facade/flare-client-php": "^1.0", - "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.4", - "illuminate/support": "^7.0|^8.0", - "monolog/monolog": "^2.0", - "php": "^7.2.5", - "scrivo/highlight.php": "^9.15", - "symfony/console": "^5.0", - "symfony/var-dumper": "^5.0" + "php": "^5.3|^7.0|^8.0" }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^5.0|^6.0", - "psalm/plugin-laravel": "^1.2" + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" }, - "suggest": { - "laravel/telescope": "^3.1" + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" - }, - "laravel": { - "providers": [ - "Facade\\Ignition\\IgnitionServiceProvider" - ], - "aliases": { - "Flare": "Facade\\Ignition\\Facades\\Flare" - } + "dev-master": "2.1-dev" } }, "autoload": { - "psr-4": { - "Facade\\Ignition\\": "src" - }, - "files": [ - "src/helpers.php" + "classmap": [ + "hamcrest" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "A beautiful error page for Laravel applications.", - "homepage": "https://github.com/facade/ignition", + "description": "This is the PHP port of Hamcrest Matchers", "keywords": [ - "error", - "flare", - "laravel", - "page" + "test" ], "support": { - "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", - "forum": "https://twitter.com/flareappio", - "issues": "https://github.com/facade/ignition/issues", - "source": "https://github.com/facade/ignition" + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" }, - "time": "2020-09-06T19:26:27+00:00" + "time": "2020-07-09T08:09:16+00:00" }, { - "name": "facade/ignition-contracts", - "version": "1.0.1", + "name": "jasonmccreary/laravel-test-assertions", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/facade/ignition-contracts.git", - "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b" + "url": "https://github.com/jasonmccreary/laravel-test-assertions.git", + "reference": "3ead0117ce53d2b64ce6a6caa5db26f2188712ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/aeab1ce8b68b188a43e81758e750151ad7da796b", - "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b", + "url": "https://api.github.com/repos/jasonmccreary/laravel-test-assertions/zipball/3ead0117ce53d2b64ce6a6caa5db26f2188712ae", + "reference": "3ead0117ce53d2b64ce6a6caa5db26f2188712ae", "shasum": "" }, "require": { - "php": "^7.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14", - "phpunit/phpunit": "^7.5|^8.0", - "vimeo/psalm": "^3.12" + "mockery/mockery": "^1.0", + "php": ">=7.2", + "phpunit/phpunit": "^7.5|^8.0|^9.0" }, "type": "library", "autoload": { "psr-4": { - "Facade\\IgnitionContracts\\": "src" + "JMac\\Testing\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -8926,609 +8624,630 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://flareapp.io", - "role": "Developer" + "name": "Jason McCreary", + "email": "jason@pureconcepts.net" } ], - "description": "Solution contracts for Ignition", - "homepage": "https://github.com/facade/ignition-contracts", - "keywords": [ - "contracts", - "flare", - "ignition" - ], + "description": "A set of helpful assertions when testing Laravel applications.", "support": { - "issues": "https://github.com/facade/ignition-contracts/issues", - "source": "https://github.com/facade/ignition-contracts/tree/1.0.1" + "issues": "https://github.com/jasonmccreary/laravel-test-assertions/issues", + "source": "https://github.com/jasonmccreary/laravel-test-assertions/tree/master" }, - "time": "2020-07-14T10:10:28+00:00" + "time": "2020-04-03T15:14:24+00:00" }, { - "name": "filp/whoops", - "version": "2.7.3", + "name": "mockery/mockery", + "version": "1.4.2", "source": { "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d" + "url": "https://github.com/mockery/mockery.git", + "reference": "20cab678faed06fac225193be281ea0fddb43b93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/5d5fe9bb3d656b514d455645b3addc5f7ba7714d", - "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d", + "url": "https://api.github.com/repos/mockery/mockery/zipball/20cab678faed06fac225193be281ea0fddb43b93", + "reference": "20cab678faed06fac225193be281ea0fddb43b93", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0", - "psr/log": "^1.0.1" + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": "^7.3 || ^8.0" }, - "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + "conflict": { + "phpunit/phpunit": "<8.0" }, - "suggest": { - "symfony/var-dumper": "Pretty print complex values better with var-dumper available", - "whoops/soap": "Formats errors as SOAP responses" + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "1.4.x-dev" } }, "autoload": { - "psr-4": { - "Whoops\\": "src/Whoops/" + "psr-0": { + "Mockery": "library/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" } ], - "description": "php error handling for cool kids", - "homepage": "https://filp.github.io/whoops/", + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", "keywords": [ - "error", - "exception", - "handling", + "BDD", + "TDD", "library", - "throwable", - "whoops" + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" ], "support": { - "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.7.3" + "issues": "https://github.com/mockery/mockery/issues", + "source": "https://github.com/mockery/mockery/tree/master" }, - "time": "2020-06-14T09:00:00+00:00" + "time": "2020-08-11T18:10:13+00:00" }, { - "name": "fzaninotto/faker", - "version": "v1.9.1", + "name": "myclabs/deep-copy", + "version": "1.10.1", "source": { "type": "git", - "url": "https://github.com/fzaninotto/Faker.git", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", - "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", + "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^7.1 || ^8.0" + }, + "replace": { + "myclabs/deep-copy": "self.version" }, "require-dev": { - "ext-intl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7", - "squizlabs/php_codesniffer": "^2.9.2" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^7.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, "autoload": { "psr-4": { - "Faker\\": "src/Faker/" - } + "DeepCopy\\": "src/DeepCopy/" + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", + "description": "Create deep copies (clones) of your objects", "keywords": [ - "data", - "faker", - "fixtures" + "clone", + "copy", + "duplicate", + "object", + "object graph" ], "support": { - "issues": "https://github.com/fzaninotto/Faker/issues", - "source": "https://github.com/fzaninotto/Faker/tree/v1.9.1" + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.x" }, - "time": "2019-12-12T13:22:17+00:00" + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2020-06-29T13:22:24+00:00" }, { - "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", + "name": "nette/finder", + "version": "v2.5.2", "source": { "type": "git", - "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + "url": "https://github.com/nette/finder.git", + "reference": "4ad2c298eb8c687dd0e74ae84206a4186eeaed50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "url": "https://api.github.com/repos/nette/finder/zipball/4ad2c298eb8c687dd0e74ae84206a4186eeaed50", + "reference": "4ad2c298eb8c687dd0e74ae84206a4186eeaed50", "shasum": "" }, "require": { - "php": "^5.3|^7.0|^8.0" + "nette/utils": "^2.4 || ^3.0", + "php": ">=7.1" }, - "replace": { - "cordoval/hamcrest-php": "*", - "davedevelopment/hamcrest-php": "*", - "kodova/hamcrest-php": "*" + "conflict": { + "nette/nette": "<2.2" }, "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + "nette/tester": "^2.0", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.5-dev" } }, "autoload": { "classmap": [ - "hamcrest" + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" ], - "description": "This is the PHP port of Hamcrest Matchers", + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🔍 Nette Finder: find files and directories with an intuitive API.", + "homepage": "https://nette.org", "keywords": [ - "test" + "filesystem", + "glob", + "iterator", + "nette" ], "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + "issues": "https://github.com/nette/finder/issues", + "source": "https://github.com/nette/finder/tree/v2.5.2" }, - "time": "2020-07-09T08:09:16+00:00" + "time": "2020-01-03T20:35:40+00:00" }, { - "name": "jasonmccreary/laravel-test-assertions", - "version": "v1.0.0", + "name": "nette/utils", + "version": "v3.1.3", "source": { "type": "git", - "url": "https://github.com/jasonmccreary/laravel-test-assertions.git", - "reference": "3ead0117ce53d2b64ce6a6caa5db26f2188712ae" + "url": "https://github.com/nette/utils.git", + "reference": "c09937fbb24987b2a41c6022ebe84f4f1b8eec0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jasonmccreary/laravel-test-assertions/zipball/3ead0117ce53d2b64ce6a6caa5db26f2188712ae", - "reference": "3ead0117ce53d2b64ce6a6caa5db26f2188712ae", + "url": "https://api.github.com/repos/nette/utils/zipball/c09937fbb24987b2a41c6022ebe84f4f1b8eec0f", + "reference": "c09937fbb24987b2a41c6022ebe84f4f1b8eec0f", "shasum": "" }, "require": { - "mockery/mockery": "^1.0", - "php": ">=7.2", - "phpunit/phpunit": "^7.5|^8.0|^9.0" + "php": ">=7.1" + }, + "require-dev": { + "nette/tester": "~2.0", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.3" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", + "ext-xml": "to use Strings::length() etc. when mbstring is not available" }, "type": "library", - "autoload": { - "psr-4": { - "JMac\\Testing\\": "src/" + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" } }, + "autoload": { + "classmap": [ + "src/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" ], "authors": [ { - "name": "Jason McCreary", - "email": "jason@pureconcepts.net" + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" } ], - "description": "A set of helpful assertions when testing Laravel applications.", + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], "support": { - "issues": "https://github.com/jasonmccreary/laravel-test-assertions/issues", - "source": "https://github.com/jasonmccreary/laravel-test-assertions/tree/master" + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v3.1.3" }, - "time": "2020-04-03T15:14:24+00:00" + "time": "2020-08-07T10:34:21+00:00" }, { - "name": "mockery/mockery", - "version": "1.4.2", + "name": "nunomaduro/collision", + "version": "v5.0.2", "source": { "type": "git", - "url": "https://github.com/mockery/mockery.git", - "reference": "20cab678faed06fac225193be281ea0fddb43b93" + "url": "https://github.com/nunomaduro/collision.git", + "reference": "4a343299054e9368d0db4a982a780cc4ffa12707" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/20cab678faed06fac225193be281ea0fddb43b93", - "reference": "20cab678faed06fac225193be281ea0fddb43b93", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/4a343299054e9368d0db4a982a780cc4ffa12707", + "reference": "4a343299054e9368d0db4a982a780cc4ffa12707", "shasum": "" }, "require": { - "hamcrest/hamcrest-php": "^2.0.1", - "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<8.0" + "facade/ignition-contracts": "^1.0", + "filp/whoops": "^2.7.2", + "php": "^7.3", + "symfony/console": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" + "fideloper/proxy": "^4.4.0", + "friendsofphp/php-cs-fixer": "^2.16.4", + "fruitcake/laravel-cors": "^2.0.1", + "laravel/framework": "^8.0", + "laravel/tinker": "^2.4.1", + "nunomaduro/larastan": "^0.6.2", + "nunomaduro/mock-final-classes": "^1.0", + "orchestra/testbench": "^6.0", + "phpstan/phpstan": "^0.12.36", + "phpunit/phpunit": "^9.3.3" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] } }, "autoload": { - "psr-0": { - "Mockery": "library/" + "psr-4": { + "NunoMaduro\\Collision\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" ], - "authors": [ + "funding": [ { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" + "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", + "type": "custom" }, { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" } ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "support": { - "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/master" - }, - "time": "2020-08-11T18:10:13+00:00" + "time": "2020-08-27T18:58:22+00:00" }, { - "name": "mpociot/laravel-test-factory-helper", - "version": "v2.1.0", + "name": "phar-io/manifest", + "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/mpociot/laravel-test-factory-helper.git", - "reference": "4660d6116cf451394343dea7922dc0e9de7e78c0" + "url": "https://github.com/phar-io/manifest.git", + "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mpociot/laravel-test-factory-helper/zipball/4660d6116cf451394343dea7922dc0e9de7e78c0", - "reference": "4660d6116cf451394343dea7922dc0e9de7e78c0", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", "shasum": "" }, "require": { - "doctrine/dbal": "^2.9", - "illuminate/console": "^6.0|^7.0", - "illuminate/filesystem": "^6.0|^7.0", - "illuminate/support": "^6.0|^7.0", - "php": "^7.2.5" + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "Mpociot\\LaravelTestFactoryHelper\\TestFactoryHelperServiceProvider" - ] + "branch-alias": { + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-4": { - "Mpociot\\LaravelTestFactoryHelper\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "Generate Laravel test factories from your existing models", - "keywords": [ - "factory", - "laravel", - "tests" + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { - "issues": "https://github.com/mpociot/laravel-test-factory-helper/issues", - "source": "https://github.com/mpociot/laravel-test-factory-helper/tree/master" + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/master" }, - "time": "2020-03-02T16:04:35+00:00" + "time": "2020-06-27T14:33:11+00:00" }, { - "name": "myclabs/deep-copy", - "version": "1.10.1", + "name": "phar-io/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5" + "url": "https://github.com/phar-io/version.git", + "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", + "url": "https://api.github.com/repos/phar-io/version/zipball/c6bb6825def89e0a32220f88337f8ceaf1975fa0", + "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "replace": { - "myclabs/deep-copy": "self.version" - }, - "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "php": "^7.2 || ^8.0" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, - "files": [ - "src/DeepCopy/deep_copy.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" + "BSD-3-Clause" ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.x" - }, - "funding": [ + "authors": [ { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "time": "2020-06-29T13:22:24+00:00" + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/master" + }, + "time": "2020-06-27T14:39:04+00:00" }, { - "name": "nette/finder", - "version": "v2.5.2", + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", "source": { "type": "git", - "url": "https://github.com/nette/finder.git", - "reference": "4ad2c298eb8c687dd0e74ae84206a4186eeaed50" + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/4ad2c298eb8c687dd0e74ae84206a4186eeaed50", - "reference": "4ad2c298eb8c687dd0e74ae84206a4186eeaed50", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", "shasum": "" }, "require": { - "nette/utils": "^2.4 || ^3.0", - "php": ">=7.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5-dev" + "dev-2.x": "2.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" + "MIT" ], "authors": [ { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" } ], - "description": "🔍 Nette Finder: find files and directories with an intuitive API.", - "homepage": "https://nette.org", + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", "keywords": [ - "filesystem", - "glob", - "iterator", - "nette" + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" ], "support": { - "issues": "https://github.com/nette/finder/issues", - "source": "https://github.com/nette/finder/tree/v2.5.2" + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" }, - "time": "2020-01-03T20:35:40+00:00" + "time": "2020-06-27T09:03:43+00:00" }, { - "name": "nette/utils", - "version": "v3.1.3", + "name": "phpdocumentor/reflection-docblock", + "version": "5.2.2", "source": { "type": "git", - "url": "https://github.com/nette/utils.git", - "reference": "c09937fbb24987b2a41c6022ebe84f4f1b8eec0f" + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/c09937fbb24987b2a41c6022ebe84f4f1b8eec0f", - "reference": "c09937fbb24987b2a41c6022ebe84f4f1b8eec0f", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", "shasum": "" }, "require": { - "php": ">=7.1" + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" }, "require-dev": { - "nette/tester": "~2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" - }, - "suggest": { - "ext-gd": "to use Image", - "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", - "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", - "ext-json": "to use Nette\\Utils\\Json", - "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" + "mockery/mockery": "~1.3.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "5.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" + "MIT" ], "authors": [ { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" + "name": "Mike van Riel", + "email": "me@mikevanriel.com" }, { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" } ], - "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", - "homepage": "https://nette.org", - "keywords": [ - "array", - "core", - "datetime", - "images", - "json", - "nette", - "paginator", - "password", - "slugify", - "string", - "unicode", - "utf-8", - "utility", - "validation" - ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { - "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.1.3" + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" }, - "time": "2020-08-07T10:34:21+00:00" + "time": "2020-09-03T19:13:55+00:00" }, { - "name": "nunomaduro/collision", - "version": "v4.2.0", + "name": "phpdocumentor/type-resolver", + "version": "1.4.0", "source": { "type": "git", - "url": "https://github.com/nunomaduro/collision.git", - "reference": "d50490417eded97be300a92cd7df7badc37a9018" + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/d50490417eded97be300a92cd7df7badc37a9018", - "reference": "d50490417eded97be300a92cd7df7badc37a9018", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", "shasum": "" }, "require": { - "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.4", - "php": "^7.2.5", - "symfony/console": "^5.0" + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "facade/ignition": "^2.0", - "fideloper/proxy": "^4.2", - "friendsofphp/php-cs-fixer": "^2.16", - "fruitcake/laravel-cors": "^1.0", - "laravel/framework": "^7.0", - "laravel/tinker": "^2.0", - "nunomaduro/larastan": "^0.5", - "orchestra/testbench": "^5.0", - "phpstan/phpstan": "^0.12.3", - "phpunit/phpunit": "^8.5.1 || ^9.0" + "ext-tokenizer": "*" }, "type": "library", "extra": { - "laravel": { - "providers": [ - "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" - ] + "branch-alias": { + "dev-1.x": "1.x-dev" } }, "autoload": { "psr-4": { - "NunoMaduro\\Collision\\": "src/" + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -9537,511 +9256,578 @@ ], "authors": [ { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" + "name": "Mike van Riel", + "email": "me@mikevanriel.com" } ], - "description": "Cli error handling for console/command-line PHP applications.", - "keywords": [ - "artisan", - "cli", - "command-line", - "console", - "error", - "handling", - "laravel", - "laravel-zero", - "php", - "symfony" - ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { - "issues": "https://github.com/nunomaduro/collision/issues", - "source": "https://github.com/nunomaduro/collision" + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2020-04-04T19:56:08+00:00" + "time": "2020-09-17T18:55:26+00:00" }, { - "name": "phar-io/manifest", - "version": "2.0.1", + "name": "phpro/grumphp", + "version": "v0.19.1", "source": { "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "url": "https://github.com/phpro/grumphp.git", + "reference": "3be2d5fe8437f2a3ef5a45629602657be7464e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phpro/grumphp/zipball/3be2d5fe8437f2a3ef5a45629602657be7464e8a", + "reference": "3be2d5fe8437f2a3ef5a45629602657be7464e8a", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" + "amphp/amp": "^2.4", + "amphp/parallel": "^1.4", + "amphp/parallel-functions": "^0.1.3", + "composer-plugin-api": "~1.0 || ~2.0", + "doctrine/collections": "~1.2", + "ext-json": "*", + "gitonomy/gitlib": "^1.0.3", + "monolog/monolog": "~1.16 || ^2.0", + "opis/closure": "^3.5", + "php": "^7.2", + "psr/container": "^1.0", + "seld/jsonlint": "~1.1", + "symfony/config": "~4.4 || ~5.0", + "symfony/console": "~4.4 || ~5.0", + "symfony/dependency-injection": "~4.4 || ~5.0", + "symfony/event-dispatcher": "~4.4 || ~5.0", + "symfony/filesystem": "~4.4 || ~5.0", + "symfony/finder": "~4.4 || ~5.0", + "symfony/options-resolver": "~4.4 || ~5.0", + "symfony/process": "~4.4 || ~5.0", + "symfony/yaml": "~4.4 || ~5.0" }, - "type": "library", + "require-dev": { + "brianium/paratest": "~3.1 || dev-master", + "composer/composer": "~1.9 || ^2.0@dev", + "ergebnis/composer-normalize": "~2.1", + "jakub-onderka/php-parallel-lint": "~1.0", + "nikic/php-parser": "~4.0", + "phpspec/phpspec": "~6.1", + "phpunit/phpunit": "^7.5.17", + "sensiolabs/security-checker": "~6.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "suggest": { + "atoum/atoum": "Lets GrumPHP run your unit tests.", + "behat/behat": "Lets GrumPHP validate your project features.", + "brianium/paratest": "Lets GrumPHP run PHPUnit in parallel.", + "codeception/codeception": "Lets GrumPHP run your project's full stack tests", + "codegyre/robo": "Lets GrumPHP run your automated PHP tasks.", + "designsecurity/progpilot": "Lets GrumPHP be sure that there are no vulnerabilities in your code.", + "doctrine/orm": "Lets GrumPHP validate your Doctrine mapping files.", + "ergebnis/composer-normalize": "Lets GrumPHP tidy and normalize your composer.json file.", + "friendsofphp/php-cs-fixer": "Lets GrumPHP automatically fix your codestyle.", + "friendsoftwig/twigcs": "Lets GrumPHP check Twig coding standard.", + "infection/infection": "Lets GrumPHP evaluate the quality your unit tests", + "jakub-onderka/php-parallel-lint": "Lets GrumPHP quickly lint your entire code base.", + "maglnet/composer-require-checker": "Lets GrumPHP analyze composer dependencies.", + "malukenho/kawaii-gherkin": "Lets GrumPHP lint your Gherkin files.", + "nikic/php-parser": "Lets GrumPHP run static analyses through your PHP files.", + "phan/phan": "Lets GrumPHP unleash a static analyzer on your code", + "phing/phing": "Lets GrumPHP run your automated PHP tasks.", + "phpmd/phpmd": "Lets GrumPHP sort out the mess in your code", + "phpspec/phpspec": "Lets GrumPHP spec your code.", + "phpstan/phpstan": "Lets GrumPHP discover bugs in your code without running it.", + "phpunit/phpunit": "Lets GrumPHP run your unit tests.", + "povils/phpmnd": "Lets GrumPHP help you detect magic numbers in PHP code.", + "roave/security-advisories": "Lets GrumPHP be sure that there are no known security issues.", + "sebastian/phpcpd": "Lets GrumPHP find duplicated code.", + "sensiolabs/security-checker": "Lets GrumPHP be sure that there are no known security issues.", + "squizlabs/php_codesniffer": "Lets GrumPHP sniff on your code.", + "sstalle/php7cc": "Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.", + "symfony/phpunit-bridge": "Lets GrumPHP run your unit tests with the phpunit-bridge of Symfony.", + "symplify/easycodingstandard": "Lets GrumPHP check coding standard.", + "vimeo/psalm": "Lets GrumPHP discover errors in your code without running it." + }, + "bin": [ + "bin/grumphp" + ], + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } + "class": "GrumPHP\\Composer\\GrumPHPPlugin" }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "GrumPHP\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" + "name": "Toon Verwerft", + "email": "toon.verwerft@phpro.be" }, { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" + "name": "Community", + "homepage": "https://github.com/phpro/grumphp/graphs/contributors" } ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "description": "A composer plugin that enables source code quality checks.", "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "issues": "https://github.com/phpro/grumphp/issues", + "source": "https://github.com/phpro/grumphp/tree/v0.19.1" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2020-06-24T05:17:37+00:00" }, { - "name": "phar-io/version", - "version": "3.0.2", + "name": "phpspec/prophecy", + "version": "1.12.1", "source": { "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0" + "url": "https://github.com/phpspec/prophecy.git", + "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/c6bb6825def89e0a32220f88337f8ceaf1975fa0", - "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d", + "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "doctrine/instantiator": "^1.2", + "php": "^7.2 || ~8.0, <8.1", + "phpdocumentor/reflection-docblock": "^5.2", + "sebastian/comparator": "^3.0 || ^4.0", + "sebastian/recursion-context": "^3.0 || ^4.0" + }, + "require-dev": { + "phpspec/phpspec": "^6.0", + "phpunit/phpunit": "^8.0 || ^9.0 <9.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.11.x-dev" + } + }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Prophecy\\": "src/Prophecy" + } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, + "license": [ + "MIT" + ], + "authors": [ { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" }, { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" } ], - "description": "Library for handling version information and constraints", + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/master" + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/1.12.1" }, - "time": "2020-06-27T14:39:04+00:00" + "time": "2020-09-29T09:10:42+00:00" }, { - "name": "php-coveralls/php-coveralls", - "version": "v2.3.0", + "name": "phpunit/php-code-coverage", + "version": "9.2.0", "source": { "type": "git", - "url": "https://github.com/php-coveralls/php-coveralls.git", - "reference": "1bd927eea299578f4ca484ce5083364b7d0fd782" + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "53a4b737e83be724efd2bc4e7b929b9a30c48972" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/1bd927eea299578f4ca484ce5083364b7d0fd782", - "reference": "1bd927eea299578f4ca484ce5083364b7d0fd782", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/53a4b737e83be724efd2bc4e7b929b9a30c48972", + "reference": "53a4b737e83be724efd2bc4e7b929b9a30c48972", "shasum": "" }, "require": { - "ext-json": "*", - "ext-simplexml": "*", - "guzzlehttp/guzzle": "^6.0 || ^7.0", - "php": "^5.5 || ^7.0", - "psr/log": "^1.0", - "symfony/config": "^2.1 || ^3.0 || ^4.0 || ^5.0", - "symfony/console": "^2.1 || ^3.0 || ^4.0 || ^5.0", - "symfony/stopwatch": "^2.0 || ^3.0 || ^4.0 || ^5.0", - "symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0" + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.8", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0" + "phpunit/phpunit": "^9.3" }, "suggest": { - "symfony/http-kernel": "Allows Symfony integration" + "ext-pcov": "*", + "ext-xdebug": "*" }, - "bin": [ - "bin/php-coveralls" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "9.2-dev" } }, "autoload": { - "psr-4": { - "PhpCoveralls\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Kitamura Satoshi", - "email": "with.no.parachute@gmail.com", - "homepage": "https://www.facebook.com/satooshi.jp", - "role": "Original creator" - }, - { - "name": "Takashi Matsuo", - "email": "tmatsuo@google.com" - }, - { - "name": "Google Inc" - }, - { - "name": "Dariusz Ruminski", - "email": "dariusz.ruminski@gmail.com", - "homepage": "https://github.com/keradus" - }, - { - "name": "Contributors", - "homepage": "https://github.com/php-coveralls/php-coveralls/graphs/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "PHP client library for Coveralls API", - "homepage": "https://github.com/php-coveralls/php-coveralls", + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", "keywords": [ - "ci", "coverage", - "github", - "test" + "testing", + "xunit" ], - "support": { - "issues": "https://github.com/php-coveralls/php-coveralls/issues", - "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.3.0" - }, - "time": "2020-09-24T23:20:57+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-02T03:37:32+00:00" }, { - "name": "phpdocumentor/reflection-common", - "version": "2.2.0", + "name": "phpunit/php-file-iterator", + "version": "3.0.5", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", + "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-2.x": "2.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" + "filesystem", + "iterator" ], "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" }, - "time": "2020-06-27T09:03:43+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:57:25+00:00" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "name": "phpunit/php-invoker", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" + "php": ">=7.3" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.x-dev" + "dev-master": "3.1-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - }, - { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, - "time": "2020-09-03T19:13:55+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" }, { - "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "name": "phpunit/php-text-template", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "18c887016e60e52477e54534956d7b47bc52cd84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/18c887016e60e52477e54534956d7b47bc52cd84", + "reference": "18c887016e60e52477e54534956d7b47bc52cd84", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "php": ">=7.3" }, "require-dev": { - "ext-tokenizer": "*" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-1.x": "1.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.3" }, - "time": "2020-09-17T18:55:26+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:03:05+00:00" }, { - "name": "phpspec/prophecy", - "version": "1.12.1", + "name": "phpunit/php-timer", + "version": "5.0.2", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d", - "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/c9ff14f493699e2f6adee9fd06a0245b276643b7", + "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.1", - "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" + "php": ">=7.3" }, "require-dev": { - "phpspec/phpspec": "^6.0", - "phpunit/phpunit": "^8.0 || ^9.0 <9.3" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11.x-dev" + "dev-master": "5.0-dev" } }, "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" + "timer" ], "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.1" + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.2" }, - "time": "2020-09-29T09:10:42+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:00:25+00:00" }, { - "name": "phpunit/php-code-coverage", - "version": "9.1.11", + "name": "phpunit/phpunit", + "version": "9.4.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c9394cb9d07ecfa9351b96f2e296bad473195f4d" + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "ef533467a7974c4b6c354f3eff42a115910bd4e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c9394cb9d07ecfa9351b96f2e296bad473195f4d", - "reference": "c9394cb9d07ecfa9351b96f2e296bad473195f4d", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ef533467a7974c4b6c354f3eff42a115910bd4e5", + "reference": "ef533467a7974c4b6c354f3eff42a115910bd4e5", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1", "ext-dom": "*", + "ext-json": "*", "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.8", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.1", + "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", + "phpspec/prophecy": "^1.11.1", + "phpunit/php-code-coverage": "^9.2", + "phpunit/php-file-iterator": "^3.0.4", + "phpunit/php-invoker": "^3.1", "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", + "phpunit/php-timer": "^5.0.1", + "sebastian/cli-parser": "^1.0", + "sebastian/code-unit": "^1.0.5", + "sebastian/comparator": "^4.0.3", + "sebastian/diff": "^4.0.2", "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" + "sebastian/exporter": "^4.0.2", + "sebastian/global-state": "^5.0", + "sebastian/object-enumerator": "^4.0.2", + "sebastian/resource-operations": "^3.0.2", + "sebastian/type": "^2.2.1", + "sebastian/version": "^3.0.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "ext-pdo": "*", + "phpspec/prophecy-phpunit": "^2.0.1" }, "suggest": { - "ext-pcov": "*", + "ext-soap": "*", "ext-xdebug": "*" }, + "bin": [ + "phpunit" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "9.1-dev" + "dev-master": "9.4-dev" } }, "autoload": { "classmap": [ "src/" + ], + "files": [ + "src/Framework/Assert/Functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -10055,54 +9841,103 @@ "role": "lead" } ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", "keywords": [ - "coverage", + "phpunit", "testing", "xunit" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.1.11" - }, "funding": [ + { + "url": "https://phpunit.de/donate.html", + "type": "custom" + }, { "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2020-09-19T05:29:17+00:00" + "time": "2020-10-02T03:54:37+00:00" }, { - "name": "phpunit/php-file-iterator", - "version": "3.0.5", + "name": "rector/rector-prefixed", + "version": "v0.7.65", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" + "url": "https://github.com/rectorphp/rector-prefixed.git", + "reference": "e9b94d5951ba1d475bd69fb68a598e069dd40658" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", + "url": "https://api.github.com/repos/rectorphp/rector-prefixed/zipball/e9b94d5951ba1d475bd69fb68a598e069dd40658", + "reference": "e9b94d5951ba1d475bd69fb68a598e069dd40658", "shasum": "" }, "require": { - "php": ">=7.3" + "php": "^7.2" + }, + "conflict": { + "nikic/php-parser": "<4.3", + "phpstan/phpstan": "<0.12" + }, + "replace": { + "rector/rector": "self.version" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "doctrine/orm": "^2.7" }, + "bin": [ + "rector", + "rector.phar" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Prefixed version of Rector compiled in PHAR", + "support": { + "source": "https://github.com/rectorphp/rector-prefixed/tree/v0.7.65" + }, + "time": "2020-08-20T13:44:45+00:00" + }, + { + "name": "scrivo/highlight.php", + "version": "v9.18.1.2", + "source": { + "type": "git", + "url": "https://github.com/scrivo/highlight.php.git", + "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/efb6e445494a9458aa59b0af5edfa4bdcc6809d9", + "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": ">=5.4" }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.7", + "sabberworm/php-css-parser": "^8.3", + "symfony/finder": "^2.8|^3.4", + "symfony/var-dumper": "^2.8|^3.4" + }, + "suggest": { + "ext-dom": "Needed to make use of the features in the utilities namespace" + }, + "type": "library", "autoload": { - "classmap": [ - "src/" + "psr-0": { + "Highlight\\": "", + "HighlightUtilities\\": "" + }, + "files": [ + "HighlightUtilities/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -10111,57 +9946,65 @@ ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Geert Bergman", + "homepage": "http://www.scrivo.org/", + "role": "Project Author" + }, + { + "name": "Vladimir Jimenez", + "homepage": "https://allejo.io", + "role": "Maintainer" + }, + { + "name": "Martin Folkers", + "homepage": "https://twobrain.io", + "role": "Contributor" } ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "description": "Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js", "keywords": [ - "filesystem", - "iterator" + "code", + "highlight", + "highlight.js", + "highlight.php", + "syntax" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" + "issues": "https://github.com/scrivo/highlight.php/issues", + "source": "https://github.com/scrivo/highlight.php" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/allejo", "type": "github" } ], - "time": "2020-09-28T05:57:25+00:00" + "time": "2020-08-27T03:24:44+00:00" }, { - "name": "phpunit/php-invoker", - "version": "3.1.1", + "name": "sebastian/cli-parser", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "ext-pcntl": "*", "phpunit/phpunit": "^9.3" }, - "suggest": { - "ext-pcntl": "*" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -10180,14 +10023,11 @@ "role": "lead" } ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" }, "funding": [ { @@ -10195,20 +10035,20 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2020-09-28T06:08:49+00:00" }, { - "name": "phpunit/php-text-template", - "version": "2.0.3", + "name": "sebastian/code-unit", + "version": "1.0.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "18c887016e60e52477e54534956d7b47bc52cd84" + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/18c887016e60e52477e54534956d7b47bc52cd84", - "reference": "18c887016e60e52477e54534956d7b47bc52cd84", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/59236be62b1bb9919e6d7f60b0b832dc05cef9ab", + "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab", "shasum": "" }, "require": { @@ -10220,7 +10060,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -10239,35 +10079,28 @@ "role": "lead" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.3" - }, + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2020-09-28T06:03:05+00:00" + "time": "2020-10-02T14:47:54+00:00" }, { - "name": "phpunit/php-timer", - "version": "5.0.2", + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7" + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/c9ff14f493699e2f6adee9fd06a0245b276643b7", - "reference": "c9ff14f493699e2f6adee9fd06a0245b276643b7", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", "shasum": "" }, "require": { @@ -10279,7 +10112,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -10294,18 +10127,14 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.2" + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" }, "funding": [ { @@ -10313,75 +10142,39 @@ "type": "github" } ], - "time": "2020-09-28T06:00:25+00:00" + "time": "2020-09-28T05:30:19+00:00" }, { - "name": "phpunit/phpunit", - "version": "9.3.11", + "name": "sebastian/comparator", + "version": "4.0.5", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1" + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "7a8ff306445707539c1a6397372a982a1ec55120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f7316ea106df7c9507f4fdaa88c47bc10a3b27a1", - "reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7a8ff306445707539c1a6397372a982a1ec55120", + "reference": "7a8ff306445707539c1a6397372a982a1ec55120", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.1", - "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpspec/prophecy": "^1.11.1", - "phpunit/php-code-coverage": "^9.1.11", - "phpunit/php-file-iterator": "^3.0.4", - "phpunit/php-invoker": "^3.1", - "phpunit/php-text-template": "^2.0.2", - "phpunit/php-timer": "^5.0.1", - "sebastian/cli-parser": "^1.0", - "sebastian/code-unit": "^1.0.5", - "sebastian/comparator": "^4.0.3", - "sebastian/diff": "^4.0.2", - "sebastian/environment": "^5.1.2", - "sebastian/exporter": "^4.0.2", - "sebastian/global-state": "^5.0", - "sebastian/object-enumerator": "^4.0.2", - "sebastian/resource-operations": "^3.0.2", - "sebastian/type": "^2.2.1", - "sebastian/version": "^3.0.1" + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" - }, - "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "phpunit/phpunit": "^9.3" }, - "bin": [ - "phpunit" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-master": "4.0-dev" } }, "autoload": { "classmap": [ "src/" - ], - "files": [ - "src/Framework/Assert/Functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -10391,111 +10184,70 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" } ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ - "phpunit", - "testing", - "xunit" + "comparator", + "compare", + "equality" ], "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.3.11" + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.5" }, "funding": [ - { - "url": "https://phpunit.de/donate.html", - "type": "custom" - }, { "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2020-09-24T08:08:49+00:00" + "time": "2020-09-30T06:47:25+00:00" }, { - "name": "rector/rector-prefixed", - "version": "v0.7.65", + "name": "sebastian/complexity", + "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/rectorphp/rector-prefixed.git", - "reference": "e9b94d5951ba1d475bd69fb68a598e069dd40658" + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector-prefixed/zipball/e9b94d5951ba1d475bd69fb68a598e069dd40658", - "reference": "e9b94d5951ba1d475bd69fb68a598e069dd40658", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ba8cc2da0c0bfbc813d03b56406734030c7f1eff", + "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff", "shasum": "" }, "require": { - "php": "^7.2" - }, - "conflict": { - "nikic/php-parser": "<4.3", - "phpstan/phpstan": "<0.12" - }, - "replace": { - "rector/rector": "self.version" + "nikic/php-parser": "^4.7", + "php": ">=7.3" }, "require-dev": { - "doctrine/orm": "^2.7" + "phpunit/phpunit": "^9.3" }, - "bin": [ - "rector", - "rector.phar" - ], "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Prefixed version of Rector compiled in PHAR", - "support": { - "source": "https://github.com/rectorphp/rector-prefixed/tree/v0.7.65" - }, - "time": "2020-08-20T13:44:45+00:00" - }, - { - "name": "scrivo/highlight.php", - "version": "v9.18.1.2", - "source": { - "type": "git", - "url": "https://github.com/scrivo/highlight.php.git", - "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/efb6e445494a9458aa59b0af5edfa4bdcc6809d9", - "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "php": ">=5.4" - }, - "require-dev": { - "phpunit/phpunit": "^4.8|^5.7", - "sabberworm/php-css-parser": "^8.3", - "symfony/finder": "^2.8|^3.4", - "symfony/var-dumper": "^2.8|^3.4" - }, - "suggest": { - "ext-dom": "Needed to make use of the features in the utilities namespace" + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } }, - "type": "library", "autoload": { - "psr-0": { - "Highlight\\": "", - "HighlightUtilities\\": "" - }, - "files": [ - "HighlightUtilities/functions.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -10504,65 +10256,50 @@ ], "authors": [ { - "name": "Geert Bergman", - "homepage": "http://www.scrivo.org/", - "role": "Project Author" - }, - { - "name": "Vladimir Jimenez", - "homepage": "https://allejo.io", - "role": "Maintainer" - }, - { - "name": "Martin Folkers", - "homepage": "https://twobrain.io", - "role": "Contributor" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js", - "keywords": [ - "code", - "highlight", - "highlight.js", - "highlight.php", - "syntax" - ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", "support": { - "issues": "https://github.com/scrivo/highlight.php/issues", - "source": "https://github.com/scrivo/highlight.php" + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.1" }, "funding": [ { - "url": "https://github.com/allejo", + "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2020-08-27T03:24:44+00:00" + "time": "2020-09-28T06:05:03+00:00" }, { - "name": "sebastian/cli-parser", - "version": "1.0.1", + "name": "sebastian/diff", + "version": "4.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ffc949a1a2aae270ea064453d7535b82e4c32092", + "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -10577,15 +10314,24 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" } ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.3" }, "funding": [ { @@ -10593,20 +10339,20 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2020-09-28T05:32:55+00:00" }, { - "name": "sebastian/code-unit", - "version": "1.0.6", + "name": "sebastian/environment", + "version": "5.1.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8" + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "388b6ced16caa751030f6a69e588299fa09200ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8", - "reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", + "reference": "388b6ced16caa751030f6a69e588299fa09200ac", "shasum": "" }, "require": { @@ -10615,10 +10361,13 @@ "require-dev": { "phpunit/phpunit": "^9.3" }, + "suggest": { + "ext-posix": "*" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -10633,15 +10382,19 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.6" + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" }, "funding": [ { @@ -10649,32 +10402,34 @@ "type": "github" } ], - "time": "2020-09-28T05:28:46+00:00" + "time": "2020-09-28T05:52:38+00:00" }, { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "name": "sebastian/exporter", + "version": "4.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { + "ext-mbstring": "*", "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -10690,13 +10445,33 @@ { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" }, "funding": [ { @@ -10704,34 +10479,38 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2020-09-28T05:24:23+00:00" }, { - "name": "sebastian/comparator", - "version": "4.0.5", + "name": "sebastian/global-state", + "version": "5.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "7a8ff306445707539c1a6397372a982a1ec55120" + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7a8ff306445707539c1a6397372a982a1ec55120", - "reference": "7a8ff306445707539c1a6397372a982a1ec55120", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ea779cb749a478b22a2564ac41cd7bda79c78dc7", + "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7", "shasum": "" }, "require": { "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { + "ext-dom": "*", "phpunit/phpunit": "^9.3" }, + "suggest": { + "ext-uopz": "*" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -10747,30 +10526,16 @@ { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" } ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", "keywords": [ - "comparator", - "compare", - "equality" + "global state" ], "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.5" + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.1" }, "funding": [ { @@ -10778,24 +10543,24 @@ "type": "github" } ], - "time": "2020-09-30T06:47:25+00:00" + "time": "2020-09-28T05:54:06+00:00" }, { - "name": "sebastian/complexity", - "version": "2.0.1", + "name": "sebastian/lines-of-code", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ba8cc2da0c0bfbc813d03b56406734030c7f1eff", - "reference": "ba8cc2da0c0bfbc813d03b56406734030c7f1eff", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/6514b8f21906b8b46f520d1fbd17a4523fa59a54", + "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.6", "php": ">=7.3" }, "require-dev": { @@ -10804,7 +10569,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -10823,11 +10588,11 @@ "role": "lead" } ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.1" + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.1" }, "funding": [ { @@ -10835,28 +10600,29 @@ "type": "github" } ], - "time": "2020-09-28T06:05:03+00:00" + "time": "2020-09-28T06:07:27+00:00" }, { - "name": "sebastian/diff", + "name": "sebastian/object-enumerator", "version": "4.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092" + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "f6f5957013d84725427d361507e13513702888a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ffc949a1a2aae270ea064453d7535b82e4c32092", - "reference": "ffc949a1a2aae270ea064453d7535b82e4c32092", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f6f5957013d84725427d361507e13513702888a4", + "reference": "f6f5957013d84725427d361507e13513702888a4", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { @@ -10877,23 +10643,13 @@ { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" } ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.3" + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.3" }, "funding": [ { @@ -10901,20 +10657,20 @@ "type": "github" } ], - "time": "2020-09-28T05:32:55+00:00" + "time": "2020-09-28T05:55:06+00:00" }, { - "name": "sebastian/environment", - "version": "5.1.3", + "name": "sebastian/object-reflector", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5", + "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5", "shasum": "" }, "require": { @@ -10923,13 +10679,10 @@ "require-dev": { "phpunit/phpunit": "^9.3" }, - "suggest": { - "ext-posix": "*" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -10947,16 +10700,11 @@ "email": "sebastian@phpunit.de" } ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.3" }, "funding": [ { @@ -10964,28 +10712,26 @@ "type": "github" } ], - "time": "2020-09-28T05:52:38+00:00" + "time": "2020-09-28T05:56:16+00:00" }, { - "name": "sebastian/exporter", + "name": "sebastian/recursion-context", "version": "4.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/ed8c9cd355089134bc9cba421b5cfdd58f0eaef7", + "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "php": ">=7.3" }, "require-dev": { - "ext-mbstring": "*", "phpunit/phpunit": "^9.3" }, "type": "library", @@ -11012,28 +10758,16 @@ "name": "Jeff Welch", "email": "whatthejeff@gmail.com" }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" } ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.3" }, "funding": [ { @@ -11041,38 +10775,32 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2020-09-28T05:17:32+00:00" }, { - "name": "sebastian/global-state", - "version": "5.0.1", + "name": "sebastian/resource-operations", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ea779cb749a478b22a2564ac41cd7bda79c78dc7", - "reference": "ea779cb749a478b22a2564ac41cd7bda79c78dc7", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=7.3" }, "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -11090,14 +10818,11 @@ "email": "sebastian@phpunit.de" } ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.1" + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" }, "funding": [ { @@ -11105,24 +10830,23 @@ "type": "github" } ], - "time": "2020-09-28T05:54:06+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { - "name": "sebastian/lines-of-code", - "version": "1.0.1", + "name": "sebastian/type", + "version": "2.2.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/6514b8f21906b8b46f520d1fbd17a4523fa59a54", - "reference": "6514b8f21906b8b46f520d1fbd17a4523fa59a54", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e494dcaeb89d1458c9ccd8c819745245a1669aea", + "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", "php": ">=7.3" }, "require-dev": { @@ -11131,7 +10855,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.2-dev" } }, "autoload": { @@ -11150,11 +10874,11 @@ "role": "lead" } ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.1" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/2.2.2" }, "funding": [ { @@ -11162,34 +10886,29 @@ "type": "github" } ], - "time": "2020-09-28T06:07:27+00:00" + "time": "2020-09-28T06:01:38+00:00" }, { - "name": "sebastian/object-enumerator", - "version": "4.0.3", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "f6f5957013d84725427d361507e13513702888a4" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f6f5957013d84725427d361507e13513702888a4", - "reference": "f6f5957013d84725427d361507e13513702888a4", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -11204,14 +10923,15 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.3" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { @@ -11219,308 +10939,405 @@ "type": "github" } ], - "time": "2020-09-28T05:55:06+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { - "name": "sebastian/object-reflector", - "version": "2.0.3", + "name": "seld/jsonlint", + "version": "1.8.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5" + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5", - "reference": "d9d0ab3b12acb1768bc1e0a89b23c90d2043cbe5", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337", + "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337", "shasum": "" }, "require": { - "php": ">=7.3" + "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, + "bin": [ + "bin/jsonlint" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Seld\\JsonLint\\": "src/Seld/JsonLint/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "description": "JSON Linter", + "keywords": [ + "json", + "linter", + "parser", + "validator" + ], "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.3" + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/master" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/Seldaek", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" } ], - "time": "2020-09-28T05:56:16+00:00" + "time": "2020-08-25T06:56:57+00:00" }, { - "name": "sebastian/recursion-context", - "version": "4.0.3", + "name": "symfony/config", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7" + "url": "https://github.com/symfony/config.git", + "reference": "6ad8be6e1280f6734150d8a04a9160dd34ceb191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/ed8c9cd355089134bc9cba421b5cfdd58f0eaef7", - "reference": "ed8c9cd355089134bc9cba421b5cfdd58f0eaef7", + "url": "https://api.github.com/repos/symfony/config/zipball/6ad8be6e1280f6734150d8a04a9160dd34ceb191", + "reference": "6ad8be6e1280f6734150d8a04a9160dd34ceb191", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/filesystem": "^4.4|^5.0", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/finder": "<4.4" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/messenger": "^4.4|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/yaml": "^4.4|^5.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { - "name": "Adam Harvey", - "email": "aharvey@php.net" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.3" - }, + "description": "Symfony Config Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-28T05:17:32+00:00" + "time": "2020-09-02T16:23:27+00:00" }, { - "name": "sebastian/resource-operations", - "version": "3.0.3", + "name": "symfony/dependency-injection", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "url": "https://github.com/symfony/dependency-injection.git", + "reference": "2dea4a3ef2eb79138354c1d49e9372cc921af20b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2dea4a3ef2eb79138354c1d49e9372cc921af20b", + "reference": "2dea4a3ef2eb79138354c1d49e9372cc921af20b", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.2.5", + "psr/container": "^1.0", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-php80": "^1.15", + "symfony/service-contracts": "^1.1.6|^2" + }, + "conflict": { + "symfony/config": "<5.1", + "symfony/finder": "<4.4", + "symfony/proxy-manager-bridge": "<4.4", + "symfony/yaml": "<4.4" + }, + "provide": { + "psr/container-implementation": "1.0", + "symfony/service-implementation": "1.0" }, "require-dev": { - "phpunit/phpunit": "^9.0" + "symfony/config": "^5.1", + "symfony/expression-language": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" + }, + "suggest": { + "symfony/config": "", + "symfony/expression-language": "For using expressions in service container configuration", + "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", + "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", + "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Symfony\\Component\\DependencyInjection\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, + "description": "Symfony DependencyInjection Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2020-10-01T12:14:45+00:00" }, { - "name": "sebastian/type", - "version": "2.2.2", + "name": "symfony/filesystem", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea" + "url": "https://github.com/symfony/filesystem.git", + "reference": "1a8697545a8d87b9f2f6b1d32414199cc5e20aae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e494dcaeb89d1458c9ccd8c819745245a1669aea", - "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/1a8697545a8d87b9f2f6b1d32414199cc5e20aae", + "reference": "1a8697545a8d87b9f2f6b1d32414199cc5e20aae", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "5.1-dev" } }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.2.2" - }, + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-28T06:01:38+00:00" + "time": "2020-09-27T14:02:37+00:00" }, { - "name": "sebastian/version", - "version": "3.0.2", + "name": "symfony/options-resolver", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "url": "https://github.com/symfony/options-resolver.git", + "reference": "4c7e155bf7d93ea4ba3824d5a14476694a5278dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4c7e155bf7d93ea4ba3824d5a14476694a5278dd", + "reference": "4c7e155bf7d93ea4ba3824d5a14476694a5278dd", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-php80": "^1.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "5.1-dev" } }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, + "description": "Symfony OptionsResolver Component", + "homepage": "https://symfony.com", + "keywords": [ + "config", + "configuration", + "options" + ], "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2020-09-27T03:44:28+00:00" }, { - "name": "symfony/stopwatch", - "version": "v5.1.6", + "name": "symfony/yaml", + "version": "v5.1.7", "source": { "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "0f7c58cf81dbb5dd67d423a89d577524a2ec0323" + "url": "https://github.com/symfony/yaml.git", + "reference": "e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0f7c58cf81dbb5dd67d423a89d577524a2ec0323", - "reference": "0f7c58cf81dbb5dd67d423a89d577524a2ec0323", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a", + "reference": "e147a68cb66a8b510f4b7481fe4da5b2ab65ec6a", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/service-contracts": "^1.0|^2" + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/console": "<4.4" + }, + "require-dev": { + "symfony/console": "^4.4|^5.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" }, + "bin": [ + "Resources/bin/yaml-lint" + ], "type": "library", "extra": { "branch-alias": { @@ -11529,7 +11346,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Component\\Stopwatch\\": "" + "Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -11549,11 +11366,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Stopwatch Component", + "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.1.4" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -11568,27 +11382,27 @@ "type": "tidelift" } ], - "time": "2020-05-20T17:43:50+00:00" + "time": "2020-09-27T03:44:28+00:00" }, { "name": "symplify/autowire-array-parameter", - "version": "8.3.21", + "version": "8.3.30", "source": { "type": "git", "url": "https://github.com/symplify/autowire-array-parameter.git", - "reference": "251f52117dd21aaa2a57cf64988bed81fc232ea8" + "reference": "5cfec0b156a451d058ce1d5f33ccc7ce0e2aea96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/autowire-array-parameter/zipball/251f52117dd21aaa2a57cf64988bed81fc232ea8", - "reference": "251f52117dd21aaa2a57cf64988bed81fc232ea8", + "url": "https://api.github.com/repos/symplify/autowire-array-parameter/zipball/5cfec0b156a451d058ce1d5f33ccc7ce0e2aea96", + "reference": "5cfec0b156a451d058ce1d5f33ccc7ce0e2aea96", "shasum": "" }, "require": { "nette/utils": "^3.0", "php": ">=7.2", "symfony/dependency-injection": "^4.4|^5.1", - "symplify/package-builder": "^8.3.21" + "symplify/package-builder": "^8.3.30" }, "require-dev": { "phpunit/phpunit": "^8.5|^9.0" @@ -11609,9 +11423,6 @@ "MIT" ], "description": "Autowire array parameters for your Symfony applications", - "support": { - "source": "https://github.com/symplify/autowire-array-parameter/tree/8.3.21" - }, "funding": [ { "url": "https://www.paypal.me/rectorphp", @@ -11622,20 +11433,20 @@ "type": "github" } ], - "time": "2020-09-30T14:25:04+00:00" + "time": "2020-10-04T23:37:56+00:00" }, { "name": "symplify/changelog-linker", - "version": "8.3.21", + "version": "8.3.30", "source": { "type": "git", "url": "https://github.com/symplify/changelog-linker.git", - "reference": "b4d355d8452f1052147854cd7a0c29316d6d70f3" + "reference": "49ad2e02cf4bf7013697f71c31696d8118ef666a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/changelog-linker/zipball/b4d355d8452f1052147854cd7a0c29316d6d70f3", - "reference": "b4d355d8452f1052147854cd7a0c29316d6d70f3", + "url": "https://api.github.com/repos/symplify/changelog-linker/zipball/49ad2e02cf4bf7013697f71c31696d8118ef666a", + "reference": "49ad2e02cf4bf7013697f71c31696d8118ef666a", "shasum": "" }, "require": { @@ -11645,10 +11456,10 @@ "symfony/console": "^4.4|^5.1", "symfony/http-kernel": "^4.4|^5.1", "symfony/process": "^4.4|^5.1", - "symplify/autowire-array-parameter": "^8.3.21", - "symplify/package-builder": "^8.3.21", - "symplify/set-config-resolver": "^8.3.21", - "symplify/smart-file-system": "^8.3.21" + "symplify/autowire-array-parameter": "^8.3.30", + "symplify/package-builder": "^8.3.30", + "symplify/set-config-resolver": "^8.3.30", + "symplify/smart-file-system": "^8.3.30" }, "require-dev": { "phpunit/phpunit": "^8.5|^9.0" @@ -11672,9 +11483,6 @@ "MIT" ], "description": "Generates beautiful CHANGELOG.md with links to PRs, versions and users grouped in Added/Changed/Fixed/Removed categories.", - "support": { - "source": "https://github.com/symplify/changelog-linker/tree/8.3.21" - }, "funding": [ { "url": "https://www.paypal.me/rectorphp", @@ -11685,20 +11493,20 @@ "type": "github" } ], - "time": "2020-09-30T14:25:04+00:00" + "time": "2020-10-04T23:37:56+00:00" }, { "name": "symplify/package-builder", - "version": "8.3.21", + "version": "8.3.30", "source": { "type": "git", "url": "https://github.com/symplify/package-builder.git", - "reference": "4a4c5cee8e884a5b06a4f43e7e1eea67487f2f86" + "reference": "c17bad85c3a4b12d9962c20a75d911cd6ae82daa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/package-builder/zipball/4a4c5cee8e884a5b06a4f43e7e1eea67487f2f86", - "reference": "4a4c5cee8e884a5b06a4f43e7e1eea67487f2f86", + "url": "https://api.github.com/repos/symplify/package-builder/zipball/c17bad85c3a4b12d9962c20a75d911cd6ae82daa", + "reference": "c17bad85c3a4b12d9962c20a75d911cd6ae82daa", "shasum": "" }, "require": { @@ -11710,7 +11518,9 @@ "symfony/dependency-injection": "^4.4|^5.1", "symfony/finder": "^4.4|^5.1", "symfony/http-kernel": "^4.4|^5.1", - "symfony/yaml": "^4.4|^5.1" + "symfony/yaml": "^4.4|^5.1", + "symplify/autowire-array-parameter": "^8.3.30", + "symplify/symplify-kernel": "^8.3.30" }, "require-dev": { "phpunit/phpunit": "^8.5|^9.0" @@ -11731,9 +11541,6 @@ "MIT" ], "description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.", - "support": { - "source": "https://github.com/symplify/package-builder/tree/8.3.21" - }, "funding": [ { "url": "https://www.paypal.me/rectorphp", @@ -11744,20 +11551,20 @@ "type": "github" } ], - "time": "2020-09-30T00:27:01+00:00" + "time": "2020-10-04T23:37:56+00:00" }, { "name": "symplify/set-config-resolver", - "version": "8.3.21", + "version": "8.3.30", "source": { "type": "git", "url": "https://github.com/symplify/set-config-resolver.git", - "reference": "1ca2f729c14ac54c3afa83288e31f49b63d4d90e" + "reference": "6ccad3edfaf47262138818965e6aaf11b00c954a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/set-config-resolver/zipball/1ca2f729c14ac54c3afa83288e31f49b63d4d90e", - "reference": "1ca2f729c14ac54c3afa83288e31f49b63d4d90e", + "url": "https://api.github.com/repos/symplify/set-config-resolver/zipball/6ccad3edfaf47262138818965e6aaf11b00c954a", + "reference": "6ccad3edfaf47262138818965e6aaf11b00c954a", "shasum": "" }, "require": { @@ -11769,7 +11576,8 @@ "symfony/filesystem": "^4.4|^5.1", "symfony/finder": "^4.4|^5.1", "symfony/yaml": "^4.4|^5.1", - "symplify/smart-file-system": "^8.3.21" + "symplify/smart-file-system": "^8.3.30", + "symplify/symplify-kernel": "^8.3.30" }, "require-dev": { "phpunit/phpunit": "^8.5|^9.0" @@ -11790,10 +11598,6 @@ "MIT" ], "description": "Resolve config and sets from configs and cli opptions for CLI applications", - "support": { - "issues": "https://github.com/symplify/set-config-resolver/issues", - "source": "https://github.com/symplify/set-config-resolver/tree/8.3.21" - }, "funding": [ { "url": "https://www.paypal.me/rectorphp", @@ -11804,20 +11608,20 @@ "type": "github" } ], - "time": "2020-09-30T14:25:04+00:00" + "time": "2020-10-04T23:37:56+00:00" }, { "name": "symplify/smart-file-system", - "version": "8.3.21", + "version": "8.3.30", "source": { "type": "git", "url": "https://github.com/symplify/smart-file-system.git", - "reference": "1d0c1ca4d61b0739d376f7fc5b37d162891bed71" + "reference": "4a3ee0647c8ec8a36c1a5275fed960d8ae946110" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/smart-file-system/zipball/1d0c1ca4d61b0739d376f7fc5b37d162891bed71", - "reference": "1d0c1ca4d61b0739d376f7fc5b37d162891bed71", + "url": "https://api.github.com/repos/symplify/smart-file-system/zipball/4a3ee0647c8ec8a36c1a5275fed960d8ae946110", + "reference": "4a3ee0647c8ec8a36c1a5275fed960d8ae946110", "shasum": "" }, "require": { @@ -11846,9 +11650,6 @@ "MIT" ], "description": "Sanitized FileInfo with safe getRealPath() and other handy methods", - "support": { - "source": "https://github.com/symplify/smart-file-system/tree/8.3.21" - }, "funding": [ { "url": "https://www.paypal.me/rectorphp", @@ -11859,7 +11660,50 @@ "type": "github" } ], - "time": "2020-09-28T21:23:12+00:00" + "time": "2020-10-02T22:59:32+00:00" + }, + { + "name": "symplify/symplify-kernel", + "version": "8.3.30", + "source": { + "type": "git", + "url": "https://github.com/symplify/symplify-kernel.git", + "reference": "204d44f34417d6c08951d41274b2c6f0e37ebba5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symplify/symplify-kernel/zipball/204d44f34417d6c08951d41274b2c6f0e37ebba5", + "reference": "204d44f34417d6c08951d41274b2c6f0e37ebba5", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "symfony/console": "^4.4|^5.1", + "symfony/dependency-injection": "^4.4|^5.1", + "symfony/http-kernel": "^4.4|^5.1", + "symplify/package-builder": "^8.3.30", + "symplify/smart-file-system": "^8.3.30" + }, + "require-dev": { + "phpunit/phpunit": "^8.5|^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symplify\\SymplifyKernel\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Internal Kernel for Symplify packages", + "time": "2020-10-04T23:37:56+00:00" }, { "name": "theseer/tokenizer", @@ -11978,5 +11822,5 @@ "platform-overrides": { "ext-mcrypt": "1.0" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "1.1.0" } diff --git a/config/app.php b/config/app.php index a8b018f6c6..7bba76577b 100644 --- a/config/app.php +++ b/config/app.php @@ -175,10 +175,10 @@ /* * Package Service Providers... */ + Assada\Achievements\AchievementsServiceProvider::class, Spatie\CookieConsent\CookieConsentServiceProvider::class, Hootlex\Moderation\ModerationServiceProvider::class, Arcanedev\LogViewer\LogViewerServiceProvider::class, - Gstt\Achievements\AchievementsServiceProvider::class, ChristofferOK\LaravelEmojiOne\LaravelEmojiOneServiceProvider::class, Kyslik\ColumnSortable\ColumnSortableServiceProvider::class, Intervention\Image\ImageServiceProvider::class, diff --git a/database/factories/AlbumFactory.php b/database/factories/AlbumFactory.php index 3e20640e2e..f92d616a0b 100644 --- a/database/factories/AlbumFactory.php +++ b/database/factories/AlbumFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Album; use Illuminate\Database\Eloquent\Factories\Factory; class AlbumFactory extends Factory @@ -14,7 +15,7 @@ class AlbumFactory extends Factory * * @var string */ - protected $model = \App\Models\Album::class; + protected $model = Album::class; /** * Define the model's default state. diff --git a/database/factories/ApplicationFactory.php b/database/factories/ApplicationFactory.php index 8cd82f2934..cbf699c86b 100644 --- a/database/factories/ApplicationFactory.php +++ b/database/factories/ApplicationFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Application; use Illuminate\Database\Eloquent\Factories\Factory; class ApplicationFactory extends Factory @@ -14,7 +15,7 @@ class ApplicationFactory extends Factory * * @var string */ - protected $model = \App\Models\Application::class; + protected $model = Application::class; /** * Define the model's default state. diff --git a/database/factories/ApplicationImageProofFactory.php b/database/factories/ApplicationImageProofFactory.php index 150312ada0..9831518f1b 100644 --- a/database/factories/ApplicationImageProofFactory.php +++ b/database/factories/ApplicationImageProofFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\Application; +use App\Models\ApplicationImageProof; use Illuminate\Database\Eloquent\Factories\Factory; class ApplicationImageProofFactory extends Factory @@ -14,7 +15,7 @@ class ApplicationImageProofFactory extends Factory * * @var string */ - protected $model = \App\Models\ApplicationImageProof::class; + protected $model = ApplicationImageProof::class; /** * Define the model's default state. diff --git a/database/factories/ApplicationUrlProofFactory.php b/database/factories/ApplicationUrlProofFactory.php index f0b3925469..78d204739b 100644 --- a/database/factories/ApplicationUrlProofFactory.php +++ b/database/factories/ApplicationUrlProofFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\Application; +use App\Models\ApplicationUrlProof; use Illuminate\Database\Eloquent\Factories\Factory; class ApplicationUrlProofFactory extends Factory @@ -14,7 +15,7 @@ class ApplicationUrlProofFactory extends Factory * * @var string */ - protected $model = \App\Models\ApplicationUrlProof::class; + protected $model = ApplicationUrlProof::class; /** * Define the model's default state. diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php index a2c6de4815..a220245af8 100644 --- a/database/factories/ArticleFactory.php +++ b/database/factories/ArticleFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Article; use Illuminate\Database\Eloquent\Factories\Factory; class ArticleFactory extends Factory @@ -14,7 +15,7 @@ class ArticleFactory extends Factory * * @var string */ - protected $model = \App\Models\Article::class; + protected $model = Article::class; /** * Define the model's default state. diff --git a/database/factories/AuditFactory.php b/database/factories/AuditFactory.php index 7130b44db2..aa48b72941 100644 --- a/database/factories/AuditFactory.php +++ b/database/factories/AuditFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Audit; use Illuminate\Database\Eloquent\Factories\Factory; class AuditFactory extends Factory @@ -14,7 +15,7 @@ class AuditFactory extends Factory * * @var string */ - protected $model = \App\Models\Audit::class; + protected $model = Audit::class; /** * Define the model's default state. diff --git a/database/factories/BanFactory.php b/database/factories/BanFactory.php index 5710467eec..87ace05d55 100644 --- a/database/factories/BanFactory.php +++ b/database/factories/BanFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Ban; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +15,7 @@ class BanFactory extends Factory * * @var string */ - protected $model = \App\Models\Ban::class; + protected $model = Ban::class; /** * Define the model's default state. diff --git a/database/factories/BonExchangeFactory.php b/database/factories/BonExchangeFactory.php index cabe906dc7..d1f43269b8 100644 --- a/database/factories/BonExchangeFactory.php +++ b/database/factories/BonExchangeFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\BonExchange; use Illuminate\Database\Eloquent\Factories\Factory; class BonExchangeFactory extends Factory @@ -13,7 +14,7 @@ class BonExchangeFactory extends Factory * * @var string */ - protected $model = \App\Models\BonExchange::class; + protected $model = BonExchange::class; /** * Define the model's default state. diff --git a/database/factories/BonTransactionsFactory.php b/database/factories/BonTransactionsFactory.php index 8f951c311e..bee560b0ef 100644 --- a/database/factories/BonTransactionsFactory.php +++ b/database/factories/BonTransactionsFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\BonTransactions; use Illuminate\Database\Eloquent\Factories\Factory; class BonTransactionsFactory extends Factory @@ -14,7 +15,7 @@ class BonTransactionsFactory extends Factory * * @var string */ - protected $model = \App\Models\BonTransactions::class; + protected $model = BonTransactions::class; /** * Define the model's default state. diff --git a/database/factories/BookmarkFactory.php b/database/factories/BookmarkFactory.php index 095ac26686..fc90f0fc77 100644 --- a/database/factories/BookmarkFactory.php +++ b/database/factories/BookmarkFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Torrent; +use App\Models\Bookmark; use Illuminate\Database\Eloquent\Factories\Factory; class BookmarkFactory extends Factory @@ -14,7 +16,7 @@ class BookmarkFactory extends Factory * * @var string */ - protected $model = \App\Models\Bookmark::class; + protected $model = Bookmark::class; /** * Define the model's default state. diff --git a/database/factories/BotFactory.php b/database/factories/BotFactory.php index a11693924b..e36e8757c4 100644 --- a/database/factories/BotFactory.php +++ b/database/factories/BotFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Bot; use Illuminate\Database\Eloquent\Factories\Factory; class BotFactory extends Factory @@ -13,7 +14,7 @@ class BotFactory extends Factory * * @var string */ - protected $model = \App\Models\Bot::class; + protected $model = Bot::class; /** * Define the model's default state. diff --git a/database/factories/BotTransactionFactory.php b/database/factories/BotTransactionFactory.php index e2ef5ff90c..cee412c67e 100644 --- a/database/factories/BotTransactionFactory.php +++ b/database/factories/BotTransactionFactory.php @@ -5,6 +5,8 @@ namespace Database\Factories; use App\Models\Bot; +use App\Models\User; +use App\Models\BotTransaction; use Illuminate\Database\Eloquent\Factories\Factory; class BotTransactionFactory extends Factory @@ -14,7 +16,7 @@ class BotTransactionFactory extends Factory * * @var string */ - protected $model = \App\Models\BotTransaction::class; + protected $model = BotTransaction::class; /** * Define the model's default state. diff --git a/database/factories/CategoryFactory.php b/database/factories/CategoryFactory.php index da099e951e..e28a14ea79 100644 --- a/database/factories/CategoryFactory.php +++ b/database/factories/CategoryFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Category; use Illuminate\Database\Eloquent\Factories\Factory; class CategoryFactory extends Factory @@ -13,7 +14,7 @@ class CategoryFactory extends Factory * * @var string */ - protected $model = \App\Models\Category::class; + protected $model = Category::class; /** * Define the model's default state. diff --git a/database/factories/ChatStatusFactory.php b/database/factories/ChatStatusFactory.php index f50057ecc1..1dc834c8eb 100644 --- a/database/factories/ChatStatusFactory.php +++ b/database/factories/ChatStatusFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\ChatStatus; use Illuminate\Database\Eloquent\Factories\Factory; class ChatStatusFactory extends Factory @@ -13,7 +14,7 @@ class ChatStatusFactory extends Factory * * @var string */ - protected $model = \App\Models\ChatStatus::class; + protected $model = ChatStatus::class; /** * Define the model's default state. diff --git a/database/factories/ChatroomFactory.php b/database/factories/ChatroomFactory.php index 1700e58cc9..82d6f98e8a 100644 --- a/database/factories/ChatroomFactory.php +++ b/database/factories/ChatroomFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Chatroom; use Illuminate\Database\Eloquent\Factories\Factory; class ChatroomFactory extends Factory @@ -13,7 +14,7 @@ class ChatroomFactory extends Factory * * @var string */ - protected $model = \App\Models\Chatroom::class; + protected $model = Chatroom::class; /** * Define the model's default state. diff --git a/database/factories/CommentFactory.php b/database/factories/CommentFactory.php index 83a7c5246c..98c37ffbd8 100644 --- a/database/factories/CommentFactory.php +++ b/database/factories/CommentFactory.php @@ -5,6 +5,11 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Comment; +use App\Models\Torrent; +use App\Models\Article; +use App\Models\Playlist; +use App\Models\TorrentRequest; use Illuminate\Database\Eloquent\Factories\Factory; class CommentFactory extends Factory @@ -14,7 +19,7 @@ class CommentFactory extends Factory * * @var string */ - protected $model = \App\Models\Comment::class; + protected $model = Comment::class; /** * Define the model's default state. diff --git a/database/factories/FailedLoginAttemptFactory.php b/database/factories/FailedLoginAttemptFactory.php index 78b0846174..c4fde68a51 100644 --- a/database/factories/FailedLoginAttemptFactory.php +++ b/database/factories/FailedLoginAttemptFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\FailedLoginAttempt; use Illuminate\Database\Eloquent\Factories\Factory; class FailedLoginAttemptFactory extends Factory @@ -13,7 +14,7 @@ class FailedLoginAttemptFactory extends Factory * * @var string */ - protected $model = \App\Models\FailedLoginAttempt::class; + protected $model = FailedLoginAttempt::class; /** * Define the model's default state. diff --git a/database/factories/FeaturedTorrentFactory.php b/database/factories/FeaturedTorrentFactory.php index e046acd208..d5b3ec7b2f 100644 --- a/database/factories/FeaturedTorrentFactory.php +++ b/database/factories/FeaturedTorrentFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Torrent; +use App\Models\FeaturedTorrent; use Illuminate\Database\Eloquent\Factories\Factory; class FeaturedTorrentFactory extends Factory @@ -14,7 +16,7 @@ class FeaturedTorrentFactory extends Factory * * @var string */ - protected $model = \App\Models\FeaturedTorrent::class; + protected $model = FeaturedTorrent::class; /** * Define the model's default state. diff --git a/database/factories/FollowFactory.php b/database/factories/FollowFactory.php index 1f23839f52..48f20c3077 100644 --- a/database/factories/FollowFactory.php +++ b/database/factories/FollowFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Follow; use Illuminate\Database\Eloquent\Factories\Factory; class FollowFactory extends Factory @@ -14,7 +15,7 @@ class FollowFactory extends Factory * * @var string */ - protected $model = \App\Models\Follow::class; + protected $model = Follow::class; /** * Define the model's default state. diff --git a/database/factories/ForumFactory.php b/database/factories/ForumFactory.php index 68424c1d1b..0164d9debc 100644 --- a/database/factories/ForumFactory.php +++ b/database/factories/ForumFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Forum; use Illuminate\Database\Eloquent\Factories\Factory; class ForumFactory extends Factory @@ -13,7 +14,7 @@ class ForumFactory extends Factory * * @var string */ - protected $model = \App\Models\Forum::class; + protected $model = Forum::class; /** * Define the model's default state. diff --git a/database/factories/FreeleechTokenFactory.php b/database/factories/FreeleechTokenFactory.php index 53403332b5..353b3077a4 100644 --- a/database/factories/FreeleechTokenFactory.php +++ b/database/factories/FreeleechTokenFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\FreeleechToken; use Illuminate\Database\Eloquent\Factories\Factory; class FreeleechTokenFactory extends Factory @@ -13,7 +14,7 @@ class FreeleechTokenFactory extends Factory * * @var string */ - protected $model = \App\Models\FreeleechToken::class; + protected $model = FreeleechToken::class; /** * Define the model's default state. diff --git a/database/factories/GitUpdateFactory.php b/database/factories/GitUpdateFactory.php index 8469eb1338..8a69ac84cb 100644 --- a/database/factories/GitUpdateFactory.php +++ b/database/factories/GitUpdateFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\GitUpdate; use Illuminate\Database\Eloquent\Factories\Factory; class GitUpdateFactory extends Factory @@ -13,7 +14,7 @@ class GitUpdateFactory extends Factory * * @var string */ - protected $model = \App\Models\GitUpdate::class; + protected $model = GitUpdate::class; /** * Define the model's default state. diff --git a/database/factories/GraveyardFactory.php b/database/factories/GraveyardFactory.php index a2647a5732..e25b387be3 100644 --- a/database/factories/GraveyardFactory.php +++ b/database/factories/GraveyardFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Torrent; +use App\Models\Graveyard; use Illuminate\Database\Eloquent\Factories\Factory; class GraveyardFactory extends Factory @@ -14,7 +16,7 @@ class GraveyardFactory extends Factory * * @var string */ - protected $model = \App\Models\Graveyard::class; + protected $model = Graveyard::class; /** * Define the model's default state. diff --git a/database/factories/GroupFactory.php b/database/factories/GroupFactory.php index f69e5fc112..aceba39711 100644 --- a/database/factories/GroupFactory.php +++ b/database/factories/GroupFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Group; use Illuminate\Database\Eloquent\Factories\Factory; class GroupFactory extends Factory @@ -13,7 +14,7 @@ class GroupFactory extends Factory * * @var string */ - protected $model = \App\Models\Group::class; + protected $model = Group::class; /** * Define the model's default state. diff --git a/database/factories/HistoryFactory.php b/database/factories/HistoryFactory.php index 5fd7865bb6..ed62c08c4d 100644 --- a/database/factories/HistoryFactory.php +++ b/database/factories/HistoryFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Torrent; +use App\Models\History; use Illuminate\Database\Eloquent\Factories\Factory; class HistoryFactory extends Factory @@ -14,7 +16,7 @@ class HistoryFactory extends Factory * * @var string */ - protected $model = \App\Models\History::class; + protected $model = History::class; /** * Define the model's default state. diff --git a/database/factories/ImageFactory.php b/database/factories/ImageFactory.php index 6f761fdb38..e35ac662d9 100644 --- a/database/factories/ImageFactory.php +++ b/database/factories/ImageFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Image; use Illuminate\Database\Eloquent\Factories\Factory; class ImageFactory extends Factory @@ -14,7 +15,7 @@ class ImageFactory extends Factory * * @var string */ - protected $model = \App\Models\Image::class; + protected $model = Image::class; /** * Define the model's default state. diff --git a/database/factories/InviteFactory.php b/database/factories/InviteFactory.php index ac44182fd8..ffa3e860e3 100644 --- a/database/factories/InviteFactory.php +++ b/database/factories/InviteFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Invite; use Illuminate\Database\Eloquent\Factories\Factory; class InviteFactory extends Factory @@ -14,7 +15,7 @@ class InviteFactory extends Factory * * @var string */ - protected $model = \App\Models\Invite::class; + protected $model = Invite::class; /** * Define the model's default state. diff --git a/database/factories/LikeFactory.php b/database/factories/LikeFactory.php index 410a42226d..dc597a955a 100644 --- a/database/factories/LikeFactory.php +++ b/database/factories/LikeFactory.php @@ -5,6 +5,8 @@ namespace Database\Factories; use App\Models\Post; +use App\Models\Like; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class LikeFactory extends Factory @@ -14,7 +16,7 @@ class LikeFactory extends Factory * * @var string */ - protected $model = \App\Models\Like::class; + protected $model = Like::class; /** * Define the model's default state. diff --git a/database/factories/MessageFactory.php b/database/factories/MessageFactory.php index 96c409d977..9809fe6cf7 100644 --- a/database/factories/MessageFactory.php +++ b/database/factories/MessageFactory.php @@ -5,6 +5,9 @@ namespace Database\Factories; use App\Models\Bot; +use App\Models\User; +use App\Models\Message; +use App\Models\Chatroom; use Illuminate\Database\Eloquent\Factories\Factory; class MessageFactory extends Factory @@ -14,7 +17,7 @@ class MessageFactory extends Factory * * @var string */ - protected $model = \App\Models\Message::class; + protected $model = Message::class; /** * Define the model's default state. diff --git a/database/factories/NoteFactory.php b/database/factories/NoteFactory.php index 8323fa901e..4020c51f00 100644 --- a/database/factories/NoteFactory.php +++ b/database/factories/NoteFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Note; use Illuminate\Database\Eloquent\Factories\Factory; class NoteFactory extends Factory @@ -14,7 +15,7 @@ class NoteFactory extends Factory * * @var string */ - protected $model = \App\Models\Note::class; + protected $model = Note::class; /** * Define the model's default state. diff --git a/database/factories/NotificationFactory.php b/database/factories/NotificationFactory.php index a608d826b3..66bec52532 100644 --- a/database/factories/NotificationFactory.php +++ b/database/factories/NotificationFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Notification; use Illuminate\Database\Eloquent\Factories\Factory; class NotificationFactory extends Factory @@ -13,7 +14,7 @@ class NotificationFactory extends Factory * * @var string */ - protected $model = \App\Models\Notification::class; + protected $model = Notification::class; /** * Define the model's default state. diff --git a/database/factories/OptionFactory.php b/database/factories/OptionFactory.php index 058b088e45..9e917f7874 100644 --- a/database/factories/OptionFactory.php +++ b/database/factories/OptionFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\Poll; +use App\Models\Option; use Illuminate\Database\Eloquent\Factories\Factory; class OptionFactory extends Factory @@ -14,7 +15,7 @@ class OptionFactory extends Factory * * @var string */ - protected $model = \App\Models\Option::class; + protected $model = Option::class; /** * Define the model's default state. diff --git a/database/factories/PageFactory.php b/database/factories/PageFactory.php index 82e64fb948..bbcc188a0f 100644 --- a/database/factories/PageFactory.php +++ b/database/factories/PageFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Page; use Illuminate\Database\Eloquent\Factories\Factory; class PageFactory extends Factory @@ -13,7 +14,7 @@ class PageFactory extends Factory * * @var string */ - protected $model = \App\Models\Page::class; + protected $model = Page::class; /** * Define the model's default state. diff --git a/database/factories/PeerFactory.php b/database/factories/PeerFactory.php index aa19f081f1..4e0c4ff110 100644 --- a/database/factories/PeerFactory.php +++ b/database/factories/PeerFactory.php @@ -4,6 +4,8 @@ namespace Database\Factories; +use App\Models\Peer; +use App\Models\User; use App\Models\Torrent; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +16,7 @@ class PeerFactory extends Factory * * @var string */ - protected $model = \App\Models\Peer::class; + protected $model = Peer::class; /** * Define the model's default state. diff --git a/database/factories/PermissionFactory.php b/database/factories/PermissionFactory.php index d640109eff..aa9ff56a63 100644 --- a/database/factories/PermissionFactory.php +++ b/database/factories/PermissionFactory.php @@ -5,6 +5,8 @@ namespace Database\Factories; use App\Models\Group; +use App\Models\Forum; +use App\Models\Permission; use Illuminate\Database\Eloquent\Factories\Factory; class PermissionFactory extends Factory @@ -14,7 +16,7 @@ class PermissionFactory extends Factory * * @var string */ - protected $model = \App\Models\Permission::class; + protected $model = Permission::class; /** * Define the model's default state. diff --git a/database/factories/PersonalFreeleechFactory.php b/database/factories/PersonalFreeleechFactory.php index 05a6298f4f..a46da908f0 100644 --- a/database/factories/PersonalFreeleechFactory.php +++ b/database/factories/PersonalFreeleechFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\PersonalFreeleech; use Illuminate\Database\Eloquent\Factories\Factory; class PersonalFreeleechFactory extends Factory @@ -13,7 +14,7 @@ class PersonalFreeleechFactory extends Factory * * @var string */ - protected $model = \App\Models\PersonalFreeleech::class; + protected $model = PersonalFreeleech::class; /** * Define the model's default state. diff --git a/database/factories/PlaylistFactory.php b/database/factories/PlaylistFactory.php index 1a747c8716..f219ac0e0d 100644 --- a/database/factories/PlaylistFactory.php +++ b/database/factories/PlaylistFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Playlist; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistFactory extends Factory @@ -14,7 +15,7 @@ class PlaylistFactory extends Factory * * @var string */ - protected $model = \App\Models\Playlist::class; + protected $model = Playlist::class; /** * Define the model's default state. diff --git a/database/factories/PlaylistTorrentFactory.php b/database/factories/PlaylistTorrentFactory.php index 2357b105f0..93a6ede487 100644 --- a/database/factories/PlaylistTorrentFactory.php +++ b/database/factories/PlaylistTorrentFactory.php @@ -5,6 +5,8 @@ namespace Database\Factories; use App\Models\Torrent; +use App\Models\Playlist; +use App\Models\PlaylistTorrent; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistTorrentFactory extends Factory @@ -14,7 +16,7 @@ class PlaylistTorrentFactory extends Factory * * @var string */ - protected $model = \App\Models\PlaylistTorrent::class; + protected $model = PlaylistTorrent::class; /** * Define the model's default state. diff --git a/database/factories/PollFactory.php b/database/factories/PollFactory.php index 9df17de68c..1696bdb13b 100644 --- a/database/factories/PollFactory.php +++ b/database/factories/PollFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Poll; use Illuminate\Database\Eloquent\Factories\Factory; class PollFactory extends Factory @@ -14,7 +15,7 @@ class PollFactory extends Factory * * @var string */ - protected $model = \App\Models\Poll::class; + protected $model = Poll::class; /** * Define the model's default state. diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 23a13a3dc0..1ea859edf5 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -4,6 +4,8 @@ namespace Database\Factories; +use App\Models\Post; +use App\Models\User; use App\Models\Topic; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +16,7 @@ class PostFactory extends Factory * * @var string */ - protected $model = \App\Models\Post::class; + protected $model = Post::class; /** * Define the model's default state. diff --git a/database/factories/PrivateMessageFactory.php b/database/factories/PrivateMessageFactory.php index 2a68ac641c..d0662cd922 100644 --- a/database/factories/PrivateMessageFactory.php +++ b/database/factories/PrivateMessageFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\PrivateMessage; use Illuminate\Database\Eloquent\Factories\Factory; class PrivateMessageFactory extends Factory @@ -14,7 +15,7 @@ class PrivateMessageFactory extends Factory * * @var string */ - protected $model = \App\Models\PrivateMessage::class; + protected $model = PrivateMessage::class; /** * Define the model's default state. diff --git a/database/factories/ReportFactory.php b/database/factories/ReportFactory.php index 6829704c39..aa8e6fc37e 100644 --- a/database/factories/ReportFactory.php +++ b/database/factories/ReportFactory.php @@ -4,6 +4,9 @@ namespace Database\Factories; +use App\Models\User; +use App\Models\Report; +use App\Models\Torrent; use App\Models\TorrentRequest; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +17,7 @@ class ReportFactory extends Factory * * @var string */ - protected $model = \App\Models\Report::class; + protected $model = Report::class; /** * Define the model's default state. diff --git a/database/factories/ResolutionFactory.php b/database/factories/ResolutionFactory.php index 68f9cdd9b5..907c621af4 100644 --- a/database/factories/ResolutionFactory.php +++ b/database/factories/ResolutionFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Resolution; use Illuminate\Database\Eloquent\Factories\Factory; class ResolutionFactory extends Factory @@ -13,7 +14,7 @@ class ResolutionFactory extends Factory * * @var string */ - protected $model = \App\Models\Resolution::class; + protected $model = Resolution::class; /** * Define the model's default state. diff --git a/database/factories/RssFactory.php b/database/factories/RssFactory.php index 8055ec190f..b1b6dba3ef 100644 --- a/database/factories/RssFactory.php +++ b/database/factories/RssFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Rss; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +15,7 @@ class RssFactory extends Factory * * @var string */ - protected $model = \App\Models\Rss::class; + protected $model = Rss::class; /** * Define the model's default state. diff --git a/database/factories/SeedboxFactory.php b/database/factories/SeedboxFactory.php index 665ca155f3..ecde56d056 100644 --- a/database/factories/SeedboxFactory.php +++ b/database/factories/SeedboxFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Seedbox; use Illuminate\Database\Eloquent\Factories\Factory; class SeedboxFactory extends Factory @@ -14,7 +15,7 @@ class SeedboxFactory extends Factory * * @var string */ - protected $model = \App\Models\Seedbox::class; + protected $model = Seedbox::class; /** * Define the model's default state. diff --git a/database/factories/SubscriptionFactory.php b/database/factories/SubscriptionFactory.php index ac1517d072..7a2ebfa75e 100644 --- a/database/factories/SubscriptionFactory.php +++ b/database/factories/SubscriptionFactory.php @@ -4,7 +4,10 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Topic; +use App\Models\Forum; +use App\Models\Subscription; use Illuminate\Database\Eloquent\Factories\Factory; class SubscriptionFactory extends Factory @@ -14,7 +17,7 @@ class SubscriptionFactory extends Factory * * @var string */ - protected $model = \App\Models\Subscription::class; + protected $model = Subscription::class; /** * Define the model's default state. diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index 0e4ca15381..2c36bcc578 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Tag; use Illuminate\Database\Eloquent\Factories\Factory; class TagFactory extends Factory @@ -13,7 +14,7 @@ class TagFactory extends Factory * * @var string */ - protected $model = \App\Models\Tag::class; + protected $model = Tag::class; /** * Define the model's default state. diff --git a/database/factories/TagTorrentFactory.php b/database/factories/TagTorrentFactory.php index edf31ae885..31d2dceea7 100644 --- a/database/factories/TagTorrentFactory.php +++ b/database/factories/TagTorrentFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\Tag; +use App\Models\TagTorrent; use Illuminate\Database\Eloquent\Factories\Factory; class TagTorrentFactory extends Factory @@ -14,7 +15,7 @@ class TagTorrentFactory extends Factory * * @var string */ - protected $model = \App\Models\TagTorrent::class; + protected $model = TagTorrent::class; /** * Define the model's default state. diff --git a/database/factories/ThankFactory.php b/database/factories/ThankFactory.php index 89b2634962..6f1bc15321 100644 --- a/database/factories/ThankFactory.php +++ b/database/factories/ThankFactory.php @@ -4,6 +4,8 @@ namespace Database\Factories; +use App\Models\User; +use App\Models\Thank; use App\Models\Torrent; use Illuminate\Database\Eloquent\Factories\Factory; @@ -14,7 +16,7 @@ class ThankFactory extends Factory * * @var string */ - protected $model = \App\Models\Thank::class; + protected $model = Thank::class; /** * Define the model's default state. diff --git a/database/factories/TopicFactory.php b/database/factories/TopicFactory.php index 4521082df2..800388e162 100644 --- a/database/factories/TopicFactory.php +++ b/database/factories/TopicFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\Forum; +use App\Models\Topic; use Illuminate\Database\Eloquent\Factories\Factory; class TopicFactory extends Factory @@ -14,7 +16,7 @@ class TopicFactory extends Factory * * @var string */ - protected $model = \App\Models\Topic::class; + protected $model = Topic::class; /** * Define the model's default state. diff --git a/database/factories/TorrentFactory.php b/database/factories/TorrentFactory.php index 2990c5b3f2..a7d31af8c9 100644 --- a/database/factories/TorrentFactory.php +++ b/database/factories/TorrentFactory.php @@ -5,6 +5,10 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Type; +use App\Models\Torrent; +use App\Models\Category; +use App\Models\Resolution; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentFactory extends Factory @@ -14,7 +18,7 @@ class TorrentFactory extends Factory * * @var string */ - protected $model = \App\Models\Torrent::class; + protected $model = Torrent::class; /** * Define the model's default state. diff --git a/database/factories/TorrentFileFactory.php b/database/factories/TorrentFileFactory.php index 27be3910d7..1cdbb7b858 100644 --- a/database/factories/TorrentFileFactory.php +++ b/database/factories/TorrentFileFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use App\Models\Torrent; +use App\Models\TorrentFile; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentFileFactory extends Factory @@ -14,7 +15,7 @@ class TorrentFileFactory extends Factory * * @var string */ - protected $model = \App\Models\TorrentFile::class; + protected $model = TorrentFile::class; /** * Define the model's default state. diff --git a/database/factories/TorrentRequestBountyFactory.php b/database/factories/TorrentRequestBountyFactory.php index 532a4dc341..92d2470d98 100644 --- a/database/factories/TorrentRequestBountyFactory.php +++ b/database/factories/TorrentRequestBountyFactory.php @@ -4,7 +4,9 @@ namespace Database\Factories; +use App\Models\User; use App\Models\TorrentRequest; +use App\Models\TorrentRequestBounty; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentRequestBountyFactory extends Factory @@ -14,7 +16,7 @@ class TorrentRequestBountyFactory extends Factory * * @var string */ - protected $model = \App\Models\TorrentRequestBounty::class; + protected $model = TorrentRequestBounty::class; /** * Define the model's default state. diff --git a/database/factories/TorrentRequestClaimFactory.php b/database/factories/TorrentRequestClaimFactory.php index 0357ff0e9e..a8b54a93ba 100644 --- a/database/factories/TorrentRequestClaimFactory.php +++ b/database/factories/TorrentRequestClaimFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\TorrentRequestClaim; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentRequestClaimFactory extends Factory @@ -13,7 +14,7 @@ class TorrentRequestClaimFactory extends Factory * * @var string */ - protected $model = \App\Models\TorrentRequestClaim::class; + protected $model = TorrentRequestClaim::class; /** * Define the model's default state. diff --git a/database/factories/TorrentRequestFactory.php b/database/factories/TorrentRequestFactory.php index f1750a59ef..e54133fe48 100644 --- a/database/factories/TorrentRequestFactory.php +++ b/database/factories/TorrentRequestFactory.php @@ -5,6 +5,11 @@ namespace Database\Factories; use App\Models\User; +use App\Models\Type; +use App\Models\Torrent; +use App\Models\Category; +use App\Models\Resolution; +use App\Models\TorrentRequest; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentRequestFactory extends Factory @@ -14,7 +19,7 @@ class TorrentRequestFactory extends Factory * * @var string */ - protected $model = \App\Models\TorrentRequest::class; + protected $model = TorrentRequest::class; /** * Define the model's default state. diff --git a/database/factories/TwoStepAuthFactory.php b/database/factories/TwoStepAuthFactory.php index 46a8e162d4..e7ac4f8220 100644 --- a/database/factories/TwoStepAuthFactory.php +++ b/database/factories/TwoStepAuthFactory.php @@ -5,6 +5,7 @@ namespace Database\Factories; use Carbon\Carbon; +use App\Models\TwoStepAuth; use Illuminate\Database\Eloquent\Factories\Factory; class TwoStepAuthFactory extends Factory @@ -14,7 +15,7 @@ class TwoStepAuthFactory extends Factory * * @var string */ - protected $model = \App\Models\TwoStepAuth::class; + protected $model = TwoStepAuth::class; /** * Define the model's default state. diff --git a/database/factories/TypeFactory.php b/database/factories/TypeFactory.php index 4861a4fa29..4e1be5ce68 100644 --- a/database/factories/TypeFactory.php +++ b/database/factories/TypeFactory.php @@ -4,6 +4,7 @@ namespace Database\Factories; +use App\Models\Type; use Illuminate\Database\Eloquent\Factories\Factory; class TypeFactory extends Factory @@ -13,7 +14,7 @@ class TypeFactory extends Factory * * @var string */ - protected $model = \App\Models\Type::class; + protected $model = Type::class; /** * Define the model's default state. diff --git a/database/factories/UploadFactory.php b/database/factories/UploadFactory.php deleted file mode 100644 index 57db4dd1da..0000000000 --- a/database/factories/UploadFactory.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - ./tests/Unit - - - - ./tests/Feature - - - - - ./app - - - - - - - - - - - - - + + + + ./app + + + + + ./tests/Unit + + + ./tests/Feature + + + + + + + + + + + + + diff --git a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php index 3c6eea4f11..47e668b125 100644 --- a/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php +++ b/tests/Feature/Http/Controllers/Staff/CommandControllerTest.php @@ -129,20 +129,6 @@ public function maintance_disable_returns_an_ok_response() $response->assertRedirect(route('staff.commands.index')); } - /** - * @test - */ - public function maintance_enable_returns_an_ok_response() - { - $this->seed(GroupsTableSeeder::class); - - $user = $this->createStaffUser(); - - $response = $this->actingAs($user)->get('dashboard/commands/maintance-enable'); - - $response->assertRedirect(route('staff.commands.index')); - } - /** * @test */ From 8ee27e47b43ac1f05b5bfc4f334576a2f1d3c909 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 05:45:59 +0000 Subject: [PATCH 16/23] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Models/User.php | 2 +- database/factories/AlbumFactory.php | 2 +- database/factories/ApplicationFactory.php | 2 +- database/factories/ArticleFactory.php | 2 +- database/factories/AuditFactory.php | 2 +- database/factories/BonTransactionsFactory.php | 2 +- database/factories/BookmarkFactory.php | 4 ++-- database/factories/BotTransactionFactory.php | 2 +- database/factories/CommentFactory.php | 6 +++--- database/factories/FeaturedTorrentFactory.php | 4 ++-- database/factories/FollowFactory.php | 2 +- database/factories/GraveyardFactory.php | 4 ++-- database/factories/HistoryFactory.php | 4 ++-- database/factories/ImageFactory.php | 2 +- database/factories/InviteFactory.php | 2 +- database/factories/LikeFactory.php | 2 +- database/factories/MessageFactory.php | 4 ++-- database/factories/NoteFactory.php | 2 +- database/factories/OptionFactory.php | 2 +- database/factories/PeerFactory.php | 2 +- database/factories/PermissionFactory.php | 2 +- database/factories/PlaylistFactory.php | 2 +- database/factories/PlaylistTorrentFactory.php | 2 +- database/factories/PollFactory.php | 2 +- database/factories/PostFactory.php | 2 +- database/factories/PrivateMessageFactory.php | 2 +- database/factories/ReportFactory.php | 2 +- database/factories/SeedboxFactory.php | 2 +- database/factories/SubscriptionFactory.php | 4 ++-- database/factories/ThankFactory.php | 2 +- database/factories/TopicFactory.php | 2 +- database/factories/TorrentFactory.php | 6 +++--- database/factories/TorrentRequestBountyFactory.php | 2 +- database/factories/TorrentRequestFactory.php | 6 +++--- database/factories/TwoStepAuthFactory.php | 2 +- database/factories/UserAudibleFactory.php | 2 +- database/factories/UserEchoFactory.php | 2 +- database/factories/UserFactory.php | 6 +++--- database/factories/VoterFactory.php | 2 +- database/factories/WarningFactory.php | 2 +- 40 files changed, 54 insertions(+), 54 deletions(-) diff --git a/app/Models/User.php b/app/Models/User.php index c254c3d165..77ea494ef5 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -17,8 +17,8 @@ use App\Helpers\Linkify; use App\Helpers\StringHelper; use App\Traits\UsersOnlineTrait; -use Carbon\Carbon; use Assada\Achievements\Achiever; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Foundation\Auth\User as Authenticatable; diff --git a/database/factories/AlbumFactory.php b/database/factories/AlbumFactory.php index f92d616a0b..75f9844135 100644 --- a/database/factories/AlbumFactory.php +++ b/database/factories/AlbumFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Album; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class AlbumFactory extends Factory diff --git a/database/factories/ApplicationFactory.php b/database/factories/ApplicationFactory.php index cbf699c86b..f3e89ec052 100644 --- a/database/factories/ApplicationFactory.php +++ b/database/factories/ApplicationFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Application; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ApplicationFactory extends Factory diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php index a220245af8..f097a33968 100644 --- a/database/factories/ArticleFactory.php +++ b/database/factories/ArticleFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Article; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ArticleFactory extends Factory diff --git a/database/factories/AuditFactory.php b/database/factories/AuditFactory.php index aa48b72941..441b0e5af0 100644 --- a/database/factories/AuditFactory.php +++ b/database/factories/AuditFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Audit; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class AuditFactory extends Factory diff --git a/database/factories/BonTransactionsFactory.php b/database/factories/BonTransactionsFactory.php index bee560b0ef..bc5f69ab39 100644 --- a/database/factories/BonTransactionsFactory.php +++ b/database/factories/BonTransactionsFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\BonTransactions; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class BonTransactionsFactory extends Factory diff --git a/database/factories/BookmarkFactory.php b/database/factories/BookmarkFactory.php index fc90f0fc77..382cb563bf 100644 --- a/database/factories/BookmarkFactory.php +++ b/database/factories/BookmarkFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Torrent; use App\Models\Bookmark; +use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class BookmarkFactory extends Factory diff --git a/database/factories/BotTransactionFactory.php b/database/factories/BotTransactionFactory.php index cee412c67e..2b600a7dd2 100644 --- a/database/factories/BotTransactionFactory.php +++ b/database/factories/BotTransactionFactory.php @@ -5,8 +5,8 @@ namespace Database\Factories; use App\Models\Bot; -use App\Models\User; use App\Models\BotTransaction; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class BotTransactionFactory extends Factory diff --git a/database/factories/CommentFactory.php b/database/factories/CommentFactory.php index 98c37ffbd8..32c05325fa 100644 --- a/database/factories/CommentFactory.php +++ b/database/factories/CommentFactory.php @@ -4,12 +4,12 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Comment; -use App\Models\Torrent; use App\Models\Article; +use App\Models\Comment; use App\Models\Playlist; +use App\Models\Torrent; use App\Models\TorrentRequest; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class CommentFactory extends Factory diff --git a/database/factories/FeaturedTorrentFactory.php b/database/factories/FeaturedTorrentFactory.php index d5b3ec7b2f..a5efd5df0b 100644 --- a/database/factories/FeaturedTorrentFactory.php +++ b/database/factories/FeaturedTorrentFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Torrent; use App\Models\FeaturedTorrent; +use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class FeaturedTorrentFactory extends Factory diff --git a/database/factories/FollowFactory.php b/database/factories/FollowFactory.php index 48f20c3077..149a964daf 100644 --- a/database/factories/FollowFactory.php +++ b/database/factories/FollowFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Follow; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class FollowFactory extends Factory diff --git a/database/factories/GraveyardFactory.php b/database/factories/GraveyardFactory.php index e25b387be3..7bb56578c8 100644 --- a/database/factories/GraveyardFactory.php +++ b/database/factories/GraveyardFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Torrent; use App\Models\Graveyard; +use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class GraveyardFactory extends Factory diff --git a/database/factories/HistoryFactory.php b/database/factories/HistoryFactory.php index ed62c08c4d..0208da9145 100644 --- a/database/factories/HistoryFactory.php +++ b/database/factories/HistoryFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Torrent; use App\Models\History; +use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class HistoryFactory extends Factory diff --git a/database/factories/ImageFactory.php b/database/factories/ImageFactory.php index e35ac662d9..958e93263e 100644 --- a/database/factories/ImageFactory.php +++ b/database/factories/ImageFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Image; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ImageFactory extends Factory diff --git a/database/factories/InviteFactory.php b/database/factories/InviteFactory.php index ffa3e860e3..028f905abf 100644 --- a/database/factories/InviteFactory.php +++ b/database/factories/InviteFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Invite; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class InviteFactory extends Factory diff --git a/database/factories/LikeFactory.php b/database/factories/LikeFactory.php index dc597a955a..1fd27e9c10 100644 --- a/database/factories/LikeFactory.php +++ b/database/factories/LikeFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\Post; use App\Models\Like; +use App\Models\Post; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/MessageFactory.php b/database/factories/MessageFactory.php index 9809fe6cf7..64d46ad208 100644 --- a/database/factories/MessageFactory.php +++ b/database/factories/MessageFactory.php @@ -5,9 +5,9 @@ namespace Database\Factories; use App\Models\Bot; -use App\Models\User; -use App\Models\Message; use App\Models\Chatroom; +use App\Models\Message; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class MessageFactory extends Factory diff --git a/database/factories/NoteFactory.php b/database/factories/NoteFactory.php index 4020c51f00..684945436a 100644 --- a/database/factories/NoteFactory.php +++ b/database/factories/NoteFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Note; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class NoteFactory extends Factory diff --git a/database/factories/OptionFactory.php b/database/factories/OptionFactory.php index 9e917f7874..e9100d9aa4 100644 --- a/database/factories/OptionFactory.php +++ b/database/factories/OptionFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\Poll; use App\Models\Option; +use App\Models\Poll; use Illuminate\Database\Eloquent\Factories\Factory; class OptionFactory extends Factory diff --git a/database/factories/PeerFactory.php b/database/factories/PeerFactory.php index 4e0c4ff110..3cf9b959b3 100644 --- a/database/factories/PeerFactory.php +++ b/database/factories/PeerFactory.php @@ -5,8 +5,8 @@ namespace Database\Factories; use App\Models\Peer; -use App\Models\User; use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PeerFactory extends Factory diff --git a/database/factories/PermissionFactory.php b/database/factories/PermissionFactory.php index aa9ff56a63..043eac105b 100644 --- a/database/factories/PermissionFactory.php +++ b/database/factories/PermissionFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\Group; use App\Models\Forum; +use App\Models\Group; use App\Models\Permission; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/PlaylistFactory.php b/database/factories/PlaylistFactory.php index f219ac0e0d..6ea00efd58 100644 --- a/database/factories/PlaylistFactory.php +++ b/database/factories/PlaylistFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Playlist; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistFactory extends Factory diff --git a/database/factories/PlaylistTorrentFactory.php b/database/factories/PlaylistTorrentFactory.php index 93a6ede487..536de8d8a0 100644 --- a/database/factories/PlaylistTorrentFactory.php +++ b/database/factories/PlaylistTorrentFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\Torrent; use App\Models\Playlist; use App\Models\PlaylistTorrent; +use App\Models\Torrent; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistTorrentFactory extends Factory diff --git a/database/factories/PollFactory.php b/database/factories/PollFactory.php index 1696bdb13b..9f96a7ba18 100644 --- a/database/factories/PollFactory.php +++ b/database/factories/PollFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Poll; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PollFactory extends Factory diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 1ea859edf5..ae3793a323 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -5,8 +5,8 @@ namespace Database\Factories; use App\Models\Post; -use App\Models\User; use App\Models\Topic; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PostFactory extends Factory diff --git a/database/factories/PrivateMessageFactory.php b/database/factories/PrivateMessageFactory.php index d0662cd922..3f6bd47437 100644 --- a/database/factories/PrivateMessageFactory.php +++ b/database/factories/PrivateMessageFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\PrivateMessage; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PrivateMessageFactory extends Factory diff --git a/database/factories/ReportFactory.php b/database/factories/ReportFactory.php index aa8e6fc37e..7ea59d7517 100644 --- a/database/factories/ReportFactory.php +++ b/database/factories/ReportFactory.php @@ -4,10 +4,10 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Report; use App\Models\Torrent; use App\Models\TorrentRequest; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ReportFactory extends Factory diff --git a/database/factories/SeedboxFactory.php b/database/factories/SeedboxFactory.php index ecde56d056..a3b6e806d3 100644 --- a/database/factories/SeedboxFactory.php +++ b/database/factories/SeedboxFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Seedbox; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class SeedboxFactory extends Factory diff --git a/database/factories/SubscriptionFactory.php b/database/factories/SubscriptionFactory.php index 7a2ebfa75e..c17201071e 100644 --- a/database/factories/SubscriptionFactory.php +++ b/database/factories/SubscriptionFactory.php @@ -4,10 +4,10 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Topic; use App\Models\Forum; use App\Models\Subscription; +use App\Models\Topic; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class SubscriptionFactory extends Factory diff --git a/database/factories/ThankFactory.php b/database/factories/ThankFactory.php index 6f1bc15321..116a60aca1 100644 --- a/database/factories/ThankFactory.php +++ b/database/factories/ThankFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Thank; use App\Models\Torrent; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ThankFactory extends Factory diff --git a/database/factories/TopicFactory.php b/database/factories/TopicFactory.php index 800388e162..e3b643c039 100644 --- a/database/factories/TopicFactory.php +++ b/database/factories/TopicFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Forum; use App\Models\Topic; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class TopicFactory extends Factory diff --git a/database/factories/TorrentFactory.php b/database/factories/TorrentFactory.php index a7d31af8c9..154c7d0574 100644 --- a/database/factories/TorrentFactory.php +++ b/database/factories/TorrentFactory.php @@ -4,11 +4,11 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Type; -use App\Models\Torrent; use App\Models\Category; use App\Models\Resolution; +use App\Models\Torrent; +use App\Models\Type; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentFactory extends Factory diff --git a/database/factories/TorrentRequestBountyFactory.php b/database/factories/TorrentRequestBountyFactory.php index 92d2470d98..dec8d7fea9 100644 --- a/database/factories/TorrentRequestBountyFactory.php +++ b/database/factories/TorrentRequestBountyFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; -use App\Models\User; use App\Models\TorrentRequest; use App\Models\TorrentRequestBounty; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentRequestBountyFactory extends Factory diff --git a/database/factories/TorrentRequestFactory.php b/database/factories/TorrentRequestFactory.php index e54133fe48..cafdce298b 100644 --- a/database/factories/TorrentRequestFactory.php +++ b/database/factories/TorrentRequestFactory.php @@ -4,12 +4,12 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Type; -use App\Models\Torrent; use App\Models\Category; use App\Models\Resolution; +use App\Models\Torrent; use App\Models\TorrentRequest; +use App\Models\Type; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class TorrentRequestFactory extends Factory diff --git a/database/factories/TwoStepAuthFactory.php b/database/factories/TwoStepAuthFactory.php index e7ac4f8220..7174b33782 100644 --- a/database/factories/TwoStepAuthFactory.php +++ b/database/factories/TwoStepAuthFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use Carbon\Carbon; use App\Models\TwoStepAuth; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class TwoStepAuthFactory extends Factory diff --git a/database/factories/UserAudibleFactory.php b/database/factories/UserAudibleFactory.php index 1622c2015c..b5b8661d97 100644 --- a/database/factories/UserAudibleFactory.php +++ b/database/factories/UserAudibleFactory.php @@ -5,8 +5,8 @@ namespace Database\Factories; use App\Models\Bot; -use App\Models\User; use App\Models\Chatroom; +use App\Models\User; use App\Models\UserAudible; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/UserEchoFactory.php b/database/factories/UserEchoFactory.php index 8a50890e39..66025641c5 100644 --- a/database/factories/UserEchoFactory.php +++ b/database/factories/UserEchoFactory.php @@ -5,9 +5,9 @@ namespace Database\Factories; use App\Models\Bot; +use App\Models\Chatroom; use App\Models\User; use App\Models\UserEcho; -use App\Models\Chatroom; use Illuminate\Database\Eloquent\Factories\Factory; class UserEchoFactory extends Factory diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index f0ddfb2cd5..fe4274e28b 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -4,12 +4,12 @@ namespace Database\Factories; -use App\Models\User; -use App\Models\Group; use App\Models\Chatroom; use App\Models\ChatStatus; -use Illuminate\Support\Str; +use App\Models\Group; +use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; +use Illuminate\Support\Str; class UserFactory extends Factory { diff --git a/database/factories/VoterFactory.php b/database/factories/VoterFactory.php index 3324af2edd..80ddd01e2d 100644 --- a/database/factories/VoterFactory.php +++ b/database/factories/VoterFactory.php @@ -4,8 +4,8 @@ namespace Database\Factories; -use App\Models\User; use App\Models\Poll; +use App\Models\User; use App\Models\Voter; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/WarningFactory.php b/database/factories/WarningFactory.php index 6826b9e690..bd62962171 100644 --- a/database/factories/WarningFactory.php +++ b/database/factories/WarningFactory.php @@ -4,9 +4,9 @@ namespace Database\Factories; +use App\Models\Torrent; use App\Models\User; use App\Models\Warning; -use App\Models\Torrent; use Illuminate\Database\Eloquent\Factories\Factory; class WarningFactory extends Factory From 4e6edf8d09640775b3421df97d6dc28cb705aa1f Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 09:12:49 -0400 Subject: [PATCH 17/23] fix: phpunit.xml --- phpunit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index d99dba180e..b6fc90aedb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -18,7 +18,7 @@ - + From d4ededaa3d785500f7deddc5367b29f2cb2c629c Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 09:59:54 -0400 Subject: [PATCH 18/23] update: readme --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 47980af03b..8b727f7aa1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

- + StyleCI @@ -45,7 +45,7 @@ ## 🧐 Introduction -I have been developing a Nex-Gen Torrent Tracker Software called "UNIT3D." This is a PHP software based off the lovely Laravel Framework -- currently Laravel Framework 6, MySQL Strict Mode Compliant and PHP 7.4 Ready. The code is well-designed and follows the PSR-2 coding style. It uses a MVC Architecture to ensure clarity between logic and presentation. As a hashing algorithm of Bcrypt or Argon2 is used, to ensure a safe and proper way to store the passwords for the users. A lightweight Blade Templating Engine. Caching System Supporting: "apc,” "array,” "database,” "file," "memcached," and "redis" methods. Eloquent and much more! +I have been developing a Nex-Gen Torrent Tracker Software called "UNIT3D." This is a PHP software based off the lovely Laravel Framework -- currently Laravel Framework 8, MySQL Strict Mode Compliant and PHP 7.4 Ready. The code is well-designed and follows the PSR-2 coding style. It uses a MVC Architecture to ensure clarity between logic and presentation. As a hashing algorithm of Bcrypt or Argon2 is used, to ensure a safe and proper way to store the passwords for the users. A lightweight Blade Templating Engine. Caching System Supporting: "apc,” "array,” "database,” "file," "memcached," and "redis" methods. Eloquent and much more! ## 💎 Some Features @@ -104,11 +104,25 @@ config/secure-headers.php <-- Content Security Policy must be disabled ### Automated Installer **A UNIT3D Installer has been released by Poppabear.** -

+**Officially Supported OS's**
+- Ubuntu 20.04 LTS (Recommended)
+- Ubuntu 18.04 LTS
+- Ubuntu 16.04 LTS
+
+**For Ubuntu 20.04 LTS:**
+```
 git clone https://github.com/poppabear8883/UNIT3D-INSTALLER.git installer
 cd installer
 sudo ./install.sh
-
+``` + +**For Ubuntu 16.04 LTS or Ubuntu 18.04 LTS:** +``` +git clone https://github.com/poppabear8883/UNIT3D-INSTALLER.git installer +cd installer +git checkout Ubuntu-16.04-18.04 +sudo ./install.sh +``` Check it out here for more information: https://github.com/poppabear8883/UNIT3D-INSTALLER @@ -292,7 +306,7 @@ Thanks goes to these wonderful people who have contributed alot of code: ## 🎉 Special Thanks - + From c3becfb797c8b24262e18c0f5aaeb710b6fd0fb1 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 10:37:16 -0400 Subject: [PATCH 19/23] update: pagination --- app/Providers/AppServiceProvider.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index dc03d21880..754a737b65 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -76,6 +76,9 @@ public function boot() $view->with(['footer_pages' => $footer_pages]); }); + + // Boostrap Pagination + \Illuminate\Pagination\Paginator::useBootstrap(); // Hidden Captcha Blade::directive('hiddencaptcha', fn ($mustBeEmptyField = '_username') => \sprintf('', $mustBeEmptyField)); From 4ca44f5d505483e5fc75854f54d5ea32070e6257 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 10:39:13 -0400 Subject: [PATCH 20/23] update: failed_jobs table - Laravel 8 added a uuid column to the failed_jobs table to support the new job batching features. --- ...6_143759_add_uuid_to_failed_jobs_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php diff --git a/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php b/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php new file mode 100644 index 0000000000..238b3dcb33 --- /dev/null +++ b/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php @@ -0,0 +1,32 @@ + Date: Tue, 6 Oct 2020 11:00:04 -0400 Subject: [PATCH 21/23] update: laravel 8 support --- .../Middleware/RedirectIfAuthenticated.php | 17 +- app/Providers/AppServiceProvider.php | 2 +- database/schema/mysql-schema.dump | 1572 +++++++++++++++++ public/index.php | 51 +- 4 files changed, 1607 insertions(+), 35 deletions(-) create mode 100644 database/schema/mysql-schema.dump diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 7ec7ece394..1ba677c329 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -20,16 +20,19 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string|null $guard - * + * @param \Illuminate\Http\Request $request + * @param \Closure $next + * @param string[]|null ...$guards * @return mixed */ - public function handle($request, Closure $next, $guard = null) + public function handle($request, Closure $next, ...$guards) { - if (\auth()->guard($guard)->check()) { - return \redirect()->route('home.index'); + $guards = empty($guards) ? [null] : $guards; + + foreach ($guards as $guard) { + if (\auth()->guard($guard)->check()) { + return \redirect()->route('home.index'); + } } return $next($request); diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 754a737b65..3e59db35a7 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -76,7 +76,7 @@ public function boot() $view->with(['footer_pages' => $footer_pages]); }); - + // Boostrap Pagination \Illuminate\Pagination\Paginator::useBootstrap(); diff --git a/database/schema/mysql-schema.dump b/database/schema/mysql-schema.dump new file mode 100644 index 0000000000..f937dc1429 --- /dev/null +++ b/database/schema/mysql-schema.dump @@ -0,0 +1,1572 @@ +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `achievement_details` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `points` int unsigned NOT NULL DEFAULT '1', + `secret` tinyint(1) NOT NULL DEFAULT '0', + `class_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `achievement_progress` ( + `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, + `achievement_id` int unsigned NOT NULL, + `achiever_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `achiever_id` bigint unsigned NOT NULL, + `points` int unsigned NOT NULL DEFAULT '0', + `unlocked_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `achievement_progress_achiever_type_achiever_id_index` (`achiever_type`,`achiever_id`), + KEY `achievement_progress_achievement_id_foreign` (`achievement_id`), + CONSTRAINT `achievement_progress_achievement_id_foreign` FOREIGN KEY (`achievement_id`) REFERENCES `achievement_details` (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `albums` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `description` text COLLATE utf8mb4_unicode_ci NOT NULL, + `imdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `cover_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `application_image_proofs` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `application_id` int NOT NULL, + `image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `application_image_proofs_application_id_index` (`application_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `application_url_proofs` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `application_id` int NOT NULL, + `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `application_url_proofs_application_id_index` (`application_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `applications` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `referrer` longtext COLLATE utf8mb4_unicode_ci, + `status` tinyint NOT NULL DEFAULT '0', + `moderated_at` datetime DEFAULT NULL, + `moderated_by` int DEFAULT NULL, + `accepted_by` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `applications_email_unique` (`email`), + KEY `applications_moderated_by_index` (`moderated_by`), + KEY `applications_accepted_by_index` (`accepted_by`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `articles` ( + `id` int NOT NULL AUTO_INCREMENT, + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `user_id` int NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_articles_users1_idx` (`user_id`), + CONSTRAINT `fk_articles_users1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `audits` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `user_id` bigint unsigned DEFAULT NULL, + `model_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `model_entry_id` bigint unsigned NOT NULL, + `action` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `record` json NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bans` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `owned_by` int NOT NULL, + `created_by` int DEFAULT NULL, + `ban_reason` text COLLATE utf8mb4_unicode_ci, + `unban_reason` text COLLATE utf8mb4_unicode_ci, + `removed_at` datetime DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `owned_by` (`owned_by`), + KEY `created_by` (`created_by`), + CONSTRAINT `foreign_ban_user_id` FOREIGN KEY (`owned_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `foreign_staff_ban_user_id` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bon_exchange` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `value` bigint unsigned NOT NULL DEFAULT '0', + `cost` int unsigned NOT NULL DEFAULT '0', + `upload` tinyint(1) NOT NULL DEFAULT '0', + `download` tinyint(1) NOT NULL DEFAULT '0', + `personal_freeleech` tinyint(1) NOT NULL DEFAULT '0', + `invite` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bon_transactions` ( + `id` int NOT NULL AUTO_INCREMENT, + `itemID` int unsigned NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `cost` double(22,2) NOT NULL DEFAULT '0.00', + `sender` int unsigned NOT NULL DEFAULT '0', + `receiver` int unsigned NOT NULL DEFAULT '0', + `torrent_id` int DEFAULT NULL, + `post_id` int DEFAULT NULL, + `comment` text COLLATE utf8mb4_unicode_ci NOT NULL, + `date_actioned` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`id`), + KEY `bon_transactions_post_id_index` (`post_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bookmarks` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int unsigned NOT NULL, + `torrent_id` int unsigned NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bot_transactions` ( + `id` int NOT NULL AUTO_INCREMENT, + `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '', + `cost` double(22,2) NOT NULL DEFAULT '0.00', + `user_id` int NOT NULL DEFAULT '0', + `bot_id` int NOT NULL DEFAULT '0', + `to_user` tinyint(1) NOT NULL DEFAULT '0', + `to_bot` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `bot_transactions_type_index` (`type`), + KEY `bot_transactions_user_id_index` (`user_id`), + KEY `bot_transactions_bot_id_index` (`bot_id`), + KEY `bot_transactions_to_user_index` (`to_user`), + KEY `bot_transactions_to_bot_index` (`to_bot`), + CONSTRAINT `bot_transactions_bot_id_foreign` FOREIGN KEY (`bot_id`) REFERENCES `bots` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `bot_transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `bots` ( + `id` int NOT NULL AUTO_INCREMENT, + `position` int NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `command` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `emoji` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `info` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `about` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `help` text COLLATE utf8mb4_unicode_ci, + `active` tinyint(1) NOT NULL DEFAULT '1', + `is_protected` tinyint(1) NOT NULL DEFAULT '0', + `is_triviabot` tinyint(1) NOT NULL DEFAULT '0', + `is_nerdbot` tinyint(1) NOT NULL DEFAULT '0', + `is_systembot` tinyint(1) NOT NULL DEFAULT '0', + `is_casinobot` tinyint(1) NOT NULL DEFAULT '0', + `is_betbot` tinyint(1) NOT NULL DEFAULT '0', + `uploaded` bigint unsigned NOT NULL DEFAULT '0', + `downloaded` bigint unsigned NOT NULL DEFAULT '0', + `fl_tokens` int unsigned NOT NULL DEFAULT '0', + `seedbonus` double(12,2) unsigned NOT NULL DEFAULT '0.00', + `invites` int unsigned NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `bots_slug_unique` (`slug`), + KEY `bots_active_index` (`active`), + KEY `bots_is_protected_index` (`is_protected`), + KEY `bots_is_triviabot_index` (`is_triviabot`), + KEY `bots_is_nerdbot_index` (`is_nerdbot`), + KEY `bots_is_systembot_index` (`is_systembot`), + KEY `bots_is_casinobot_index` (`is_casinobot`), + KEY `bots_is_betbot_index` (`is_betbot`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `categories` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `position` int NOT NULL, + `icon` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none', + `no_meta` tinyint(1) NOT NULL DEFAULT '0', + `music_meta` tinyint(1) NOT NULL DEFAULT '0', + `game_meta` tinyint(1) NOT NULL DEFAULT '0', + `tv_meta` tinyint(1) NOT NULL DEFAULT '0', + `movie_meta` tinyint(1) NOT NULL DEFAULT '0', + `num_torrent` int NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `chat_statuses` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `chat_statuses_name_unique` (`name`), + UNIQUE KEY `chat_statuses_color_unique` (`color`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `chatrooms` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `chatrooms_name_unique` (`name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `clients` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `ip` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `clients_ip_unique` (`ip`), + KEY `clients_user_id_foreign` (`user_id`), + KEY `clients_name_unique` (`name`), + CONSTRAINT `clients_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `comments` ( + `id` int NOT NULL AUTO_INCREMENT, + `content` text COLLATE utf8mb4_unicode_ci NOT NULL, + `anon` smallint NOT NULL DEFAULT '0', + `torrent_id` bigint unsigned DEFAULT NULL, + `article_id` int DEFAULT NULL, + `requests_id` int DEFAULT NULL, + `playlist_id` int DEFAULT NULL, + `user_id` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `fk_comments_torrents_1` (`torrent_id`), + KEY `fk_comments_articles_1` (`article_id`), + KEY `fk_comments_users_1` (`user_id`), + KEY `comments_playlist_id_index` (`playlist_id`), + CONSTRAINT `fk_comments_articles_1` FOREIGN KEY (`article_id`) REFERENCES `articles` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE, + CONSTRAINT `fk_comments_users_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `failed_jobs` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, + `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, + `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `failed_login_attempts` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int unsigned DEFAULT NULL, + `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `ip_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `featured_torrents` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `torrent_id` int NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `featured_torrents_user_id_index` (`user_id`), + KEY `featured_torrents_torrent_id_index` (`torrent_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `files` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `size` bigint unsigned NOT NULL, + `torrent_id` bigint unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_files_torrents1_idx` (`torrent_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `follows` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `target_id` int NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `follows_user_id_index` (`user_id`), + KEY `follows_target_id_index` (`target_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `forums` ( + `id` int NOT NULL AUTO_INCREMENT, + `position` int DEFAULT NULL, + `num_topic` int DEFAULT NULL, + `num_post` int DEFAULT NULL, + `last_topic_id` int DEFAULT NULL, + `last_topic_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `last_topic_slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `last_post_user_id` int DEFAULT NULL, + `last_post_user_username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `description` text COLLATE utf8mb4_unicode_ci, + `parent_id` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `freeleech_tokens` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `torrent_id` int NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `freeleech_tokens_user_id_index` (`user_id`), + KEY `freeleech_tokens_torrent_id_index` (`torrent_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `git_updates` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `git_updates_name_unique` (`name`), + UNIQUE KEY `git_updates_hash_unique` (`hash`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `graveyard` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `torrent_id` int NOT NULL, + `seedtime` bigint unsigned NOT NULL, + `rewarded` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `graveyard_user_id_index` (`user_id`), + KEY `graveyard_torrent_id_index` (`torrent_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `groups` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `position` int NOT NULL, + `level` int NOT NULL DEFAULT '0', + `color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `icon` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `effect` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none', + `is_internal` tinyint(1) NOT NULL DEFAULT '0', + `is_owner` tinyint(1) NOT NULL DEFAULT '0', + `is_admin` tinyint(1) NOT NULL DEFAULT '0', + `is_modo` tinyint(1) NOT NULL DEFAULT '0', + `is_trusted` tinyint(1) NOT NULL DEFAULT '0', + `is_immune` tinyint(1) NOT NULL DEFAULT '0', + `is_freeleech` tinyint(1) NOT NULL DEFAULT '0', + `is_double_upload` tinyint(1) NOT NULL DEFAULT '0', + `can_upload` tinyint(1) NOT NULL DEFAULT '1', + `is_incognito` tinyint(1) NOT NULL DEFAULT '0', + `autogroup` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `groups_slug_unique` (`slug`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `history` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `info_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `uploaded` bigint unsigned DEFAULT NULL, + `actual_uploaded` bigint unsigned DEFAULT NULL, + `client_uploaded` bigint unsigned DEFAULT NULL, + `downloaded` bigint unsigned DEFAULT NULL, + `actual_downloaded` bigint unsigned DEFAULT NULL, + `client_downloaded` bigint unsigned DEFAULT NULL, + `seeder` tinyint(1) NOT NULL DEFAULT '0', + `active` tinyint(1) NOT NULL DEFAULT '0', + `seedtime` bigint unsigned NOT NULL DEFAULT '0', + `immune` tinyint(1) NOT NULL DEFAULT '0', + `hitrun` tinyint(1) NOT NULL DEFAULT '0', + `prewarn` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `completed_at` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `history_user_id_foreign` (`user_id`), + KEY `info_hash` (`info_hash`), + KEY `history_immune_index` (`immune`), + KEY `history_hitrun_index` (`hitrun`), + KEY `history_prewarn_index` (`prewarn`), + CONSTRAINT `history_info_hash_foreign` FOREIGN KEY (`info_hash`) REFERENCES `torrents` (`info_hash`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `history_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `images` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `album_id` int unsigned NOT NULL, + `image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `downloads` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `images_album_id_foreign` (`album_id`), + CONSTRAINT `images_album_id_foreign` FOREIGN KEY (`album_id`) REFERENCES `albums` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `invites` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `expires_on` datetime DEFAULT NULL, + `accepted_by` int DEFAULT NULL, + `accepted_at` datetime DEFAULT NULL, + `custom` text COLLATE utf8mb4_unicode_ci, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `user_id` (`user_id`), + KEY `accepted_by` (`accepted_by`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `jobs` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `payload` text COLLATE utf8mb4_unicode_ci NOT NULL, + `attempts` tinyint(1) NOT NULL, + `reserved_at` int unsigned DEFAULT NULL, + `available_at` int unsigned NOT NULL, + `created_at` int unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `jobs_queue_reserved_at_index` (`queue`,`reserved_at`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `likes` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `post_id` int NOT NULL, + `like` tinyint(1) DEFAULT NULL, + `dislike` tinyint(1) DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `media_languages` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `code` char(2) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `messages` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int unsigned NOT NULL, + `chatroom_id` int unsigned NOT NULL, + `receiver_id` int unsigned DEFAULT NULL, + `bot_id` int unsigned DEFAULT NULL, + `message` text COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `migrations` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `batch` int NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `notifications` ( + `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, + `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `notifiable_id` int unsigned NOT NULL, + `notifiable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `data` text COLLATE utf8mb4_unicode_ci NOT NULL, + `read_at` datetime DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `notifications_notifiable_id_notifiable_type_index` (`notifiable_id`,`notifiable_type`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `options` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `poll_id` int unsigned NOT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `votes` int NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `fk_options_poll` (`poll_id`), + CONSTRAINT `fk_options_poll` FOREIGN KEY (`poll_id`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `pages` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8mb4_unicode_ci, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `password_resets` ( + `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` datetime DEFAULT NULL, + KEY `password_resets_email_index` (`email`), + KEY `password_resets_token_index` (`token`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `peers` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `peer_id` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `md5_peer_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `info_hash` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `ip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `port` smallint unsigned DEFAULT NULL, + `agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `uploaded` bigint unsigned DEFAULT NULL, + `downloaded` bigint unsigned DEFAULT NULL, + `left` bigint unsigned DEFAULT NULL, + `seeder` tinyint(1) DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `torrent_id` bigint unsigned DEFAULT NULL, + `user_id` int DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `fk_peers_torrents1_idx` (`torrent_id`), + KEY `fk_peers_users1_idx` (`user_id`), + CONSTRAINT `fk_peers_torrents1` FOREIGN KEY (`torrent_id`) REFERENCES `torrents` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT, + CONSTRAINT `fk_peers_users1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `permissions` ( + `id` int NOT NULL AUTO_INCREMENT, + `forum_id` int NOT NULL, + `group_id` int NOT NULL, + `show_forum` tinyint(1) NOT NULL, + `read_topic` tinyint(1) NOT NULL, + `reply_topic` tinyint(1) NOT NULL, + `start_topic` tinyint(1) NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_permissions_forums1_idx` (`forum_id`), + KEY `fk_permissions_groups1_idx` (`group_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `personal_freeleech` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `personal_freeleech_user_id_index` (`user_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `playlist_torrents` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `position` int DEFAULT NULL, + `playlist_id` int NOT NULL DEFAULT '0', + `torrent_id` int NOT NULL DEFAULT '0', + `tmdb_id` int NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `playlist_torrents_playlist_id_torrent_id_tmdb_id_unique` (`playlist_id`,`torrent_id`,`tmdb_id`), + KEY `playlist_torrents_playlist_id_index` (`playlist_id`), + KEY `playlist_torrents_torrent_id_index` (`torrent_id`), + KEY `playlist_torrents_tmdb_id_index` (`tmdb_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `playlists` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `description` text COLLATE utf8mb4_unicode_ci NOT NULL, + `cover_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `position` int DEFAULT NULL, + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `is_pinned` tinyint(1) NOT NULL DEFAULT '0', + `is_featured` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `playlists_user_id_index` (`user_id`), + KEY `playlists_is_private_index` (`is_private`), + KEY `playlists_is_pinned_index` (`is_pinned`), + KEY `playlists_is_featured_index` (`is_featured`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `polls` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int unsigned NOT NULL DEFAULT '0', + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `multiple_choice` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `posts` ( + `id` int NOT NULL AUTO_INCREMENT, + `content` text COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `user_id` int NOT NULL, + `topic_id` int NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_forum_posts_users1_idx` (`user_id`), + KEY `fk_posts_topics1_idx` (`topic_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `private_messages` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `sender_id` int unsigned NOT NULL, + `receiver_id` int unsigned NOT NULL, + `subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `message` text COLLATE utf8mb4_unicode_ci NOT NULL, + `read` tinyint(1) NOT NULL DEFAULT '0', + `related_to` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `private_messages_sender_id_read_index` (`sender_id`,`read`), + KEY `private_messages_sender_id_index` (`sender_id`), + KEY `private_messages_reciever_id_index` (`receiver_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `reports` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `reporter_id` int NOT NULL, + `staff_id` int DEFAULT NULL, + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `message` text COLLATE utf8mb4_unicode_ci NOT NULL, + `solved` int NOT NULL, + `verdict` text COLLATE utf8mb4_unicode_ci, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `reported_user` int unsigned NOT NULL, + `torrent_id` int unsigned NOT NULL DEFAULT '0', + `request_id` int unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reporter_id` (`reporter_id`), + KEY `staff_id` (`staff_id`), + CONSTRAINT `foreign_reporting_user_id` FOREIGN KEY (`reporter_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `foreign_staff_user_id` FOREIGN KEY (`staff_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `request_bounty` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `seedbonus` double(12,2) unsigned NOT NULL DEFAULT '0.00', + `requests_id` int NOT NULL, + `anon` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `addedby` (`user_id`), + KEY `request_id` (`requests_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `request_claims` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `request_id` int NOT NULL, + `username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `anon` smallint NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `request_id` (`request_id`), + KEY `user_id` (`username`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `requests` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `category_id` int NOT NULL, + `imdb` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `tvdb` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `tmdb` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `mal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `igdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `description` text COLLATE utf8mb4_unicode_ci NOT NULL, + `user_id` int NOT NULL, + `bounty` double(22,2) NOT NULL, + `votes` int NOT NULL DEFAULT '0', + `claimed` tinyint(1) DEFAULT NULL, + `anon` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `filled_by` int DEFAULT NULL, + `filled_hash` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `filled_when` datetime DEFAULT NULL, + `filled_anon` tinyint(1) NOT NULL DEFAULT '0', + `approved_by` int DEFAULT NULL, + `approved_when` datetime DEFAULT NULL, + `type_id` int NOT NULL, + `resolution_id` int DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `category_id` (`category_id`), + KEY `imdb` (`imdb`), + KEY `tvdb` (`tvdb`), + KEY `tmdb` (`tmdb`), + KEY `mal` (`mal`), + KEY `requests_user_id_foreign` (`user_id`), + KEY `filled_by` (`filled_by`), + KEY `filled_hash` (`filled_hash`), + KEY `approved_by` (`approved_by`), + KEY `requests_igdb_index` (`igdb`), + KEY `requests_type_id_index` (`type_id`), + KEY `requests_resolution_id_index` (`resolution_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `resolutions` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `position` int NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `rss` ( + `id` int NOT NULL AUTO_INCREMENT, + `position` int NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Default', + `user_id` int NOT NULL DEFAULT '1', + `staff_id` int NOT NULL DEFAULT '0', + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `is_torrent` tinyint(1) NOT NULL DEFAULT '0', + `json_torrent` json NOT NULL, + `deleted_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `rss_is_private_index` (`is_private`), + KEY `rss_is_torrent_index` (`is_torrent`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `sessions` ( + `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `user_id` int DEFAULT NULL, + `ip_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `user_agent` text COLLATE utf8mb4_unicode_ci, + `payload` text COLLATE utf8mb4_unicode_ci NOT NULL, + `last_activity` int NOT NULL, + UNIQUE KEY `sessions_id_unique` (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `subscriptions` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `forum_id` int DEFAULT NULL, + `topic_id` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `subscriptions_user_id_index` (`user_id`), + KEY `subscriptions_topic_id_index` (`topic_id`), + KEY `subscriptions_forum_id_index` (`forum_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `subtitles` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `file_size` bigint unsigned NOT NULL, + `language_id` int NOT NULL, + `extension` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `note` text COLLATE utf8mb4_unicode_ci, + `downloads` int DEFAULT NULL, + `verified` tinyint(1) NOT NULL DEFAULT '0', + `user_id` int NOT NULL, + `torrent_id` int NOT NULL, + `anon` tinyint(1) NOT NULL DEFAULT '0', + `status` smallint NOT NULL DEFAULT '0', + `moderated_at` datetime DEFAULT NULL, + `moderated_by` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `subtitles_language_id_index` (`language_id`), + KEY `subtitles_verified_index` (`verified`), + KEY `subtitles_user_id_index` (`user_id`), + KEY `subtitles_torrent_id_index` (`torrent_id`), + KEY `subtitles_moderated_by_index` (`moderated_by`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `tag_torrent` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `torrent_id` int unsigned NOT NULL, + `tag_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + PRIMARY KEY (`id`), + KEY `tag_torrent_torrent_id_index` (`torrent_id`), + KEY `tag_torrent_tag_name_index` (`tag_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `tags` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `thanks` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `torrent_id` int NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `thanks_user_id_index` (`user_id`), + KEY `thanks_torrent_id_index` (`torrent_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `topics` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `state` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `pinned` tinyint(1) NOT NULL DEFAULT '0', + `approved` tinyint(1) NOT NULL DEFAULT '0', + `denied` tinyint(1) NOT NULL DEFAULT '0', + `solved` tinyint(1) NOT NULL DEFAULT '0', + `invalid` tinyint(1) NOT NULL DEFAULT '0', + `bug` tinyint(1) NOT NULL DEFAULT '0', + `suggestion` tinyint(1) NOT NULL DEFAULT '0', + `implemented` tinyint(1) NOT NULL DEFAULT '0', + `num_post` int DEFAULT NULL, + `first_post_user_id` int DEFAULT NULL, + `last_post_user_id` int DEFAULT NULL, + `first_post_user_username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `last_post_user_username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `last_reply_at` timestamp NULL DEFAULT NULL, + `views` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `forum_id` int NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_topics_forums1_idx` (`forum_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `torrents` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `description` text COLLATE utf8mb4_unicode_ci NOT NULL, + `mediainfo` text COLLATE utf8mb4_unicode_ci, + `info_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `num_file` int NOT NULL, + `size` double NOT NULL, + `nfo` text COLLATE utf8mb4_unicode_ci, + `leechers` int NOT NULL DEFAULT '0', + `seeders` int NOT NULL DEFAULT '0', + `times_completed` int NOT NULL DEFAULT '0', + `category_id` int DEFAULT NULL, + `announce` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `user_id` int NOT NULL, + `imdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `tvdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `tmdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `mal` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `igdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `stream` tinyint(1) NOT NULL DEFAULT '0', + `free` tinyint(1) NOT NULL DEFAULT '0', + `doubleup` tinyint(1) NOT NULL DEFAULT '0', + `highspeed` tinyint(1) NOT NULL DEFAULT '0', + `featured` tinyint(1) NOT NULL DEFAULT '0', + `status` smallint NOT NULL DEFAULT '0', + `moderated_at` datetime DEFAULT NULL, + `moderated_by` int DEFAULT NULL, + `anon` smallint NOT NULL DEFAULT '0', + `sticky` smallint NOT NULL DEFAULT '0', + `sd` tinyint(1) NOT NULL DEFAULT '0', + `internal` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `release_year` year DEFAULT NULL, + `type_id` int NOT NULL, + `resolution_id` int DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `info_hash` (`info_hash`), + KEY `fk_table1_categories1_idx` (`category_id`), + KEY `fk_torrents_users1_idx` (`user_id`), + KEY `imdb` (`imdb`), + KEY `tvdb` (`tvdb`), + KEY `tmdb` (`tmdb`), + KEY `mal` (`mal`), + KEY `moderated_by` (`moderated_by`), + KEY `torrents_igdb_index` (`igdb`), + KEY `torrents_release_year_index` (`release_year`), + KEY `torrents_type_id_index` (`type_id`), + KEY `torrents_resolution_id_index` (`resolution_id`), + CONSTRAINT `category_id` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `twostep_auth` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `userId` int unsigned NOT NULL, + `authCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `authCount` int NOT NULL, + `authStatus` tinyint(1) NOT NULL DEFAULT '0', + `authDate` datetime DEFAULT NULL, + `requestDate` datetime DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `twostep_auth_userid_index` (`userId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `types` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `position` int NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_activations` ( + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `user_id` bigint unsigned NOT NULL, + `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_audibles` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `room_id` int DEFAULT NULL, + `target_id` int DEFAULT NULL, + `bot_id` int DEFAULT NULL, + `status` tinyint(1) NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `user_audibles_user_id_index` (`user_id`), + KEY `user_audibles_room_id_index` (`room_id`), + KEY `user_audibles_target_id_index` (`target_id`), + KEY `user_audibles_bot_id_index` (`bot_id`), + KEY `user_audibles_status_index` (`status`), + CONSTRAINT `user_audibles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_echoes` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `room_id` int DEFAULT NULL, + `target_id` int DEFAULT NULL, + `bot_id` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `user_echoes_user_id_index` (`user_id`), + KEY `user_echoes_room_id_index` (`room_id`), + KEY `user_echoes_target_id_index` (`target_id`), + KEY `user_echoes_bot_id_index` (`bot_id`), + CONSTRAINT `user_echoes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_notes` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `staff_id` int NOT NULL, + `message` text COLLATE utf8mb4_unicode_ci NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `user_notes_user_id_index` (`user_id`), + KEY `user_notes_staff_id_index` (`staff_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_notifications` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `show_bon_gift` tinyint(1) NOT NULL DEFAULT '1', + `show_mention_forum_post` tinyint(1) NOT NULL DEFAULT '1', + `show_mention_article_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_mention_request_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_mention_torrent_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_subscription_topic` tinyint(1) NOT NULL DEFAULT '1', + `show_subscription_forum` tinyint(1) NOT NULL DEFAULT '1', + `show_forum_topic` tinyint(1) NOT NULL DEFAULT '1', + `show_following_upload` tinyint(1) NOT NULL DEFAULT '1', + `show_request_bounty` tinyint(1) NOT NULL DEFAULT '1', + `show_request_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_request_fill` tinyint(1) NOT NULL DEFAULT '1', + `show_request_fill_approve` tinyint(1) NOT NULL DEFAULT '1', + `show_request_fill_reject` tinyint(1) NOT NULL DEFAULT '1', + `show_request_claim` tinyint(1) NOT NULL DEFAULT '1', + `show_request_unclaim` tinyint(1) NOT NULL DEFAULT '1', + `show_torrent_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_torrent_tip` tinyint(1) NOT NULL DEFAULT '1', + `show_torrent_thank` tinyint(1) NOT NULL DEFAULT '1', + `show_account_follow` tinyint(1) NOT NULL DEFAULT '1', + `show_account_unfollow` tinyint(1) NOT NULL DEFAULT '1', + `json_account_groups` json NOT NULL, + `json_bon_groups` json NOT NULL, + `json_mention_groups` json NOT NULL, + `json_request_groups` json NOT NULL, + `json_torrent_groups` json NOT NULL, + `json_forum_groups` json NOT NULL, + `json_following_groups` json NOT NULL, + `json_subscription_groups` json NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `user_notifications_user_id_unique` (`user_id`), + KEY `user_notifications_show_bon_gift_index` (`show_bon_gift`), + KEY `user_notifications_show_mention_forum_post_index` (`show_mention_forum_post`), + KEY `user_notifications_show_mention_article_comment_index` (`show_mention_article_comment`), + KEY `user_notifications_show_mention_request_comment_index` (`show_mention_request_comment`), + KEY `user_notifications_show_mention_torrent_comment_index` (`show_mention_torrent_comment`), + KEY `user_notifications_show_subscription_topic_index` (`show_subscription_topic`), + KEY `user_notifications_show_subscription_forum_index` (`show_subscription_forum`), + KEY `user_notifications_show_forum_topic_index` (`show_forum_topic`), + KEY `user_notifications_show_following_upload_index` (`show_following_upload`), + KEY `user_notifications_show_request_bounty_index` (`show_request_bounty`), + KEY `user_notifications_show_request_comment_index` (`show_request_comment`), + KEY `user_notifications_show_request_fill_index` (`show_request_fill`), + KEY `user_notifications_show_request_fill_approve_index` (`show_request_fill_approve`), + KEY `user_notifications_show_request_fill_reject_index` (`show_request_fill_reject`), + KEY `user_notifications_show_request_claim_index` (`show_request_claim`), + KEY `user_notifications_show_request_unclaim_index` (`show_request_unclaim`), + KEY `user_notifications_show_torrent_comment_index` (`show_torrent_comment`), + KEY `user_notifications_show_torrent_tip_index` (`show_torrent_tip`), + KEY `user_notifications_show_torrent_thank_index` (`show_torrent_thank`), + KEY `user_notifications_show_account_follow_index` (`show_account_follow`), + KEY `user_notifications_show_account_unfollow_index` (`show_account_unfollow`), + CONSTRAINT `user_notifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `user_privacy` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `show_achievement` tinyint(1) NOT NULL DEFAULT '1', + `show_bon` tinyint(1) NOT NULL DEFAULT '1', + `show_comment` tinyint(1) NOT NULL DEFAULT '1', + `show_download` tinyint(1) NOT NULL DEFAULT '0', + `show_follower` tinyint(1) NOT NULL DEFAULT '1', + `show_online` tinyint(1) NOT NULL DEFAULT '1', + `show_peer` tinyint(1) NOT NULL DEFAULT '1', + `show_post` tinyint(1) NOT NULL DEFAULT '1', + `show_profile` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_about` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_achievement` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_badge` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_follower` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_title` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_bon_extra` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_comment_extra` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_forum_extra` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_request_extra` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_torrent_count` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_torrent_extra` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_torrent_ratio` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_torrent_seed` tinyint(1) NOT NULL DEFAULT '1', + `show_profile_warning` tinyint(1) NOT NULL DEFAULT '1', + `show_rank` tinyint(1) NOT NULL DEFAULT '1', + `show_requested` tinyint(1) NOT NULL DEFAULT '1', + `show_topic` tinyint(1) NOT NULL DEFAULT '1', + `show_upload` tinyint(1) NOT NULL DEFAULT '0', + `show_wishlist` tinyint(1) NOT NULL DEFAULT '1', + `json_profile_groups` json NOT NULL, + `json_torrent_groups` json NOT NULL, + `json_forum_groups` json NOT NULL, + `json_bon_groups` json NOT NULL, + `json_comment_groups` json NOT NULL, + `json_wishlist_groups` json NOT NULL, + `json_follower_groups` json NOT NULL, + `json_achievement_groups` json NOT NULL, + `json_rank_groups` json NOT NULL, + `json_request_groups` json NOT NULL, + `json_other_groups` json NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `user_privacy_user_id_unique` (`user_id`), + KEY `user_privacy_show_achievement_index` (`show_achievement`), + KEY `user_privacy_show_bon_index` (`show_bon`), + KEY `user_privacy_show_comment_index` (`show_comment`), + KEY `user_privacy_show_download_index` (`show_download`), + KEY `user_privacy_show_follower_index` (`show_follower`), + KEY `user_privacy_show_post_index` (`show_post`), + KEY `user_privacy_show_profile_index` (`show_profile`), + KEY `user_privacy_show_profile_about_index` (`show_profile_about`), + KEY `user_privacy_show_profile_achievement_index` (`show_profile_achievement`), + KEY `user_privacy_show_profile_badge_index` (`show_profile_badge`), + KEY `user_privacy_show_profile_follower_index` (`show_profile_follower`), + KEY `user_privacy_show_profile_title_index` (`show_profile_title`), + KEY `user_privacy_show_profile_bon_extra_index` (`show_profile_bon_extra`), + KEY `user_privacy_show_profile_comment_extra_index` (`show_profile_comment_extra`), + KEY `user_privacy_show_profile_forum_extra_index` (`show_profile_forum_extra`), + KEY `user_privacy_show_profile_torrent_count_index` (`show_profile_torrent_count`), + KEY `user_privacy_show_profile_torrent_extra_index` (`show_profile_torrent_extra`), + KEY `user_privacy_show_profile_torrent_ratio_index` (`show_profile_torrent_ratio`), + KEY `user_privacy_show_profile_torrent_seed_index` (`show_profile_torrent_seed`), + KEY `user_privacy_show_profile_warning_index` (`show_profile_warning`), + KEY `user_privacy_show_rank_index` (`show_rank`), + KEY `user_privacy_show_topic_index` (`show_topic`), + KEY `user_privacy_show_upload_index` (`show_upload`), + KEY `user_privacy_show_wishlist_index` (`show_wishlist`), + KEY `user_privacy_show_profile_request_extra_index` (`show_profile_request_extra`), + KEY `user_privacy_show_online_index` (`show_online`), + KEY `user_privacy_show_peer_index` (`show_peer`), + KEY `user_privacy_show_requested_index` (`show_requested`), + CONSTRAINT `user_privacy_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `users` ( + `id` int NOT NULL AUTO_INCREMENT, + `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `passkey` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `group_id` int NOT NULL, + `active` tinyint(1) NOT NULL DEFAULT '0', + `uploaded` bigint unsigned NOT NULL DEFAULT '0', + `downloaded` bigint unsigned NOT NULL DEFAULT '0', + `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `about` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `signature` text COLLATE utf8mb4_unicode_ci, + `fl_tokens` int unsigned NOT NULL DEFAULT '0', + `seedbonus` double(12,2) unsigned NOT NULL DEFAULT '0.00', + `invites` int unsigned NOT NULL DEFAULT '0', + `hitandruns` int unsigned NOT NULL DEFAULT '0', + `rsskey` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `chatroom_id` int unsigned NOT NULL DEFAULT '1', + `censor` tinyint(1) NOT NULL DEFAULT '0', + `chat_hidden` tinyint(1) NOT NULL DEFAULT '0', + `hidden` tinyint(1) NOT NULL DEFAULT '0', + `style` tinyint(1) NOT NULL DEFAULT '0', + `nav` tinyint(1) NOT NULL DEFAULT '0', + `torrent_layout` tinyint(1) NOT NULL DEFAULT '0', + `torrent_filters` tinyint(1) NOT NULL DEFAULT '0', + `custom_css` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `ratings` tinyint(1) NOT NULL DEFAULT '0', + `read_rules` tinyint(1) NOT NULL DEFAULT '0', + `can_chat` tinyint(1) NOT NULL DEFAULT '1', + `can_comment` tinyint(1) NOT NULL DEFAULT '1', + `can_download` tinyint(1) NOT NULL DEFAULT '1', + `can_request` tinyint(1) NOT NULL DEFAULT '1', + `can_invite` tinyint(1) NOT NULL DEFAULT '1', + `can_upload` tinyint(1) NOT NULL DEFAULT '1', + `show_poster` tinyint(1) NOT NULL DEFAULT '0', + `peer_hidden` tinyint(1) NOT NULL DEFAULT '0', + `private_profile` tinyint(1) NOT NULL DEFAULT '0', + `block_notifications` tinyint(1) NOT NULL DEFAULT '0', + `stat_hidden` tinyint(1) NOT NULL DEFAULT '0', + `twostep` tinyint(1) NOT NULL DEFAULT '0', + `remember_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `api_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `last_login` datetime DEFAULT NULL, + `last_action` datetime DEFAULT NULL, + `disabled_at` datetime DEFAULT NULL, + `deleted_by` int DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `locale` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en', + `chat_status_id` int unsigned NOT NULL DEFAULT '1', + `deleted_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `users_api_token_unique` (`api_token`), + KEY `fk_users_groups_idx` (`group_id`), + KEY `users_torrent_filters_index` (`torrent_filters`), + KEY `users_block_notifications_index` (`block_notifications`), + KEY `users_read_rules_index` (`read_rules`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `voters` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `poll_id` int unsigned NOT NULL, + `user_id` int unsigned NOT NULL DEFAULT '0', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `voters_poll_id_foreign` (`poll_id`), + CONSTRAINT `voters_poll_id_foreign` FOREIGN KEY (`poll_id`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `warnings` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `warned_by` int NOT NULL, + `torrent` bigint unsigned NOT NULL, + `reason` text COLLATE utf8mb4_unicode_ci NOT NULL, + `expires_on` datetime DEFAULT NULL, + `active` tinyint(1) NOT NULL DEFAULT '0', + `deleted_by` int DEFAULT NULL, + `deleted_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `warnings_user_id_foreign` (`user_id`), + KEY `warnings_warned_by_foreign` (`warned_by`), + KEY `warnings_torrent_foreign` (`torrent`), + CONSTRAINT `warnings_torrent_foreign` FOREIGN KEY (`torrent`) REFERENCES `torrents` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `warnings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT, + CONSTRAINT `warnings_warned_by_foreign` FOREIGN KEY (`warned_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `wishes` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `user_id` int NOT NULL, + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `imdb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `source` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +INSERT INTO `migrations` VALUES (1,'0000_00_00_000000_create_achievements_tables',1); +INSERT INTO `migrations` VALUES (2,'2017_12_10_020753_create_articles_table',1); +INSERT INTO `migrations` VALUES (3,'2017_12_10_020753_create_ban_table',1); +INSERT INTO `migrations` VALUES (4,'2017_12_10_020753_create_bon_exchange_table',1); +INSERT INTO `migrations` VALUES (5,'2017_12_10_020753_create_bon_transactions_table',1); +INSERT INTO `migrations` VALUES (6,'2017_12_10_020753_create_bookmarks_table',1); +INSERT INTO `migrations` VALUES (7,'2017_12_10_020753_create_categories_table',1); +INSERT INTO `migrations` VALUES (8,'2017_12_10_020753_create_clients_table',1); +INSERT INTO `migrations` VALUES (9,'2017_12_10_020753_create_comments_table',1); +INSERT INTO `migrations` VALUES (10,'2017_12_10_020753_create_failed_login_attempts_table',1); +INSERT INTO `migrations` VALUES (11,'2017_12_10_020753_create_featured_torrents_table',1); +INSERT INTO `migrations` VALUES (12,'2017_12_10_020753_create_files_table',1); +INSERT INTO `migrations` VALUES (13,'2017_12_10_020753_create_follows_table',1); +INSERT INTO `migrations` VALUES (14,'2017_12_10_020753_create_forums_table',1); +INSERT INTO `migrations` VALUES (15,'2017_12_10_020753_create_graveyard_table',1); +INSERT INTO `migrations` VALUES (16,'2017_12_10_020753_create_groups_table',1); +INSERT INTO `migrations` VALUES (17,'2017_12_10_020753_create_history_table',1); +INSERT INTO `migrations` VALUES (18,'2017_12_10_020753_create_invites_table',1); +INSERT INTO `migrations` VALUES (19,'2017_12_10_020753_create_jobs_table',1); +INSERT INTO `migrations` VALUES (20,'2017_12_10_020753_create_likes_table',1); +INSERT INTO `migrations` VALUES (21,'2017_12_10_020753_create_log_activities_table',1); +INSERT INTO `migrations` VALUES (22,'2017_12_10_020753_create_notifications_table',1); +INSERT INTO `migrations` VALUES (23,'2017_12_10_020753_create_options_table',1); +INSERT INTO `migrations` VALUES (24,'2017_12_10_020753_create_pages_table',1); +INSERT INTO `migrations` VALUES (25,'2017_12_10_020753_create_password_resets_table',1); +INSERT INTO `migrations` VALUES (26,'2017_12_10_020753_create_peers_table',1); +INSERT INTO `migrations` VALUES (27,'2017_12_10_020753_create_permissions_table',1); +INSERT INTO `migrations` VALUES (28,'2017_12_10_020753_create_personal_freeleech_table',1); +INSERT INTO `migrations` VALUES (29,'2017_12_10_020753_create_polls_table',1); +INSERT INTO `migrations` VALUES (30,'2017_12_10_020753_create_posts_table',1); +INSERT INTO `migrations` VALUES (31,'2017_12_10_020753_create_private_messages_table',1); +INSERT INTO `migrations` VALUES (32,'2017_12_10_020753_create_reports_table',1); +INSERT INTO `migrations` VALUES (33,'2017_12_10_020753_create_request_bounty_table',1); +INSERT INTO `migrations` VALUES (34,'2017_12_10_020753_create_request_claims_table',1); +INSERT INTO `migrations` VALUES (35,'2017_12_10_020753_create_requests_table',1); +INSERT INTO `migrations` VALUES (36,'2017_12_10_020753_create_rss_table',1); +INSERT INTO `migrations` VALUES (37,'2017_12_10_020753_create_sessions_table',1); +INSERT INTO `migrations` VALUES (38,'2017_12_10_020753_create_shoutbox_table',1); +INSERT INTO `migrations` VALUES (39,'2017_12_10_020753_create_tag_torrent_table',1); +INSERT INTO `migrations` VALUES (40,'2017_12_10_020753_create_tags_table',1); +INSERT INTO `migrations` VALUES (41,'2017_12_10_020753_create_thanks_table',1); +INSERT INTO `migrations` VALUES (42,'2017_12_10_020753_create_topics_table',1); +INSERT INTO `migrations` VALUES (43,'2017_12_10_020753_create_torrents_table',1); +INSERT INTO `migrations` VALUES (44,'2017_12_10_020753_create_types_table',1); +INSERT INTO `migrations` VALUES (45,'2017_12_10_020753_create_user_activations_table',1); +INSERT INTO `migrations` VALUES (46,'2017_12_10_020753_create_user_notes_table',1); +INSERT INTO `migrations` VALUES (47,'2017_12_10_020753_create_users_table',1); +INSERT INTO `migrations` VALUES (48,'2017_12_10_020753_create_voters_table',1); +INSERT INTO `migrations` VALUES (49,'2017_12_10_020753_create_warnings_table',1); +INSERT INTO `migrations` VALUES (50,'2017_12_10_020754_add_foreign_keys_to_articles_table',1); +INSERT INTO `migrations` VALUES (51,'2017_12_10_020754_add_foreign_keys_to_ban_table',1); +INSERT INTO `migrations` VALUES (52,'2017_12_10_020754_add_foreign_keys_to_clients_table',1); +INSERT INTO `migrations` VALUES (53,'2017_12_10_020754_add_foreign_keys_to_comments_table',1); +INSERT INTO `migrations` VALUES (54,'2017_12_10_020754_add_foreign_keys_to_history_table',1); +INSERT INTO `migrations` VALUES (55,'2017_12_10_020754_add_foreign_keys_to_peers_table',1); +INSERT INTO `migrations` VALUES (56,'2017_12_10_020754_add_foreign_keys_to_reports_table',1); +INSERT INTO `migrations` VALUES (57,'2017_12_10_020754_add_foreign_keys_to_rss_table',1); +INSERT INTO `migrations` VALUES (58,'2017_12_10_020754_add_foreign_keys_to_torrents_table',1); +INSERT INTO `migrations` VALUES (59,'2017_12_10_020754_add_foreign_keys_to_voters_table',1); +INSERT INTO `migrations` VALUES (60,'2017_12_10_020754_add_foreign_keys_to_warnings_table',1); +INSERT INTO `migrations` VALUES (61,'2017_12_21_123452_add_custom_css_to_users_table',1); +INSERT INTO `migrations` VALUES (62,'2017_12_27_000000_add_locale_column',1); +INSERT INTO `migrations` VALUES (63,'2018_01_23_095412_add_implemented_to_topics_table',1); +INSERT INTO `migrations` VALUES (64,'2018_01_25_000000_add_twostep_to_users_table',1); +INSERT INTO `migrations` VALUES (65,'2018_02_06_142024_add_last_reply_at_to_topics_table',1); +INSERT INTO `migrations` VALUES (66,'2018_02_14_000000_add_is_internal_to_groups_table',1); +INSERT INTO `migrations` VALUES (67,'2018_03_13_000000_add_position_to_categories_table',1); +INSERT INTO `migrations` VALUES (68,'2018_03_21_000000_add_censor_to_users_table',1); +INSERT INTO `migrations` VALUES (69,'2018_03_27_000000_add_chat_hidden_to_users_table',1); +INSERT INTO `migrations` VALUES (70,'2018_04_19_221542_create_failed_jobs_table',1); +INSERT INTO `migrations` VALUES (71,'2018_04_21_181026_create_wishes_table',1); +INSERT INTO `migrations` VALUES (72,'2018_04_22_195516_alter_reports_table',1); +INSERT INTO `migrations` VALUES (73,'2018_04_28_021651_alter_shoutbox_table',1); +INSERT INTO `migrations` VALUES (74,'2018_04_28_022305_create_chatrooms_table',1); +INSERT INTO `migrations` VALUES (75,'2018_04_28_022344_add_chatroom_id_to_users_table',1); +INSERT INTO `migrations` VALUES (76,'2018_05_04_101711_create_chat_statuses_table',1); +INSERT INTO `migrations` VALUES (77,'2018_05_04_102055_add_chat_status_id_to_users_table',1); +INSERT INTO `migrations` VALUES (78,'2018_05_07_183534_add_can_upload_to_groups_table',1); +INSERT INTO `migrations` VALUES (79,'2018_05_15_223339_add_receiver_id_column_to_messages_table',1); +INSERT INTO `migrations` VALUES (80,'2018_05_18_144651_rename_ban_table',1); +INSERT INTO `migrations` VALUES (81,'2018_05_21_022459_add_torrent_layout_to_users_table',1); +INSERT INTO `migrations` VALUES (82,'2018_05_21_192858_alter_peers_table',1); +INSERT INTO `migrations` VALUES (83,'2018_05_22_224911_alter_private_messages_table',1); +INSERT INTO `migrations` VALUES (84,'2018_05_31_120936_create_albums_table',1); +INSERT INTO `migrations` VALUES (85,'2018_05_31_120955_create_images_table',1); +INSERT INTO `migrations` VALUES (86,'2018_06_11_110000_create_topic_subscriptions_table',1); +INSERT INTO `migrations` VALUES (87,'2018_07_12_114125_add_soft_deletes_to_warnings',1); +INSERT INTO `migrations` VALUES (88,'2018_08_19_212319_create_git_updates_table',1); +INSERT INTO `migrations` VALUES (89,'2018_09_08_153849_add_soft_deletes_to_user_table',1); +INSERT INTO `migrations` VALUES (90,'2018_09_24_205852_add_internal_to_torrents_table',1); +INSERT INTO `migrations` VALUES (91,'2018_09_29_163937_add_anon_to_requests_table',1); +INSERT INTO `migrations` VALUES (92,'2018_09_29_164525_add_anon_to_request_bounty_table',1); +INSERT INTO `migrations` VALUES (93,'2018_11_09_010002_add_immune_to_history_table',1); +INSERT INTO `migrations` VALUES (94,'2018_12_03_024251_create_applications_table',1); +INSERT INTO `migrations` VALUES (95,'2018_12_03_032701_create_application_image_proofs_table',1); +INSERT INTO `migrations` VALUES (96,'2018_12_03_032712_create_application_url_proofs_table',1); +INSERT INTO `migrations` VALUES (97,'2018_12_06_012908_update_tag_torrent_table',1); +INSERT INTO `migrations` VALUES (98,'2018_1_10_020753_create_freeleech_tokens_table',1); +INSERT INTO `migrations` VALUES (99,'2018_1_20_070937_create_two_step_auth_table',1); +INSERT INTO `migrations` VALUES (100,'2019_01_09_151754_alter_categories_table',1); +INSERT INTO `migrations` VALUES (101,'2019_01_09_175336_add_incognito_to_groups_table',1); +INSERT INTO `migrations` VALUES (102,'2019_01_10_102512_add_request_id_to_reports_table',1); +INSERT INTO `migrations` VALUES (103,'2019_01_11_001150_alter_rss_table',1); +INSERT INTO `migrations` VALUES (104,'2019_01_17_213210_add_torrent_filters_to_users_table',1); +INSERT INTO `migrations` VALUES (105,'2019_01_23_034500_alter_bon_transactions_table',1); +INSERT INTO `migrations` VALUES (106,'2019_01_24_033802_rename_topic_subscriptions_table',1); +INSERT INTO `migrations` VALUES (107,'2019_01_24_190220_alter_torrents_table',1); +INSERT INTO `migrations` VALUES (108,'2019_01_27_005216_create_user_privacy_table',1); +INSERT INTO `migrations` VALUES (109,'2019_01_28_031842_alter_groups_table',1); +INSERT INTO `migrations` VALUES (110,'2019_01_28_225127_create_user_notifications_table',1); +INSERT INTO `migrations` VALUES (111,'2019_01_29_054104_alter_users_tables',1); +INSERT INTO `migrations` VALUES (112,'2019_02_04_041644_create_user_echoes_table',1); +INSERT INTO `migrations` VALUES (113,'2019_02_05_220444_create_bots_table',1); +INSERT INTO `migrations` VALUES (114,'2019_02_06_005248_add_bot_id_to_messages_table',1); +INSERT INTO `migrations` VALUES (115,'2019_02_06_075938_create_bot_transactions_table',1); +INSERT INTO `migrations` VALUES (116,'2019_02_07_022409_create_user_audibles_table',1); +INSERT INTO `migrations` VALUES (117,'2019_02_10_010213_fix_chat_related_tables',1); +INSERT INTO `migrations` VALUES (118,'2019_02_21_133950_add_is_owner_to_groups_table',1); +INSERT INTO `migrations` VALUES (119,'2019_02_21_221047_add_request_to_user_privacy_table',1); +INSERT INTO `migrations` VALUES (120,'2019_03_20_214306_alter_users_table',1); +INSERT INTO `migrations` VALUES (121,'2019_06_17_172554_add_last_action_to_users_table',1); +INSERT INTO `migrations` VALUES (122,'2019_07_09_225645_add_release_year_to_torrents_table',1); +INSERT INTO `migrations` VALUES (123,'2019_07_31_024816_alter_requests_table',1); +INSERT INTO `migrations` VALUES (124,'2019_09_22_204439_create_playlists_table',1); +INSERT INTO `migrations` VALUES (125,'2019_09_22_204613_create_playlist_torrents_table',1); +INSERT INTO `migrations` VALUES (126,'2019_09_24_160123_alter_comments_table',1); +INSERT INTO `migrations` VALUES (127,'2019_11_05_233558_create_audits_table',1); +INSERT INTO `migrations` VALUES (128,'2019_11_27_025048_add_api_token_field_users',1); +INSERT INTO `migrations` VALUES (129,'2020_02_14_185120_add_foreign_key_to_options_table',1); +INSERT INTO `migrations` VALUES (130,'2020_02_14_202935_drop_ip_checking_in_polls_table',1); +INSERT INTO `migrations` VALUES (131,'2020_02_14_203001_drop_ip_address_in_voters_table',1); +INSERT INTO `migrations` VALUES (132,'2020_03_26_030235_create_subtitles_table',1); +INSERT INTO `migrations` VALUES (133,'2020_03_26_034620_create_media_languages_table',1); +INSERT INTO `migrations` VALUES (134,'2020_03_31_201107_add_is_double_upload_to_groups_table',1); +INSERT INTO `migrations` VALUES (135,'2020_05_19_023939_add_type_id_to_torrents_table',1); +INSERT INTO `migrations` VALUES (136,'2020_05_26_053632_add_type_id_to_requests_table',1); +INSERT INTO `migrations` VALUES (137,'2020_06_06_185230_create_resolutions_table',1); +INSERT INTO `migrations` VALUES (138,'2020_06_07_023938_add_resolution_id_to_torrents_table',1); +INSERT INTO `migrations` VALUES (139,'2020_06_07_054632_add_resolution_id_to_requests_table',1); +INSERT INTO `migrations` VALUES (140,'2020_06_10_014256_unique_groups',1); +INSERT INTO `migrations` VALUES (141,'2020_10_06_143759_add_uuid_to_failed_jobs_table',2); diff --git a/public/index.php b/public/index.php index 2b5641b4c1..1ca602863c 100644 --- a/public/index.php +++ b/public/index.php @@ -1,58 +1,55 @@ - */ +use Illuminate\Contracts\Http\Kernel; +use Illuminate\Http\Request; + define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- -| Register The Auto Loader +| Check If Application Is Under Maintenance |-------------------------------------------------------------------------- | -| Composer provides a convenient, automatically generated class loader for -| our application. We just need to utilize it! We'll simply require it -| into the script here so that we don't have to worry about manual -| loading any of our classes later on. It feels great to relax. +| If the application is maintenance / demo mode via the "down" command we +| will require this file so that any prerendered template can be shown +| instead of starting the framework, which could cause an exception. | */ -require __DIR__.'/../vendor/autoload.php'; +if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { + require __DIR__.'/../storage/framework/maintenance.php'; +} /* |-------------------------------------------------------------------------- -| Turn On The Lights +| Register The Auto Loader |-------------------------------------------------------------------------- | -| We need to illuminate PHP development, so let us turn on the lights. -| This bootstraps the framework and gets it ready for use, then it -| will load up this application so that we can run it and send -| the responses back to the browser and delight our users. +| Composer provides a convenient, automatically generated class loader for +| this application. We just need to utilize it! We'll simply require it +| into the script here so we don't need to manually load our classes. | */ -$app = require_once __DIR__.'/../bootstrap/app.php'; +require __DIR__.'/../vendor/autoload.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | -| Once we have the application, we can handle the incoming request -| through the kernel, and send the associated response back to -| the client's browser allowing them to enjoy the creative -| and wonderful application we have prepared for them. +| Once we have the application, we can handle the incoming request using +| the application's HTTP kernel. Then, we will send the response back +| to this client's browser, allowing them to enjoy our application. | */ -$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); +$app = require_once __DIR__.'/../bootstrap/app.php'; -$response = $kernel->handle( - $request = Illuminate\Http\Request::capture() -); +$kernel = $app->make(Kernel::class); -$response->send(); +$response = tap($kernel->handle( + $request = Request::capture() +))->send(); -$kernel->terminate($request, $response); +$kernel->terminate($request, $response); \ No newline at end of file From 42b5a3ed7cc2d16a6ec0a5bf5e6ccd04ef5ecc99 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 15:00:17 +0000 Subject: [PATCH 22/23] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Http/Middleware/RedirectIfAuthenticated.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 1ba677c329..ee6a4aff2e 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -20,9 +20,10 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string[]|null ...$guards + * @param \Illuminate\Http\Request $request + * @param \Closure $next + * @param string[]|null ...$guards + * * @return mixed */ public function handle($request, Closure $next, ...$guards) From d67e5f53e4f9e5a56c10ebdb4945b7a7e8b06f3e Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Tue, 6 Oct 2020 11:35:11 -0400 Subject: [PATCH 23/23] update: dependencies --- composer.lock | 26 ++--- package-lock.json | 272 +++++++++++++++++++++++++++------------------- package.json | 6 +- 3 files changed, 174 insertions(+), 130 deletions(-) diff --git a/composer.lock b/composer.lock index 0184307b0a..b35e43de7b 100644 --- a/composer.lock +++ b/composer.lock @@ -2134,16 +2134,16 @@ }, { "name": "laravel/framework", - "version": "v8.8.0", + "version": "v8.9.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "0bdd5c6f12cb7cb6644e484169656245af417735" + "reference": "8a6bf870bcfa1597e514a9c7ee6df44db98abb54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/0bdd5c6f12cb7cb6644e484169656245af417735", - "reference": "0bdd5c6f12cb7cb6644e484169656245af417735", + "url": "https://api.github.com/repos/laravel/framework/zipball/8a6bf870bcfa1597e514a9c7ee6df44db98abb54", + "reference": "8a6bf870bcfa1597e514a9c7ee6df44db98abb54", "shasum": "" }, "require": { @@ -2293,7 +2293,7 @@ "framework", "laravel" ], - "time": "2020-10-02T14:33:08+00:00" + "time": "2020-10-06T14:22:36+00:00" }, { "name": "laravel/tinker", @@ -10834,16 +10834,16 @@ }, { "name": "sebastian/type", - "version": "2.2.2", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea" + "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e494dcaeb89d1458c9ccd8c819745245a1669aea", - "reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fa592377f3923946cb90bf1f6a71ba2e5f229909", + "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909", "shasum": "" }, "require": { @@ -10855,7 +10855,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } }, "autoload": { @@ -10876,17 +10876,13 @@ ], "description": "Collection of value objects that represent the types of the PHP type system", "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.2.2" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2020-09-28T06:01:38+00:00" + "time": "2020-10-06T08:41:03+00:00" }, { "name": "sebastian/version", diff --git a/package-lock.json b/package-lock.json index 54707a1162..8e5d131071 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1150,6 +1150,11 @@ } } }, + "@npmcli/node-gyp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.1.tgz", + "integrity": "sha512-pBqoKPWmuk9iaEcXlLBVRIA6I1kG9JiICU+sG0NuD6NAR461F+02elHJS4WkQxHW2W5rnsfvP/ClKwmsZ9RaaA==" + }, "@npmcli/promise-spawn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.2.0.tgz", @@ -1159,10 +1164,11 @@ } }, "@npmcli/run-script": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.6.0.tgz", - "integrity": "sha512-2BHum2b8MBXkiWGR6c1JOQ+2eAnE8kygwtT8F5bRam7ErDJqxxcHZSksIU6/qxqnA3WuiuyvxNdnptIJr8YQ8Q==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.7.2.tgz", + "integrity": "sha512-EZO9uXrZrfzdIJsNi/WwrP2jt1P0lbFSxOq15ljgYn1/rr4UyQXUKBZRURioFVbUb7Z1BJDEKswnWrtRybZPzw==", "requires": { + "@npmcli/node-gyp": "^1.0.0", "@npmcli/promise-spawn": "^1.2.0", "infer-owner": "^1.0.4", "node-gyp": "^7.1.0", @@ -1190,7 +1196,8 @@ "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true }, "@types/glob": { "version": "7.1.3", @@ -2260,11 +2267,10 @@ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" }, "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -4075,37 +4081,34 @@ } }, "engine.io-client": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.3.tgz", - "integrity": "sha512-0NGY+9hioejTEJCaSJZfWZLk4FPI9dN+1H1C4+wj2iuFba47UgZbJzfWs4aNFajnX/qAaYKbe2lLTfEEWzCmcw==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.4.tgz", + "integrity": "sha512-iU4CRr38Fecj8HoZEnFtm2EiKGbYZcPn3cHxqNGl/tmdWRf60KhK+9vE0JeSjgnlS/0oynEfLgKbT9ALpim0sQ==", "dev": true, "requires": { "component-emitter": "~1.3.0", "component-inherit": "0.0.3", - "debug": "~4.1.0", + "debug": "~3.1.0", "engine.io-parser": "~2.2.0", "has-cors": "1.1.0", "indexof": "0.0.1", - "parseqs": "0.0.5", - "parseuri": "0.0.5", + "parseqs": "0.0.6", + "parseuri": "0.0.6", "ws": "~6.1.0", "xmlhttprequest-ssl": "~1.5.4", "yeast": "0.1.2" }, "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } + "parseqs": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz", + "integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==", + "dev": true }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "parseuri": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz", + "integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==", "dev": true }, "ws": { @@ -6072,9 +6075,9 @@ "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=" }, "is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", + "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==" }, "is-number": { "version": "3.0.0", @@ -6912,9 +6915,9 @@ } }, "minipass-fetch": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.1.tgz", - "integrity": "sha512-N0ddPAD8OZnoAHUYj1ZH4ZJVna+ucy7if777LrdeIV1ko8f46af4jbyM5EC1gN4xc9Wq5c3C38GnxRJ2gneXRA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.2.tgz", + "integrity": "sha512-/i4fX1ss+Dtwyk++OsAI6SEV+eE1dvI6W+0hORdjfruQ7VD5uYTetJIHcEMjWiEiszWjn2aAtP1CB/Q4KfeoYA==", "requires": { "encoding": "^0.1.12", "minipass": "^3.1.0", @@ -7096,9 +7099,9 @@ } }, "node-forge": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.0.tgz", - "integrity": "sha512-7ASaDa3pD+lJ3WvXFsxekJQelBKRpne+GOVbLbtHYdd7pFspyeuJHnWfLplGf3SwKGbfs/aYl5V/JCIaHVUKKQ==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", "dev": true }, "node-gyp": { @@ -7230,9 +7233,9 @@ } }, "npm-check-updates": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-9.0.3.tgz", - "integrity": "sha512-/pO7pFcPd8EUPvipS5aeiwGHIa0HXvl2+IJOZ9rlS/jXYJmHE7Y1V/jxZEN5gOVUT8fCAdJRMmN57ydeH+Mv0Q==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-9.0.4.tgz", + "integrity": "sha512-kqevC9RXRsaosPZHg4Pm5CNwnOAG2ymvhU7Q3QIX01SDUID4fpoSAQIuXQH9V3Nnu96kSUz5bDPzQSku33Mz0A==", "requires": { "chalk": "^4.1.0", "cint": "^8.2.1", @@ -7255,15 +7258,14 @@ "semver": "^7.3.2", "semver-utils": "^1.1.4", "spawn-please": "^0.4.1", - "update-notifier": "^4.1.1" + "update-notifier": "^5.0.0" }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -9583,9 +9585,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sass": { - "version": "1.26.11", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.26.11.tgz", - "integrity": "sha512-W1l/+vjGjIamsJ6OnTe0K37U2DBO/dgsv2Z4c89XQ8ZOO6l/VwkqwLSqoYzJeJs6CLuGSTRWc91GbQFL3lvrvw==", + "version": "1.26.12", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.26.12.tgz", + "integrity": "sha512-hmSwtBOWoS9zwe0yAS+QmaseVCUELiGV22gXHDR7+9stEsVuEuxfY1GhC8XmUpC+Ir3Hwq7NxSUNbnmkznnF7g==", "dev": true, "requires": { "chokidar": ">=2.0.0 <4.0.0" @@ -9664,12 +9666,12 @@ "dev": true }, "selfsigned": { - "version": "1.10.7", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.7.tgz", - "integrity": "sha512-8M3wBCzeWIJnQfl43IKwOmC4H/RAp50S8DF60znzjW5GVqTcSe2vWclt7hmYVPkKPlHWOu5EaWOMZ2Y6W8ZXTA==", + "version": "1.10.8", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.8.tgz", + "integrity": "sha512-2P4PtieJeEwVgTU9QEcwIRDQ/mXJLX8/+I3ur+Pg16nS8oNbrGxEso9NyYWy8NAmXiNl4dlAp5MwoNeCWzON4w==", "dev": true, "requires": { - "node-forge": "0.9.0" + "node-forge": "^0.10.0" } }, "semver": { @@ -10066,6 +10068,12 @@ "socket.io-parser": "~3.4.0" }, "dependencies": { + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", @@ -10075,11 +10083,75 @@ "ms": "^2.1.1" } }, + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true + }, + "socket.io-client": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.3.0.tgz", + "integrity": "sha512-cEQQf24gET3rfhxZ2jJ5xzAOo/xhZwK+mOqtGRg5IowZsMgwvHwnf/mCRapAAkadhM26y+iydgwsXGObBB5ZdA==", + "dev": true, + "requires": { + "backo2": "1.0.2", + "base64-arraybuffer": "0.1.5", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "~4.1.0", + "engine.io-client": "~3.4.0", + "has-binary2": "~1.0.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "socket.io-parser": "~3.3.0", + "to-array": "0.1.4" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "socket.io-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz", + "integrity": "sha512-1QLvVAe8dTz+mKmZ07Swxt+LAo4Y1ff50rlyoEx00TQmDFVQYPfcqGvIDJLGaBdhdNCecXtyKpD+EgKGcmmbuQ==", + "dev": true, + "requires": { + "component-emitter": "~1.3.0", + "debug": "~3.1.0", + "isarray": "2.0.1" + }, + "dependencies": { + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + } + } } } }, @@ -10090,80 +10162,51 @@ "dev": true }, "socket.io-client": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.3.0.tgz", - "integrity": "sha512-cEQQf24gET3rfhxZ2jJ5xzAOo/xhZwK+mOqtGRg5IowZsMgwvHwnf/mCRapAAkadhM26y+iydgwsXGObBB5ZdA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.3.1.tgz", + "integrity": "sha512-YXmXn3pA8abPOY//JtYxou95Ihvzmg8U6kQyolArkIyLd0pgVhrfor/iMsox8cn07WCOOvvuJ6XKegzIucPutQ==", "dev": true, "requires": { "backo2": "1.0.2", - "base64-arraybuffer": "0.1.5", "component-bind": "1.0.0", - "component-emitter": "1.2.1", - "debug": "~4.1.0", + "component-emitter": "~1.3.0", + "debug": "~3.1.0", "engine.io-client": "~3.4.0", "has-binary2": "~1.0.2", - "has-cors": "1.1.0", "indexof": "0.0.1", - "object-component": "0.0.3", - "parseqs": "0.0.5", - "parseuri": "0.0.5", + "parseqs": "0.0.6", + "parseuri": "0.0.6", "socket.io-parser": "~3.3.0", "to-array": "0.1.4" }, "dependencies": { - "component-emitter": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", - "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", - "dev": true - }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, "isarray": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", "dev": true }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "parseqs": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz", + "integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==", + "dev": true + }, + "parseuri": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz", + "integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==", "dev": true }, "socket.io-parser": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.0.tgz", - "integrity": "sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz", + "integrity": "sha512-1QLvVAe8dTz+mKmZ07Swxt+LAo4Y1ff50rlyoEx00TQmDFVQYPfcqGvIDJLGaBdhdNCecXtyKpD+EgKGcmmbuQ==", "dev": true, "requires": { - "component-emitter": "1.2.1", + "component-emitter": "~1.3.0", "debug": "~3.1.0", "isarray": "2.0.1" - }, - "dependencies": { - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } } } } @@ -11201,38 +11244,38 @@ "dev": true }, "update-notifier": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", - "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.0.0.tgz", + "integrity": "sha512-8tqsiVrMv7aZsKNSjqA6DdBLKJpZG1hRpkj1RbOJu1PgyP69OX+EInAnP1EK/ShX5YdPFgwWdk19oquZ0HTM8g==", "requires": { "boxen": "^4.2.0", - "chalk": "^3.0.0", + "chalk": "^4.1.0", "configstore": "^5.0.1", "has-yarn": "^2.1.0", "import-lazy": "^2.1.0", "is-ci": "^2.0.0", "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", + "is-npm": "^5.0.0", "is-yarn-global": "^0.3.0", "latest-version": "^5.0.0", "pupa": "^2.0.1", + "semver": "^7.3.2", "semver-diff": "^3.1.1", "xdg-basedir": "^4.0.0" }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11256,6 +11299,11 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", diff --git a/package.json b/package.json index 4d08de5d15..d546d45121 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,10 @@ "laravel-mix-purgecss": "^5.0.0", "lodash": "^4.17.20", "resolve-url-loader": "3.1.1", - "sass": "^1.26.11", + "sass": "^1.26.12", "sass-loader": "^10.0.2", "socket.io": "^2.3.0", - "socket.io-client": "^2.3.0", + "socket.io-client": "^2.3.1", "sweetalert2": "^10.3.5", "v-tooltip": "^2.0.3", "vue": "^2.6.12", @@ -33,6 +33,6 @@ "dependencies": { "dayjs": "^1.9.1", "laravel-mix-sri": "0.0.4", - "npm-check-updates": "^9.0.3" + "npm-check-updates": "^9.0.4" } }