Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
askvortsov1 authored and StyleCIBot committed Mar 1, 2021
1 parent c35331d commit 4ccbeda
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Discussion/Search/DiscussionSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Flarum\Discussion\DiscussionRepository;
use Flarum\Discussion\Event\Searching;
use Flarum\Query\QueryCriteria;
use Flarum\Search\AbstractSearcher;
use Flarum\Search\GambitManager;
use Flarum\Query\QueryCriteria;
use Flarum\Search\SearchState;
use Flarum\User\User;
use Illuminate\Contracts\Events\Dispatcher;
Expand Down
11 changes: 10 additions & 1 deletion src/Search/SearchCriteria.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
<?php

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

namespace Flarum\Search;

/**
* @deprecated beta 16, remove beta 17
*/
class SearchCriteria {}
class SearchCriteria
{
}
11 changes: 10 additions & 1 deletion src/Search/SearchResults.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
<?php

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

namespace Flarum\Search;

/**
* @deprecated beta 16, remove beta 17
*/
class SearchResults {}
class SearchResults
{
}
2 changes: 1 addition & 1 deletion src/User/Search/UserSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Flarum\User\Search;

use Flarum\Query\QueryCriteria;
use Flarum\Search\AbstractSearcher;
use Flarum\Search\GambitManager;
use Flarum\Query\QueryCriteria;
use Flarum\Search\SearchState;
use Flarum\User\Event\Searching;
use Flarum\User\User;
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/extenders/SimpleFlarumSearchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
use Carbon\Carbon;
use Flarum\Discussion\Search\DiscussionSearcher;
use Flarum\Extend;
use Flarum\Query\QueryCriteria;
use Flarum\Search\AbstractRegexGambit;
use Flarum\Search\GambitInterface;
use Flarum\Query\QueryCriteria;
use Flarum\Search\SearchState;
use Flarum\Tests\integration\RetrievesAuthorizedUsers;
use Flarum\Tests\integration\TestCase;
Expand Down

0 comments on commit 4ccbeda

Please sign in to comment.