Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann authored and StyleCIBot committed Apr 5, 2021
1 parent c2b31a2 commit 82ab30f
Show file tree
Hide file tree
Showing 29 changed files with 63 additions and 27 deletions.
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion migrations/2016_04_11_182821__create_pages_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion migrations/2016_08_28_180020_add_is_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion migrations/2020_02_26_010000_add_is_restricted.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion migrations/2020_09_09_173600_increase_char_limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Access/ScopePageVisibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Controller/CreatePageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Controller/DeletePageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Controller/ListPagesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Controller/ShowPageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Controller/UpdatePageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Serializer/PageSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/CreatePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/CreatePageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/DeletePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/DeletePageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/EditPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/EditPageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Content/AddHomePageId.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Content/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/PageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/PageValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
11 changes: 10 additions & 1 deletion src/Providers/PageServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of fof/pages.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FoF\Pages\Providers;

use Flarum\Formatter\Formatter;
Expand All @@ -11,7 +20,7 @@ class PageServiceProvider extends AbstractServiceProvider
{
public function boot()
{
$this->container->instance('path.pages', ($this->container->make(Paths::class))->base . DIRECTORY_SEPARATOR . 'pages');
$this->container->instance('path.pages', ($this->container->make(Paths::class))->base.DIRECTORY_SEPARATOR.'pages');

Page::setFormatter($this->container->make(Formatter::class));
}
Expand Down
9 changes: 9 additions & 0 deletions src/Providers/SearchServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of fof/pages.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FoF\Pages\Providers;

use Flarum\Foundation\AbstractServiceProvider;
Expand Down
11 changes: 10 additions & 1 deletion src/Search/NoOpGambit.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of fof/pages.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FoF\Pages\Search;

use Flarum\Filter\FilterInterface;
Expand All @@ -9,7 +18,7 @@

/**
* We need to register at least one gambit for the searcher or filter, but we don't actually have any
* We only configure the searcher/filterer so we can use pagination and for extensions to hook into
* We only configure the searcher/filterer so we can use pagination and for extensions to hook into.
*/
class NoOpGambit implements GambitInterface, FilterInterface
{
Expand Down
9 changes: 9 additions & 0 deletions src/Search/PageFilterer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of fof/pages.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FoF\Pages\Search;

use Flarum\Filter\AbstractFilterer;
Expand Down
2 changes: 1 addition & 1 deletion src/Search/PageSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Util/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/pages.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down

0 comments on commit 82ab30f

Please sign in to comment.