Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Sep 26, 2023
1 parent 663efef commit c81c603
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
3 changes: 1 addition & 2 deletions extensions/lock/extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
use Flarum\Api\Serializer\DiscussionSerializer;
use Flarum\Discussion\Discussion;
use Flarum\Discussion\Event\Saving;
use Flarum\Discussion\Filter\DiscussionFilterer;
use Flarum\Discussion\Search\DiscussionSearcher;
use Flarum\Extend;
use Flarum\Lock\Access;
use Flarum\Lock\Event\DiscussionWasLocked;
use Flarum\Lock\Event\DiscussionWasUnlocked;
use Flarum\Lock\Filter\LockedFilter;
use Flarum\Lock\Listener;
use Flarum\Lock\Notification\DiscussionLockedBlueprint;
use Flarum\Lock\Post\DiscussionLockedPost;
use Flarum\Lock\Filter\LockedFilter;

return [
(new Extend\Frontend('forum'))
Expand Down
2 changes: 1 addition & 1 deletion extensions/subscriptions/extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
use Flarum\Post\Event\Hidden;
use Flarum\Post\Event\Posted;
use Flarum\Post\Event\Restored;
use Flarum\Subscriptions\Filter\SubscriptionFilter;
use Flarum\Subscriptions\HideIgnoredFromAllDiscussionsPage;
use Flarum\Subscriptions\Listener;
use Flarum\Subscriptions\Notification\FilterVisiblePostsBeforeSending;
use Flarum\Subscriptions\Notification\NewPostBlueprint;
use Flarum\Subscriptions\Filter\SubscriptionFilter;
use Flarum\User\User;

return [
Expand Down
2 changes: 1 addition & 1 deletion extensions/tags/extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
use Flarum\Tags\Event\DiscussionWasTagged;
use Flarum\Tags\Filter\HideHiddenTagsFromAllDiscussionsPage;
use Flarum\Tags\Filter\PostTagFilter;
use Flarum\Tags\Filter\TagFilter;
use Flarum\Tags\Listener;
use Flarum\Tags\LoadForumTagsRelationship;
use Flarum\Tags\Post\DiscussionTaggedPost;
use Flarum\Tags\Filter\TagFilter;
use Flarum\Tags\Search\Gambit\FulltextGambit;
use Flarum\Tags\Search\TagSearcher;
use Flarum\Tags\Tag;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Flarum\Search\AbstractSearcher;
use Flarum\Search\FilterManager;
use Flarum\User\User;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\Eloquent\Builder;

class DiscussionSearcher extends AbstractSearcher
Expand Down
9 changes: 7 additions & 2 deletions framework/core/src/Search/AbstractFulltextFilter.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<?php

namespace Flarum\Search;
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/

use Flarum\Search\FilterInterface;
namespace Flarum\Search;

abstract class AbstractFulltextFilter implements FilterInterface
{
Expand Down
2 changes: 1 addition & 1 deletion framework/core/src/Search/SearchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
use Flarum\Foundation\ContainerUtil;
use Flarum\Group\Filter as GroupFilter;
use Flarum\Group\Filter\GroupSearcher;
use Flarum\Http\Filter as HttpFilter;
use Flarum\Http\Filter\AccessTokenSearcher;
use Flarum\Http\Filter as HttpFilter;
use Flarum\Post\Filter as PostFilter;
use Flarum\Post\Filter\PostSearcher;
use Flarum\User\Filter as UserFilter;
Expand Down
1 change: 0 additions & 1 deletion framework/core/src/User/Search/UserSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Flarum\Search\FilterManager;
use Flarum\User\User;
use Flarum\User\UserRepository;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\Eloquent\Builder;

class UserSearcher extends AbstractSearcher
Expand Down

0 comments on commit c81c603

Please sign in to comment.