Skip to content

Commit

Permalink
style: resolve style guide violations
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries authored and actions-user committed Aug 1, 2024
1 parent 198a8aa commit e208775
Show file tree
Hide file tree
Showing 131 changed files with 111 additions and 403 deletions.
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Reader/Buffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Reader;

class Buffer
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Reader/Concerns/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns;

use ArkEcosystem\Crypto\Binary\Hex\Reader;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Reader/Concerns/Integer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns;

use ArkEcosystem\Crypto\Binary\Integer\Reader;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns;

use ArkEcosystem\Crypto\Binary\UnsignedInteger\Reader;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Writer/Buffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Writer;

use ArkEcosystem\Crypto\Binary\Hex\Writer as Hex;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Writer/Concerns/Generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns;

trait Generic
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Writer/Concerns/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns;

use ArkEcosystem\Crypto\Binary\Hex\Writer;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Writer/Concerns/Integer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns;

use ArkEcosystem\Crypto\Binary\Integer\Writer;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns;

use ArkEcosystem\Crypto\Binary\UnsignedInteger\Writer;
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Hex/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Hex;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Hex/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Hex;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Integer/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Integer;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/Integer/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\Integer;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/UnsignedInteger/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\UnsignedInteger;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Binary/UnsignedInteger/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Binary\UnsignedInteger;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/ByteBuffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer;

use InvalidArgumentException;
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/ByteOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer;

class ByteOrder
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Initialisable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

use InvalidArgumentException;
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Offsetable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Positionable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Readable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Reads/Floats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Reads/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Reads/Integer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Reads/Strings.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Reads/UnsignedInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Sizeable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Transformable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

use InvalidArgumentException;
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writeable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writes/Floats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writes/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writes/Integer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writes/Strings.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/Concerns/Writes/UnsignedInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/ByteBuffer/LengthMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\ByteBuffer;

use InvalidArgumentException;
Expand Down
3 changes: 0 additions & 3 deletions src/Configuration/Fee.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Configuration;

use ArkEcosystem\Crypto\Enums\Fees;
use ArkEcosystem\Crypto\Enums\Types;
use PHPUnit\Util\Type;


class Fee
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Configuration/Network.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Configuration;

use ArkEcosystem\Crypto\Networks\AbstractNetwork;
use ArkEcosystem\Crypto\Networks\Devnet;
use BitWasp\Bitcoin\Bitcoin;


class Network
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Enums/Fees.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Enums;


class Fees
{
public const TRANSFER = '10000000';
Expand Down
3 changes: 0 additions & 3 deletions src/Enums/TypeGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Enums;


class TypeGroup
{
public const TEST = 0;
Expand Down
2 changes: 0 additions & 2 deletions src/Enums/Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto\Enums;

use ArkEcosystem\Crypto\Transactions\Types\MultiPayment;
Expand Down
3 changes: 0 additions & 3 deletions src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

declare(strict_types=1);



namespace ArkEcosystem\Crypto;

use ArkEcosystem\Crypto\Configuration\Network;


class Helpers
{
/**
Expand Down
Loading

0 comments on commit e208775

Please sign in to comment.