Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jelleroorda authored and github-actions[bot] committed Jul 8, 2024
1 parent c60eede commit 775aa2b
Show file tree
Hide file tree
Showing 101 changed files with 317 additions and 106 deletions.
4 changes: 3 additions & 1 deletion src/Assets/AssetCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Data\DataCollection;

class AssetCollection extends DataCollection {}
class AssetCollection extends DataCollection
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Assets/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Contracts\Query\Builder;

interface QueryBuilder extends Builder {}
interface QueryBuilder extends Builder
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Data/Localizable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Data;

interface Localizable {}
interface Localizable
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Entries/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Entries;

interface Collection {}
interface Collection
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Entries/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Contracts\Data\Localizable;

interface Entry extends Localizable {}
interface Entry extends Localizable
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Forms/FormRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Forms;

interface FormRepository {}
interface FormRepository
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Routing/UrlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Routing;

interface UrlBuilder {}
interface UrlBuilder
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Structures/CollectionTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Structures;

interface CollectionTree {}
interface CollectionTree
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Structures/Nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Structures;

interface Nav {}
interface Nav
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Structures/NavTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Structures;

interface NavTree {}
interface NavTree
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Structures/Structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Structures;

interface Structure {}
interface Structure
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Structures/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Structures;

interface Tree {}
interface Tree
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Taxonomies/Taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Taxonomies;

interface Taxonomy {}
interface Taxonomy
{
}
4 changes: 3 additions & 1 deletion src/Contracts/Taxonomies/Term.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Contracts\Taxonomies;

interface Term {}
interface Term
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/ApiNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Exceptions;

class ApiNotFoundException extends \Exception {}
class ApiNotFoundException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/FatalException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Bad. Stops the application in its tracks.
*/
class FatalException extends \Exception {}
class FatalException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/FileNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* When a file is not found.
*/
class FileNotFoundException extends \Exception {}
class FileNotFoundException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/InvalidEntryTypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
* When an action for one type of entry is performed on another.
* For example, trying to access the date of an entry when it is ordered numerically.
*/
class InvalidEntryTypeException extends \Exception {}
class InvalidEntryTypeException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/MethodNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* A called method doesn't exist.
*/
class MethodNotFoundException extends \Exception {}
class MethodNotFoundException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/UrlNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Trigger a 404.
*/
class UrlNotFoundException extends \Exception {}
class UrlNotFoundException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Exceptions/UuidExistsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Exceptions;

class UuidExistsException extends \Exception {}
class UuidExistsException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Forms/DeleteTemporaryAttachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class DeleteTemporaryAttachments implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public function __construct(public Submission $submission) {}
public function __construct(public Submission $submission)
{
}

public function handle()
{
Expand Down
4 changes: 3 additions & 1 deletion src/Git/CommitJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class CommitJob implements ShouldQueue
/**
* Create a new job instance.
*/
public function __construct(public $message = null, public $committer = null) {}
public function __construct(public $message = null, public $committer = null)
{
}

/**
* Execute the job.
Expand Down
4 changes: 3 additions & 1 deletion src/Globals/GlobalCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Data\DataCollection;

class GlobalCollection extends DataCollection {}
class GlobalCollection extends DataCollection
{
}
4 changes: 3 additions & 1 deletion src/Globals/VariablesCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Data\DataCollection;

class VariablesCollection extends DataCollection {}
class VariablesCollection extends DataCollection
{
}
4 changes: 3 additions & 1 deletion src/Imaging/AssetNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Imaging;

class AssetNotFoundException extends \Exception {}
class AssetNotFoundException extends \Exception
{
}
3 changes: 2 additions & 1 deletion src/OAuth/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class Provider
public function __construct(
protected string $name,
protected array $config = []
) {}
) {
}

public function getSocialiteUser()
{
Expand Down
4 changes: 3 additions & 1 deletion src/Search/Comb/Exceptions/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Basic Comb exception from which others extend.
*/
class Exception extends \Exception {}
class Exception extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Search/Comb/Exceptions/NoQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Thrown when no query has been asked.
*/
class NoQuery extends Exception {}
class NoQuery extends Exception
{
}
4 changes: 3 additions & 1 deletion src/Search/Comb/Exceptions/NoResultsFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Thrown when no results are found.
*/
class NoResultsFound extends Exception {}
class NoResultsFound extends Exception
{
}
4 changes: 3 additions & 1 deletion src/Search/Comb/Exceptions/NotEnoughCharacters.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Thrown when not enough characters have been entered.
*/
class NotEnoughCharacters extends Exception {}
class NotEnoughCharacters extends Exception
{
}
4 changes: 3 additions & 1 deletion src/Search/Comb/Exceptions/TooManyResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
/**
* Thrown when there are more results than the limit.
*/
class TooManyResults extends Exception {}
class TooManyResults extends Exception
{
}
4 changes: 3 additions & 1 deletion src/Search/IndexNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Search;

class IndexNotFoundException extends \Exception {}
class IndexNotFoundException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Stache/Exceptions/StoreExpiredException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\Stache\Exceptions;

class StoreExpiredException extends \Exception {}
class StoreExpiredException extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Tags/Chunks.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Illuminate\Support\Collection;

class Chunks extends Collection {}
class Chunks extends Collection
{
}
4 changes: 3 additions & 1 deletion src/Taxonomies/TermCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\Data\DataCollection;

class TermCollection extends DataCollection {}
class TermCollection extends DataCollection
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Exceptions/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Exceptions;

class RuntimeException extends AntlersException {}
class RuntimeException extends AntlersException
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Exceptions;

class SyntaxErrorException extends AntlersException {}
class SyntaxErrorException extends AntlersException
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Exceptions;

class VariableAccessException extends RuntimeException {}
class VariableAccessException extends RuntimeException
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/ArithmeticNodeContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Nodes;

interface ArithmeticNodeContract {}
interface ArithmeticNodeContract
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Nodes;

interface AssignmentOperatorNodeContract {}
interface AssignmentOperatorNodeContract
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/Constants/FalseConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\View\Antlers\Language\Nodes\AbstractNode;

class FalseConstant extends AbstractNode {}
class FalseConstant extends AbstractNode
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/Constants/NullConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\View\Antlers\Language\Nodes\AbstractNode;

class NullConstant extends AbstractNode {}
class NullConstant extends AbstractNode
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/Constants/TrueConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

use Statamic\View\Antlers\Language\Nodes\AbstractNode;

class TrueConstant extends AbstractNode {}
class TrueConstant extends AbstractNode
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/LiteralNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Nodes;

class LiteralNode extends AbstractNode {}
class LiteralNode extends AbstractNode
{
}
4 changes: 3 additions & 1 deletion src/View/Antlers/Language/Nodes/OperatorNodeContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Statamic\View\Antlers\Language\Nodes;

interface OperatorNodeContract {}
interface OperatorNodeContract
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
use Statamic\View\Antlers\Language\Nodes\ArithmeticNodeContract;
use Statamic\View\Antlers\Language\Nodes\OperatorNodeContract;

class AdditionOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract {}
class AdditionOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
use Statamic\View\Antlers\Language\Nodes\ArithmeticNodeContract;
use Statamic\View\Antlers\Language\Nodes\OperatorNodeContract;

class DivisionOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract {}
class DivisionOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
use Statamic\View\Antlers\Language\Nodes\ArithmeticNodeContract;
use Statamic\View\Antlers\Language\Nodes\OperatorNodeContract;

class ExponentiationOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract {}
class ExponentiationOperator extends AbstractNode implements ArithmeticNodeContract, OperatorNodeContract
{
}
Loading

0 comments on commit 775aa2b

Please sign in to comment.