Revert "Apply fixes from StyleCI"

This reverts commit 5ff45a8ea5.
This commit is contained in:
Toby Zerner 2017-09-14 09:06:15 +09:30
parent 148dd1cae1
commit 5c032cdd3a
5 changed files with 8 additions and 7 deletions

View File

@ -9,8 +9,8 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
use Flarum\Database\Migration;
use Flarum\Group\Group; use Flarum\Group\Group;
use Flarum\Database\Migration;
return Migration::addPermissions([ return Migration::addPermissions([
'discussion.startWithoutApproval' => Group::MEMBER_ID, 'discussion.startWithoutApproval' => Group::MEMBER_ID,

View File

@ -11,9 +11,9 @@
namespace Flarum\Approval\Access; namespace Flarum\Approval\Access;
use Flarum\Tags\Tag;
use Flarum\User\AbstractPolicy; use Flarum\User\AbstractPolicy;
use Flarum\User\User; use Flarum\User\User;
use Flarum\Tags\Tag;
class TagPolicy extends AbstractPolicy class TagPolicy extends AbstractPolicy
{ {

View File

@ -11,9 +11,10 @@
namespace Flarum\Approval\Listener; namespace Flarum\Approval\Listener;
use Flarum\Api\Event\Serializing;
use Flarum\Api\Serializer\BasicDiscussionSerializer; use Flarum\Api\Serializer\BasicDiscussionSerializer;
use Flarum\Api\Serializer\BasicPostSerializer;
use Flarum\Api\Serializer\PostSerializer; use Flarum\Api\Serializer\PostSerializer;
use Flarum\Api\Event\Serializing;
use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Events\Dispatcher;
class AddPostApprovalAttributes class AddPostApprovalAttributes

View File

@ -12,8 +12,8 @@
namespace Flarum\Approval\Listener; namespace Flarum\Approval\Listener;
use Flarum\Approval\Event\PostWasApproved; use Flarum\Approval\Event\PostWasApproved;
use Flarum\Post\Event\Saving;
use Flarum\User\AssertPermissionTrait; use Flarum\User\AssertPermissionTrait;
use Flarum\Post\Event\Saving;
use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Events\Dispatcher;
class ApproveContent class ApproveContent

View File

@ -11,10 +11,10 @@
namespace Flarum\Approval\Listener; namespace Flarum\Approval\Listener;
use Flarum\Event\ConfigureModelDefaultAttributes;
use Flarum\Flags\Flag;
use Flarum\Post\Event\Saving;
use Flarum\Post\Post; use Flarum\Post\Post;
use Flarum\Event\ConfigureModelDefaultAttributes;
use Flarum\Post\Event\Saving;
use Flarum\Flags\Flag;
use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Events\Dispatcher;
class UnapproveNewContent class UnapproveNewContent