From e2087756fefa6347d3ace1cb53f29ce6b90aafb4 Mon Sep 17 00:00:00 2001 From: alfonsobries Date: Thu, 1 Aug 2024 15:41:02 +0000 Subject: [PATCH] style: resolve style guide violations --- src/Binary/Buffer/Reader/Buffer.php | 2 -- src/Binary/Buffer/Reader/Concerns/Hex.php | 2 -- src/Binary/Buffer/Reader/Concerns/Integer.php | 2 -- src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php | 2 -- src/Binary/Buffer/Writer/Buffer.php | 2 -- src/Binary/Buffer/Writer/Concerns/Generic.php | 2 -- src/Binary/Buffer/Writer/Concerns/Hex.php | 2 -- src/Binary/Buffer/Writer/Concerns/Integer.php | 2 -- src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php | 2 -- src/Binary/Hex/Reader.php | 2 -- src/Binary/Hex/Writer.php | 2 -- src/Binary/Integer/Reader.php | 2 -- src/Binary/Integer/Writer.php | 2 -- src/Binary/UnsignedInteger/Reader.php | 2 -- src/Binary/UnsignedInteger/Writer.php | 2 -- src/ByteBuffer/ByteBuffer.php | 2 -- src/ByteBuffer/ByteOrder.php | 2 -- src/ByteBuffer/Concerns/Initialisable.php | 2 -- src/ByteBuffer/Concerns/Offsetable.php | 2 -- src/ByteBuffer/Concerns/Positionable.php | 2 -- src/ByteBuffer/Concerns/Readable.php | 2 -- src/ByteBuffer/Concerns/Reads/Floats.php | 2 -- src/ByteBuffer/Concerns/Reads/Hex.php | 2 -- src/ByteBuffer/Concerns/Reads/Integer.php | 2 -- src/ByteBuffer/Concerns/Reads/Strings.php | 2 -- src/ByteBuffer/Concerns/Reads/UnsignedInteger.php | 2 -- src/ByteBuffer/Concerns/Sizeable.php | 2 -- src/ByteBuffer/Concerns/Transformable.php | 2 -- src/ByteBuffer/Concerns/Writeable.php | 2 -- src/ByteBuffer/Concerns/Writes/Floats.php | 2 -- src/ByteBuffer/Concerns/Writes/Hex.php | 2 -- src/ByteBuffer/Concerns/Writes/Integer.php | 2 -- src/ByteBuffer/Concerns/Writes/Strings.php | 2 -- src/ByteBuffer/Concerns/Writes/UnsignedInteger.php | 2 -- src/ByteBuffer/LengthMap.php | 2 -- src/Configuration/Fee.php | 3 --- src/Configuration/Network.php | 3 --- src/Enums/Fees.php | 3 --- src/Enums/TypeGroup.php | 3 --- src/Enums/Types.php | 2 -- src/Helpers.php | 3 --- src/Identities/Address.php | 2 -- src/Identities/PrivateKey.php | 3 --- src/Identities/PublicKey.php | 3 --- src/Identities/WIF.php | 3 --- src/Networks/AbstractNetwork.php | 3 --- src/Networks/Devnet.php | 3 --- src/Networks/Mainnet.php | 3 --- src/Networks/Testnet.php | 3 --- src/Transactions/Builder/AbstractTransactionBuilder.php | 3 --- src/Transactions/Builder/MultiPaymentBuilder.php | 3 --- .../Builder/MultiSignatureRegistrationBuilder.php | 3 --- src/Transactions/Builder/TransferBuilder.php | 3 --- src/Transactions/Builder/UsernameRegistrationBuilder.php | 2 -- src/Transactions/Builder/UsernameResignationBuilder.php | 2 -- src/Transactions/Builder/ValidatorRegistrationBuilder.php | 3 --- src/Transactions/Builder/ValidatorResignationBuilder.php | 3 --- src/Transactions/Builder/VoteBuilder.php | 3 --- src/Transactions/Deserializer.php | 3 --- src/Transactions/Serializer.php | 3 --- src/Transactions/Types/MultiPayment.php | 3 --- src/Transactions/Types/MultiSignatureRegistration.php | 3 --- src/Transactions/Types/Transaction.php | 3 --- src/Transactions/Types/Transfer.php | 3 --- src/Transactions/Types/UsernameRegistration.php | 2 -- src/Transactions/Types/UsernameResignation.php | 2 -- src/Transactions/Types/ValidatorRegistration.php | 3 --- src/Transactions/Types/ValidatorResignation.php | 3 --- src/Transactions/Types/Vote.php | 3 --- src/Utils/Address.php | 2 -- src/Utils/Message.php | 3 --- src/Utils/Slot.php | 3 --- tests/Concerns/Deserialize.php | 2 -- tests/Concerns/Fixtures.php | 2 -- tests/Concerns/Serialize.php | 2 -- tests/TestCase.php | 2 -- tests/Unit/ByteBuffer/ByteBufferTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/InitialisableTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/OffsetableTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/PositionableTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Reads/FloatsTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Reads/HexTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Reads/IntegerTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Reads/StringsTest.php | 6 ++---- .../Unit/ByteBuffer/Concerns/Reads/UnsignedIntegerTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/SizeableTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/TransformableTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Writes/FloatsTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Writes/HexTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Writes/IntegerTest.php | 6 ++---- tests/Unit/ByteBuffer/Concerns/Writes/StringsTest.php | 6 ++---- .../ByteBuffer/Concerns/Writes/UnsignedIntegerTest.php | 6 ++---- tests/Unit/ByteBuffer/LengthMapTest.php | 6 ++---- tests/Unit/Configuration/FeeTest.php | 6 ++---- tests/Unit/Configuration/NetworkTest.php | 6 ++---- tests/Unit/Identities/AddressTest.php | 6 ++---- tests/Unit/Identities/PrivateKeyTest.php | 6 ++---- tests/Unit/Identities/PublicKeyTest.php | 6 ++---- tests/Unit/Identities/WIFTest.php | 6 ++---- tests/Unit/Networks/DevnetTest.php | 6 ++---- tests/Unit/Networks/MainnetTest.php | 7 ++----- tests/Unit/Networks/NetworkTestCase.php | 6 +++--- tests/Unit/Networks/TestnetTest.php | 7 ++----- tests/Unit/Transactions/Builder/MultiPaymentTest.php | 6 ++---- .../Builder/MultiSignatureRegistrationTest.php | 6 ++---- tests/Unit/Transactions/Builder/TransferTest.php | 6 ++---- .../Unit/Transactions/Builder/UsernameRegistrationTest.php | 6 ++---- .../Unit/Transactions/Builder/UsernameResignationTest.php | 6 ++---- .../Transactions/Builder/ValidatorRegistrationTest.php | 6 ++---- .../Unit/Transactions/Builder/ValidatorResignationTest.php | 6 ++---- tests/Unit/Transactions/Builder/VoteTest.php | 6 ++---- tests/Unit/Transactions/Deserializers/MultiPaymentTest.php | 6 ++---- .../Deserializers/MultiSignatureRegistrationTest.php | 6 ++---- tests/Unit/Transactions/Deserializers/TransferTest.php | 6 ++---- .../Deserializers/UsernameRegistrationTest.php | 6 ++---- .../Transactions/Deserializers/UsernameResignationTest.php | 6 ++---- .../Deserializers/ValidatorRegistrationTest.php | 6 ++---- .../Deserializers/ValidatorResignationTest.php | 6 ++---- tests/Unit/Transactions/Deserializers/VoteTest.php | 6 ++---- tests/Unit/Transactions/Serializers/MultiPaymentTest.php | 6 ++---- .../Serializers/MultiSignatureRegistrationTest.php | 6 ++---- tests/Unit/Transactions/Serializers/TransferTest.php | 6 ++---- .../Transactions/Serializers/UsernameRegistrationTest.php | 6 ++---- .../Transactions/Serializers/UsernameResignationTest.php | 6 ++---- .../Transactions/Serializers/ValidatorRegistrationTest.php | 6 ++---- .../Transactions/Serializers/ValidatorResignationTest.php | 6 ++---- tests/Unit/Transactions/Serializers/VoteTest.php | 6 ++---- tests/Unit/Transactions/TransactionTest.php | 6 ++---- tests/Unit/Utils/AddressTest.php | 6 ++---- tests/Unit/Utils/MessageTest.php | 6 ++---- tests/Unit/Utils/SlotTest.php | 6 ++---- 131 files changed, 111 insertions(+), 403 deletions(-) diff --git a/src/Binary/Buffer/Reader/Buffer.php b/src/Binary/Buffer/Reader/Buffer.php index 6c98f9f..1f02005 100644 --- a/src/Binary/Buffer/Reader/Buffer.php +++ b/src/Binary/Buffer/Reader/Buffer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Reader; class Buffer diff --git a/src/Binary/Buffer/Reader/Concerns/Hex.php b/src/Binary/Buffer/Reader/Concerns/Hex.php index c1c8d61..6f7695b 100644 --- a/src/Binary/Buffer/Reader/Concerns/Hex.php +++ b/src/Binary/Buffer/Reader/Concerns/Hex.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns; use ArkEcosystem\Crypto\Binary\Hex\Reader; diff --git a/src/Binary/Buffer/Reader/Concerns/Integer.php b/src/Binary/Buffer/Reader/Concerns/Integer.php index d8ab109..8a58ece 100644 --- a/src/Binary/Buffer/Reader/Concerns/Integer.php +++ b/src/Binary/Buffer/Reader/Concerns/Integer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns; use ArkEcosystem\Crypto\Binary\Integer\Reader; diff --git a/src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php b/src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php index 1928316..c5edea5 100644 --- a/src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php +++ b/src/Binary/Buffer/Reader/Concerns/UnsignedInteger.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Reader\Concerns; use ArkEcosystem\Crypto\Binary\UnsignedInteger\Reader; diff --git a/src/Binary/Buffer/Writer/Buffer.php b/src/Binary/Buffer/Writer/Buffer.php index 6fc1959..6ae0291 100644 --- a/src/Binary/Buffer/Writer/Buffer.php +++ b/src/Binary/Buffer/Writer/Buffer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Writer; use ArkEcosystem\Crypto\Binary\Hex\Writer as Hex; diff --git a/src/Binary/Buffer/Writer/Concerns/Generic.php b/src/Binary/Buffer/Writer/Concerns/Generic.php index 8b15ce3..2e5cf88 100644 --- a/src/Binary/Buffer/Writer/Concerns/Generic.php +++ b/src/Binary/Buffer/Writer/Concerns/Generic.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns; trait Generic diff --git a/src/Binary/Buffer/Writer/Concerns/Hex.php b/src/Binary/Buffer/Writer/Concerns/Hex.php index f48897c..93460c6 100644 --- a/src/Binary/Buffer/Writer/Concerns/Hex.php +++ b/src/Binary/Buffer/Writer/Concerns/Hex.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns; use ArkEcosystem\Crypto\Binary\Hex\Writer; diff --git a/src/Binary/Buffer/Writer/Concerns/Integer.php b/src/Binary/Buffer/Writer/Concerns/Integer.php index ee4f123..e246b65 100644 --- a/src/Binary/Buffer/Writer/Concerns/Integer.php +++ b/src/Binary/Buffer/Writer/Concerns/Integer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns; use ArkEcosystem\Crypto\Binary\Integer\Writer; diff --git a/src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php b/src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php index d45d613..ffdd50b 100644 --- a/src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php +++ b/src/Binary/Buffer/Writer/Concerns/UnsignedInteger.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Buffer\Writer\Concerns; use ArkEcosystem\Crypto\Binary\UnsignedInteger\Writer; diff --git a/src/Binary/Hex/Reader.php b/src/Binary/Hex/Reader.php index 36d764e..105164e 100644 --- a/src/Binary/Hex/Reader.php +++ b/src/Binary/Hex/Reader.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Hex; /** diff --git a/src/Binary/Hex/Writer.php b/src/Binary/Hex/Writer.php index a5150a3..2ce6eb3 100644 --- a/src/Binary/Hex/Writer.php +++ b/src/Binary/Hex/Writer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Hex; /** diff --git a/src/Binary/Integer/Reader.php b/src/Binary/Integer/Reader.php index 236b6f4..a85310b 100644 --- a/src/Binary/Integer/Reader.php +++ b/src/Binary/Integer/Reader.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Integer; /** diff --git a/src/Binary/Integer/Writer.php b/src/Binary/Integer/Writer.php index ac481d9..f1ed60a 100644 --- a/src/Binary/Integer/Writer.php +++ b/src/Binary/Integer/Writer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\Integer; /** diff --git a/src/Binary/UnsignedInteger/Reader.php b/src/Binary/UnsignedInteger/Reader.php index 98c1c62..b490f30 100644 --- a/src/Binary/UnsignedInteger/Reader.php +++ b/src/Binary/UnsignedInteger/Reader.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\UnsignedInteger; /** diff --git a/src/Binary/UnsignedInteger/Writer.php b/src/Binary/UnsignedInteger/Writer.php index 88c7041..eb6c859 100644 --- a/src/Binary/UnsignedInteger/Writer.php +++ b/src/Binary/UnsignedInteger/Writer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Binary\UnsignedInteger; /** diff --git a/src/ByteBuffer/ByteBuffer.php b/src/ByteBuffer/ByteBuffer.php index b4b6f77..a503994 100644 --- a/src/ByteBuffer/ByteBuffer.php +++ b/src/ByteBuffer/ByteBuffer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer; use InvalidArgumentException; diff --git a/src/ByteBuffer/ByteOrder.php b/src/ByteBuffer/ByteOrder.php index c799a54..fa437f8 100644 --- a/src/ByteBuffer/ByteOrder.php +++ b/src/ByteBuffer/ByteOrder.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer; class ByteOrder diff --git a/src/ByteBuffer/Concerns/Initialisable.php b/src/ByteBuffer/Concerns/Initialisable.php index f3b59d2..966f679 100644 --- a/src/ByteBuffer/Concerns/Initialisable.php +++ b/src/ByteBuffer/Concerns/Initialisable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; use InvalidArgumentException; diff --git a/src/ByteBuffer/Concerns/Offsetable.php b/src/ByteBuffer/Concerns/Offsetable.php index 43a63c3..22f5976 100644 --- a/src/ByteBuffer/Concerns/Offsetable.php +++ b/src/ByteBuffer/Concerns/Offsetable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; /** diff --git a/src/ByteBuffer/Concerns/Positionable.php b/src/ByteBuffer/Concerns/Positionable.php index bb0b97c..c7f7cb9 100644 --- a/src/ByteBuffer/Concerns/Positionable.php +++ b/src/ByteBuffer/Concerns/Positionable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; /** diff --git a/src/ByteBuffer/Concerns/Readable.php b/src/ByteBuffer/Concerns/Readable.php index 79163cd..17d6324 100644 --- a/src/ByteBuffer/Concerns/Readable.php +++ b/src/ByteBuffer/Concerns/Readable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; /** diff --git a/src/ByteBuffer/Concerns/Reads/Floats.php b/src/ByteBuffer/Concerns/Reads/Floats.php index d68e7b5..fecc60f 100644 --- a/src/ByteBuffer/Concerns/Reads/Floats.php +++ b/src/ByteBuffer/Concerns/Reads/Floats.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads; /** diff --git a/src/ByteBuffer/Concerns/Reads/Hex.php b/src/ByteBuffer/Concerns/Reads/Hex.php index d510c18..16aaeee 100644 --- a/src/ByteBuffer/Concerns/Reads/Hex.php +++ b/src/ByteBuffer/Concerns/Reads/Hex.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads; /** diff --git a/src/ByteBuffer/Concerns/Reads/Integer.php b/src/ByteBuffer/Concerns/Reads/Integer.php index 47dd904..d92a77b 100644 --- a/src/ByteBuffer/Concerns/Reads/Integer.php +++ b/src/ByteBuffer/Concerns/Reads/Integer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads; /** diff --git a/src/ByteBuffer/Concerns/Reads/Strings.php b/src/ByteBuffer/Concerns/Reads/Strings.php index 270d5d7..bc38836 100644 --- a/src/ByteBuffer/Concerns/Reads/Strings.php +++ b/src/ByteBuffer/Concerns/Reads/Strings.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads; /** diff --git a/src/ByteBuffer/Concerns/Reads/UnsignedInteger.php b/src/ByteBuffer/Concerns/Reads/UnsignedInteger.php index 628f285..48632d8 100644 --- a/src/ByteBuffer/Concerns/Reads/UnsignedInteger.php +++ b/src/ByteBuffer/Concerns/Reads/UnsignedInteger.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads; /** diff --git a/src/ByteBuffer/Concerns/Sizeable.php b/src/ByteBuffer/Concerns/Sizeable.php index 0982447..c133c83 100644 --- a/src/ByteBuffer/Concerns/Sizeable.php +++ b/src/ByteBuffer/Concerns/Sizeable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; /** diff --git a/src/ByteBuffer/Concerns/Transformable.php b/src/ByteBuffer/Concerns/Transformable.php index 22ef9de..6119192 100644 --- a/src/ByteBuffer/Concerns/Transformable.php +++ b/src/ByteBuffer/Concerns/Transformable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; use InvalidArgumentException; diff --git a/src/ByteBuffer/Concerns/Writeable.php b/src/ByteBuffer/Concerns/Writeable.php index b37bb82..fb11b8a 100644 --- a/src/ByteBuffer/Concerns/Writeable.php +++ b/src/ByteBuffer/Concerns/Writeable.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns; /** diff --git a/src/ByteBuffer/Concerns/Writes/Floats.php b/src/ByteBuffer/Concerns/Writes/Floats.php index f0c9882..823578a 100644 --- a/src/ByteBuffer/Concerns/Writes/Floats.php +++ b/src/ByteBuffer/Concerns/Writes/Floats.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes; /** diff --git a/src/ByteBuffer/Concerns/Writes/Hex.php b/src/ByteBuffer/Concerns/Writes/Hex.php index 85286e0..6b8377b 100644 --- a/src/ByteBuffer/Concerns/Writes/Hex.php +++ b/src/ByteBuffer/Concerns/Writes/Hex.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes; /** diff --git a/src/ByteBuffer/Concerns/Writes/Integer.php b/src/ByteBuffer/Concerns/Writes/Integer.php index 06f8ced..5446458 100644 --- a/src/ByteBuffer/Concerns/Writes/Integer.php +++ b/src/ByteBuffer/Concerns/Writes/Integer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes; /** diff --git a/src/ByteBuffer/Concerns/Writes/Strings.php b/src/ByteBuffer/Concerns/Writes/Strings.php index bd10e02..1c55ec4 100644 --- a/src/ByteBuffer/Concerns/Writes/Strings.php +++ b/src/ByteBuffer/Concerns/Writes/Strings.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes; /** diff --git a/src/ByteBuffer/Concerns/Writes/UnsignedInteger.php b/src/ByteBuffer/Concerns/Writes/UnsignedInteger.php index 1e45411..5f1155a 100644 --- a/src/ByteBuffer/Concerns/Writes/UnsignedInteger.php +++ b/src/ByteBuffer/Concerns/Writes/UnsignedInteger.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes; /** diff --git a/src/ByteBuffer/LengthMap.php b/src/ByteBuffer/LengthMap.php index 287f685..7c917c4 100644 --- a/src/ByteBuffer/LengthMap.php +++ b/src/ByteBuffer/LengthMap.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\ByteBuffer; use InvalidArgumentException; diff --git a/src/Configuration/Fee.php b/src/Configuration/Fee.php index db2bc46..fe9b6e7 100644 --- a/src/Configuration/Fee.php +++ b/src/Configuration/Fee.php @@ -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 { /** diff --git a/src/Configuration/Network.php b/src/Configuration/Network.php index 26657a1..8e27309 100644 --- a/src/Configuration/Network.php +++ b/src/Configuration/Network.php @@ -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 { /** diff --git a/src/Enums/Fees.php b/src/Enums/Fees.php index fb7c7bf..1e2e1fd 100644 --- a/src/Enums/Fees.php +++ b/src/Enums/Fees.php @@ -2,11 +2,8 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Enums; - class Fees { public const TRANSFER = '10000000'; diff --git a/src/Enums/TypeGroup.php b/src/Enums/TypeGroup.php index 1801df1..9d7e224 100644 --- a/src/Enums/TypeGroup.php +++ b/src/Enums/TypeGroup.php @@ -2,11 +2,8 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Enums; - class TypeGroup { public const TEST = 0; diff --git a/src/Enums/Types.php b/src/Enums/Types.php index 7fbd8a7..753fb20 100644 --- a/src/Enums/Types.php +++ b/src/Enums/Types.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Enums; use ArkEcosystem\Crypto\Transactions\Types\MultiPayment; diff --git a/src/Helpers.php b/src/Helpers.php index 41c993e..62fd962 100644 --- a/src/Helpers.php +++ b/src/Helpers.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto; use ArkEcosystem\Crypto\Configuration\Network; - class Helpers { /** diff --git a/src/Identities/Address.php b/src/Identities/Address.php index ec45000..61da07c 100644 --- a/src/Identities/Address.php +++ b/src/Identities/Address.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Identities; use ArkEcosystem\Crypto\Networks\AbstractNetwork; diff --git a/src/Identities/PrivateKey.php b/src/Identities/PrivateKey.php index 1078c6f..16032fb 100644 --- a/src/Identities/PrivateKey.php +++ b/src/Identities/PrivateKey.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Identities; use ArkEcosystem\Crypto\Networks\AbstractNetwork; @@ -14,7 +12,6 @@ use BitWasp\Bitcoin\Key\Factory\PrivateKeyFactory; use BitWasp\Buffertools\Buffer; - class PrivateKey { /** diff --git a/src/Identities/PublicKey.php b/src/Identities/PublicKey.php index 7ab6d6c..01acfb3 100644 --- a/src/Identities/PublicKey.php +++ b/src/Identities/PublicKey.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Identities; use BitWasp\Bitcoin\Bitcoin; @@ -12,7 +10,6 @@ use BitWasp\Bitcoin\Key\Factory\PublicKeyFactory; use Elliptic\EC; - class PublicKey { /** diff --git a/src/Identities/WIF.php b/src/Identities/WIF.php index 3af0ad6..03f4dbb 100644 --- a/src/Identities/WIF.php +++ b/src/Identities/WIF.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Identities; use ArkEcosystem\Crypto\Networks\AbstractNetwork; - class WIF { /** diff --git a/src/Networks/AbstractNetwork.php b/src/Networks/AbstractNetwork.php index 86a027e..a37077e 100644 --- a/src/Networks/AbstractNetwork.php +++ b/src/Networks/AbstractNetwork.php @@ -2,14 +2,11 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Networks; use BitWasp\Bitcoin\Network\Network; use BitWasp\Bitcoin\Script\ScriptType; - abstract class AbstractNetwork extends Network { /** diff --git a/src/Networks/Devnet.php b/src/Networks/Devnet.php index 7877279..313ce22 100644 --- a/src/Networks/Devnet.php +++ b/src/Networks/Devnet.php @@ -2,11 +2,8 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Networks; - class Devnet extends AbstractNetwork { /** diff --git a/src/Networks/Mainnet.php b/src/Networks/Mainnet.php index 752dabc..5a76192 100644 --- a/src/Networks/Mainnet.php +++ b/src/Networks/Mainnet.php @@ -2,11 +2,8 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Networks; - class Mainnet extends AbstractNetwork { /** diff --git a/src/Networks/Testnet.php b/src/Networks/Testnet.php index 2f77067..0ee1d1a 100644 --- a/src/Networks/Testnet.php +++ b/src/Networks/Testnet.php @@ -2,11 +2,8 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Networks; - class Testnet extends AbstractNetwork { /** diff --git a/src/Transactions/Builder/AbstractTransactionBuilder.php b/src/Transactions/Builder/AbstractTransactionBuilder.php index ff28f47..9b98c73 100644 --- a/src/Transactions/Builder/AbstractTransactionBuilder.php +++ b/src/Transactions/Builder/AbstractTransactionBuilder.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Configuration\Fee; @@ -11,7 +9,6 @@ use ArkEcosystem\Crypto\Identities\PrivateKey; use ArkEcosystem\Crypto\Transactions\Types\Transaction; - abstract class AbstractTransactionBuilder { public $transaction; diff --git a/src/Transactions/Builder/MultiPaymentBuilder.php b/src/Transactions/Builder/MultiPaymentBuilder.php index 5cea80b..18c7a48 100644 --- a/src/Transactions/Builder/MultiPaymentBuilder.php +++ b/src/Transactions/Builder/MultiPaymentBuilder.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\MultiPayment; - class MultiPaymentBuilder extends AbstractTransactionBuilder { /** diff --git a/src/Transactions/Builder/MultiSignatureRegistrationBuilder.php b/src/Transactions/Builder/MultiSignatureRegistrationBuilder.php index f760221..838f4d7 100644 --- a/src/Transactions/Builder/MultiSignatureRegistrationBuilder.php +++ b/src/Transactions/Builder/MultiSignatureRegistrationBuilder.php @@ -2,14 +2,11 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration; use Illuminate\Support\Arr; - class MultiSignatureRegistrationBuilder extends AbstractTransactionBuilder { /** diff --git a/src/Transactions/Builder/TransferBuilder.php b/src/Transactions/Builder/TransferBuilder.php index ae38ae5..412e4fd 100644 --- a/src/Transactions/Builder/TransferBuilder.php +++ b/src/Transactions/Builder/TransferBuilder.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\Transfer; - class TransferBuilder extends AbstractTransactionBuilder { public function __construct() diff --git a/src/Transactions/Builder/UsernameRegistrationBuilder.php b/src/Transactions/Builder/UsernameRegistrationBuilder.php index e3bf559..85d7502 100644 --- a/src/Transactions/Builder/UsernameRegistrationBuilder.php +++ b/src/Transactions/Builder/UsernameRegistrationBuilder.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration; diff --git a/src/Transactions/Builder/UsernameResignationBuilder.php b/src/Transactions/Builder/UsernameResignationBuilder.php index 7df4d74..40b0fed 100644 --- a/src/Transactions/Builder/UsernameResignationBuilder.php +++ b/src/Transactions/Builder/UsernameResignationBuilder.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\UsernameResignation; diff --git a/src/Transactions/Builder/ValidatorRegistrationBuilder.php b/src/Transactions/Builder/ValidatorRegistrationBuilder.php index 6030547..3dce486 100644 --- a/src/Transactions/Builder/ValidatorRegistrationBuilder.php +++ b/src/Transactions/Builder/ValidatorRegistrationBuilder.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration; - class ValidatorRegistrationBuilder extends AbstractTransactionBuilder { /** diff --git a/src/Transactions/Builder/ValidatorResignationBuilder.php b/src/Transactions/Builder/ValidatorResignationBuilder.php index a254577..428e8c6 100644 --- a/src/Transactions/Builder/ValidatorResignationBuilder.php +++ b/src/Transactions/Builder/ValidatorResignationBuilder.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation; - class ValidatorResignationBuilder extends AbstractTransactionBuilder { protected function getType(): int diff --git a/src/Transactions/Builder/VoteBuilder.php b/src/Transactions/Builder/VoteBuilder.php index ef23948..71dbc74 100644 --- a/src/Transactions/Builder/VoteBuilder.php +++ b/src/Transactions/Builder/VoteBuilder.php @@ -2,15 +2,12 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Builder; use ArkEcosystem\Crypto\Configuration\Network; use ArkEcosystem\Crypto\Identities\Address; use ArkEcosystem\Crypto\Transactions\Types\Vote; - class VoteBuilder extends AbstractTransactionBuilder { /** diff --git a/src/Transactions/Deserializer.php b/src/Transactions/Deserializer.php index b31a91f..76fb9a2 100644 --- a/src/Transactions/Deserializer.php +++ b/src/Transactions/Deserializer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; @@ -11,7 +9,6 @@ use ArkEcosystem\Crypto\Transactions\Types\Transaction; use BitWasp\Bitcoin\Crypto\Hash; - class Deserializer { private ByteBuffer $buffer; diff --git a/src/Transactions/Serializer.php b/src/Transactions/Serializer.php index 8f7634a..fe3d625 100644 --- a/src/Transactions/Serializer.php +++ b/src/Transactions/Serializer.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; @@ -12,7 +10,6 @@ use ArkEcosystem\Crypto\Transactions\Types\Transaction; use BitWasp\Buffertools\Buffer; - class Serializer { public Transaction $transaction; diff --git a/src/Transactions/Types/MultiPayment.php b/src/Transactions/Types/MultiPayment.php index 56cde7a..569c5d7 100644 --- a/src/Transactions/Types/MultiPayment.php +++ b/src/Transactions/Types/MultiPayment.php @@ -2,14 +2,11 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use ArkEcosystem\Crypto\Utils\Address; - class MultiPayment extends Transaction { /** diff --git a/src/Transactions/Types/MultiSignatureRegistration.php b/src/Transactions/Types/MultiSignatureRegistration.php index 4500e5c..460b550 100644 --- a/src/Transactions/Types/MultiSignatureRegistration.php +++ b/src/Transactions/Types/MultiSignatureRegistration.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; - class MultiSignatureRegistration extends Transaction { public function serializeData(array $options = []): ByteBuffer diff --git a/src/Transactions/Types/Transaction.php b/src/Transactions/Types/Transaction.php index f15c5c7..7e4e622 100644 --- a/src/Transactions/Types/Transaction.php +++ b/src/Transactions/Types/Transaction.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; @@ -13,7 +11,6 @@ use BitWasp\Bitcoin\Crypto\Hash; use BitWasp\Buffertools\Buffer; - abstract class Transaction { /** diff --git a/src/Transactions/Types/Transfer.php b/src/Transactions/Types/Transfer.php index bd66ce7..7fcc8f2 100644 --- a/src/Transactions/Types/Transfer.php +++ b/src/Transactions/Types/Transfer.php @@ -2,14 +2,11 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use ArkEcosystem\Crypto\Utils\Address; - class Transfer extends Transaction { public function serializeData(array $options = []): ByteBuffer diff --git a/src/Transactions/Types/UsernameRegistration.php b/src/Transactions/Types/UsernameRegistration.php index 2bc038a..38f4148 100644 --- a/src/Transactions/Types/UsernameRegistration.php +++ b/src/Transactions/Types/UsernameRegistration.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; diff --git a/src/Transactions/Types/UsernameResignation.php b/src/Transactions/Types/UsernameResignation.php index d86e5a7..0b9b7a9 100644 --- a/src/Transactions/Types/UsernameResignation.php +++ b/src/Transactions/Types/UsernameResignation.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; diff --git a/src/Transactions/Types/ValidatorRegistration.php b/src/Transactions/Types/ValidatorRegistration.php index 4b19222..f8cc8bc 100644 --- a/src/Transactions/Types/ValidatorRegistration.php +++ b/src/Transactions/Types/ValidatorRegistration.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; - class ValidatorRegistration extends Transaction { public function serializeData(array $options = []): ByteBuffer diff --git a/src/Transactions/Types/ValidatorResignation.php b/src/Transactions/Types/ValidatorResignation.php index 694ef0c..80332f3 100644 --- a/src/Transactions/Types/ValidatorResignation.php +++ b/src/Transactions/Types/ValidatorResignation.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; - class ValidatorResignation extends Transaction { public function serializeData(array $options = []): ByteBuffer diff --git a/src/Transactions/Types/Vote.php b/src/Transactions/Types/Vote.php index f3e2a2a..61ed67e 100644 --- a/src/Transactions/Types/Vote.php +++ b/src/Transactions/Types/Vote.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Transactions\Types; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; - class Vote extends Transaction { public function serializeData(array $options = []): ByteBuffer diff --git a/src/Utils/Address.php b/src/Utils/Address.php index b01c070..880e09d 100644 --- a/src/Utils/Address.php +++ b/src/Utils/Address.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Utils; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; diff --git a/src/Utils/Message.php b/src/Utils/Message.php index ecd6c48..30d648c 100644 --- a/src/Utils/Message.php +++ b/src/Utils/Message.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Utils; use ArkEcosystem\Crypto\Identities\PrivateKey; @@ -13,7 +11,6 @@ use BitWasp\Buffertools\Buffer; use InvalidArgumentException; - class Message { /** diff --git a/src/Utils/Slot.php b/src/Utils/Slot.php index 0399789..1a27b62 100644 --- a/src/Utils/Slot.php +++ b/src/Utils/Slot.php @@ -2,13 +2,10 @@ declare(strict_types=1); - - namespace ArkEcosystem\Crypto\Utils; use ArkEcosystem\Crypto\Configuration\Network; - class Slot { /** diff --git a/tests/Concerns/Deserialize.php b/tests/Concerns/Deserialize.php index 2fecbdb..df43e61 100644 --- a/tests/Concerns/Deserialize.php +++ b/tests/Concerns/Deserialize.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns; use ArkEcosystem\Crypto\Transactions\Deserializer; diff --git a/tests/Concerns/Fixtures.php b/tests/Concerns/Fixtures.php index ad4fe14..ded3c35 100644 --- a/tests/Concerns/Fixtures.php +++ b/tests/Concerns/Fixtures.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns; trait Fixtures diff --git a/tests/Concerns/Serialize.php b/tests/Concerns/Serialize.php index aa78e41..f67f2e0 100644 --- a/tests/Concerns/Serialize.php +++ b/tests/Concerns/Serialize.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns; use ArkEcosystem\Crypto\Enums\Types; diff --git a/tests/TestCase.php b/tests/TestCase.php index 8e54e9e..9d3d4fc 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto; use ArkEcosystem\Crypto\Configuration\Network; diff --git a/tests/Unit/ByteBuffer/ByteBufferTest.php b/tests/Unit/ByteBuffer/ByteBufferTest.php index 4d188f8..a8728ef 100644 --- a/tests/Unit/ByteBuffer/ByteBufferTest.php +++ b/tests/Unit/ByteBuffer/ByteBufferTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\ByteBuffer - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\ByteBuffer + */ class ByteBufferTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/InitialisableTest.php b/tests/Unit/ByteBuffer/Concerns/InitialisableTest.php index 8f48f21..8d75d5a 100644 --- a/tests/Unit/ByteBuffer/Concerns/InitialisableTest.php +++ b/tests/Unit/ByteBuffer/Concerns/InitialisableTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Initialisable - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Initialisable + */ class InitialisableTest extends TestCase { private $expected = '48656c6c6f20576f726c6420f09f9884'; diff --git a/tests/Unit/ByteBuffer/Concerns/OffsetableTest.php b/tests/Unit/ByteBuffer/Concerns/OffsetableTest.php index e51a6d1..bd6152b 100644 --- a/tests/Unit/ByteBuffer/Concerns/OffsetableTest.php +++ b/tests/Unit/ByteBuffer/Concerns/OffsetableTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Offsetable - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Offsetable + */ class OffsetableTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/PositionableTest.php b/tests/Unit/ByteBuffer/Concerns/PositionableTest.php index 8c87926..5020330 100644 --- a/tests/Unit/ByteBuffer/Concerns/PositionableTest.php +++ b/tests/Unit/ByteBuffer/Concerns/PositionableTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Positionable - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Positionable + */ class PositionableTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Reads/FloatsTest.php b/tests/Unit/ByteBuffer/Concerns/Reads/FloatsTest.php index 8107cea..0e1f1b3 100644 --- a/tests/Unit/ByteBuffer/Concerns/Reads/FloatsTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Reads/FloatsTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Floats - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Floats + */ class FloatsTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Reads/HexTest.php b/tests/Unit/ByteBuffer/Concerns/Reads/HexTest.php index 40589e8..5ef81ad 100644 --- a/tests/Unit/ByteBuffer/Concerns/Reads/HexTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Reads/HexTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Hex - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Hex + */ class HexTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Reads/IntegerTest.php b/tests/Unit/ByteBuffer/Concerns/Reads/IntegerTest.php index 0216c58..89bd832 100644 --- a/tests/Unit/ByteBuffer/Concerns/Reads/IntegerTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Reads/IntegerTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Integer - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Integer + */ class IntegerTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Reads/StringsTest.php b/tests/Unit/ByteBuffer/Concerns/Reads/StringsTest.php index ba296ae..64f33e8 100644 --- a/tests/Unit/ByteBuffer/Concerns/Reads/StringsTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Reads/StringsTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Strings - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\Strings + */ class StringsTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Reads/UnsignedIntegerTest.php b/tests/Unit/ByteBuffer/Concerns/Reads/UnsignedIntegerTest.php index 32f9309..2b666d0 100644 --- a/tests/Unit/ByteBuffer/Concerns/Reads/UnsignedIntegerTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Reads/UnsignedIntegerTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\UnsignedInteger - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Reads\UnsignedInteger + */ class UnsignedIntegerTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/SizeableTest.php b/tests/Unit/ByteBuffer/Concerns/SizeableTest.php index 1941731..5bbb5f6 100644 --- a/tests/Unit/ByteBuffer/Concerns/SizeableTest.php +++ b/tests/Unit/ByteBuffer/Concerns/SizeableTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Sizeable - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Sizeable + */ class SizeableTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/TransformableTest.php b/tests/Unit/ByteBuffer/Concerns/TransformableTest.php index 91783c7..452b910 100644 --- a/tests/Unit/ByteBuffer/Concerns/TransformableTest.php +++ b/tests/Unit/ByteBuffer/Concerns/TransformableTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Reads; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Transformable - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Transformable + */ class TransformableTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Writes/FloatsTest.php b/tests/Unit/ByteBuffer/Concerns/Writes/FloatsTest.php index f9511c0..8eddd52 100644 --- a/tests/Unit/ByteBuffer/Concerns/Writes/FloatsTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Writes/FloatsTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Writes; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Floats - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Floats + */ class FloatsTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Writes/HexTest.php b/tests/Unit/ByteBuffer/Concerns/Writes/HexTest.php index 70ec9a7..1a04663 100644 --- a/tests/Unit/ByteBuffer/Concerns/Writes/HexTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Writes/HexTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Writes; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Hex - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Hex + */ class HexTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Writes/IntegerTest.php b/tests/Unit/ByteBuffer/Concerns/Writes/IntegerTest.php index e4b06c3..6ff9654 100644 --- a/tests/Unit/ByteBuffer/Concerns/Writes/IntegerTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Writes/IntegerTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Writes; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Integer - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Integer + */ class IntegerTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Writes/StringsTest.php b/tests/Unit/ByteBuffer/Concerns/Writes/StringsTest.php index f7a1e16..508ee8a 100644 --- a/tests/Unit/ByteBuffer/Concerns/Writes/StringsTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Writes/StringsTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Writes; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Strings - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\Strings + */ class StringsTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/Concerns/Writes/UnsignedIntegerTest.php b/tests/Unit/ByteBuffer/Concerns/Writes/UnsignedIntegerTest.php index 7727c13..fbcaa34 100644 --- a/tests/Unit/ByteBuffer/Concerns/Writes/UnsignedIntegerTest.php +++ b/tests/Unit/ByteBuffer/Concerns/Writes/UnsignedIntegerTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Concerns\Writes; use ArkEcosystem\Crypto\ByteBuffer\ByteBuffer; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\UnsignedInteger - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\Concerns\Writes\UnsignedInteger + */ class UnsignedIntegerTest extends TestCase { /** @test */ diff --git a/tests/Unit/ByteBuffer/LengthMapTest.php b/tests/Unit/ByteBuffer/LengthMapTest.php index 5fc227d..a268849 100644 --- a/tests/Unit/ByteBuffer/LengthMapTest.php +++ b/tests/Unit/ByteBuffer/LengthMapTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto; use ArkEcosystem\Crypto\ByteBuffer\LengthMap; use PHPUnit\Framework\TestCase; /** - * @covers \ArkEcosystem\Crypto\ByteBuffer\LengthMap - */ + * @covers \ArkEcosystem\Crypto\ByteBuffer\LengthMap + */ class LengthMapTest extends TestCase { /** @test */ diff --git a/tests/Unit/Configuration/FeeTest.php b/tests/Unit/Configuration/FeeTest.php index de031d6..654c833 100644 --- a/tests/Unit/Configuration/FeeTest.php +++ b/tests/Unit/Configuration/FeeTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Managers; use ArkEcosystem\Crypto\Configuration\Fee; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Configuration\Fee - */ + * @covers \ArkEcosystem\Crypto\Configuration\Fee + */ class FeeTest extends TestCase { /** @test */ diff --git a/tests/Unit/Configuration/NetworkTest.php b/tests/Unit/Configuration/NetworkTest.php index 8659e03..e02e75a 100644 --- a/tests/Unit/Configuration/NetworkTest.php +++ b/tests/Unit/Configuration/NetworkTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Managers; use ArkEcosystem\Crypto\Configuration\Network; @@ -13,8 +11,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Configuration\Network - */ + * @covers \ArkEcosystem\Crypto\Configuration\Network + */ class NetworkTest extends TestCase { /** @test */ diff --git a/tests/Unit/Identities/AddressTest.php b/tests/Unit/Identities/AddressTest.php index 285e6dd..d1c8ba0 100644 --- a/tests/Unit/Identities/AddressTest.php +++ b/tests/Unit/Identities/AddressTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Identities; use ArkEcosystem\Crypto\Configuration\Network; @@ -13,8 +11,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Identities\Address - */ + * @covers \ArkEcosystem\Crypto\Identities\Address + */ class AddressTest extends TestCase { protected function setUp(): void diff --git a/tests/Unit/Identities/PrivateKeyTest.php b/tests/Unit/Identities/PrivateKeyTest.php index 44b5d8f..d718595 100644 --- a/tests/Unit/Identities/PrivateKeyTest.php +++ b/tests/Unit/Identities/PrivateKeyTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Identities; use ArkEcosystem\Crypto\Identities\PrivateKey as TestClass; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Identities\PrivateKey - */ + * @covers \ArkEcosystem\Crypto\Identities\PrivateKey + */ class PrivateKeyTest extends TestCase { /** @test */ diff --git a/tests/Unit/Identities/PublicKeyTest.php b/tests/Unit/Identities/PublicKeyTest.php index 50dca41..91a7bb1 100644 --- a/tests/Unit/Identities/PublicKeyTest.php +++ b/tests/Unit/Identities/PublicKeyTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Identities; use ArkEcosystem\Crypto\Identities\PublicKey as TestClass; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Identities\PublicKey - */ + * @covers \ArkEcosystem\Crypto\Identities\PublicKey + */ class PublicKeyTest extends TestCase { /** @test */ diff --git a/tests/Unit/Identities/WIFTest.php b/tests/Unit/Identities/WIFTest.php index 073ac80..d989b98 100644 --- a/tests/Unit/Identities/WIFTest.php +++ b/tests/Unit/Identities/WIFTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Identities; use ArkEcosystem\Crypto\Identities\WIF as TestClass; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Identities\WIF - */ + * @covers \ArkEcosystem\Crypto\Identities\WIF + */ class WIFTest extends TestCase { /** @test */ diff --git a/tests/Unit/Networks/DevnetTest.php b/tests/Unit/Networks/DevnetTest.php index 1434962..129d444 100644 --- a/tests/Unit/Networks/DevnetTest.php +++ b/tests/Unit/Networks/DevnetTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Networks; use ArkEcosystem\Crypto\Networks\Devnet; /** - * @covers \ArkEcosystem\Crypto\Networks\Devnet - */ + * @covers \ArkEcosystem\Crypto\Networks\Devnet + */ class DevnetTest extends NetworkTestCase { protected $epoch = '2017-03-21T13:00:00.000Z'; diff --git a/tests/Unit/Networks/MainnetTest.php b/tests/Unit/Networks/MainnetTest.php index 672976e..05e36b8 100644 --- a/tests/Unit/Networks/MainnetTest.php +++ b/tests/Unit/Networks/MainnetTest.php @@ -2,16 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Networks; use ArkEcosystem\Crypto\Networks\Mainnet; -use BitWasp\Bitcoin\Network\Network; /** - * @covers \ArkEcosystem\Crypto\Networks\Mainnet - */ + * @covers \ArkEcosystem\Crypto\Networks\Mainnet + */ class MainnetTest extends NetworkTestCase { protected $epoch = '2017-03-21T13:00:00.000Z'; diff --git a/tests/Unit/Networks/NetworkTestCase.php b/tests/Unit/Networks/NetworkTestCase.php index e8b1bb9..6ab84ac 100644 --- a/tests/Unit/Networks/NetworkTestCase.php +++ b/tests/Unit/Networks/NetworkTestCase.php @@ -2,13 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Networks; use ArkEcosystem\Tests\Crypto\TestCase; - +/** + * @coversNothing + */ class NetworkTestCase extends TestCase { /** @test */ diff --git a/tests/Unit/Networks/TestnetTest.php b/tests/Unit/Networks/TestnetTest.php index ef3408f..b8ad0cc 100644 --- a/tests/Unit/Networks/TestnetTest.php +++ b/tests/Unit/Networks/TestnetTest.php @@ -2,16 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Networks; use ArkEcosystem\Crypto\Networks\Testnet; -use BitWasp\Bitcoin\Network\Network; /** - * @covers \ArkEcosystem\Crypto\Networks\Testnet - */ + * @covers \ArkEcosystem\Crypto\Networks\Testnet + */ class TestnetTest extends NetworkTestCase { protected $epoch = '2017-03-21T13:00:00.000Z'; diff --git a/tests/Unit/Transactions/Builder/MultiPaymentTest.php b/tests/Unit/Transactions/Builder/MultiPaymentTest.php index 5485194..02d31ad 100644 --- a/tests/Unit/Transactions/Builder/MultiPaymentTest.php +++ b/tests/Unit/Transactions/Builder/MultiPaymentTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\MultiPaymentBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\MultiPaymentBuilder + */ class MultiPaymentTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/MultiSignatureRegistrationTest.php b/tests/Unit/Transactions/Builder/MultiSignatureRegistrationTest.php index 43468af..ae56e3f 100644 --- a/tests/Unit/Transactions/Builder/MultiSignatureRegistrationTest.php +++ b/tests/Unit/Transactions/Builder/MultiSignatureRegistrationTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\MultiSignatureRegistrationBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\MultiSignatureRegistrationBuilder + */ class MultiSignatureRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/TransferTest.php b/tests/Unit/Transactions/Builder/TransferTest.php index ddff52f..f49cdd0 100644 --- a/tests/Unit/Transactions/Builder/TransferTest.php +++ b/tests/Unit/Transactions/Builder/TransferTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\TransferBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\TransferBuilder + */ class TransferTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/UsernameRegistrationTest.php b/tests/Unit/Transactions/Builder/UsernameRegistrationTest.php index 82c2a38..448124e 100644 --- a/tests/Unit/Transactions/Builder/UsernameRegistrationTest.php +++ b/tests/Unit/Transactions/Builder/UsernameRegistrationTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\UsernameRegistrationBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\UsernameRegistrationBuilder + */ class UsernameRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/UsernameResignationTest.php b/tests/Unit/Transactions/Builder/UsernameResignationTest.php index 4aadd21..3c45c8b 100644 --- a/tests/Unit/Transactions/Builder/UsernameResignationTest.php +++ b/tests/Unit/Transactions/Builder/UsernameResignationTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\UsernameResignationBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\UsernameResignationBuilder + */ class UsernameResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/ValidatorRegistrationTest.php b/tests/Unit/Transactions/Builder/ValidatorRegistrationTest.php index 6860268..1f68b0d 100644 --- a/tests/Unit/Transactions/Builder/ValidatorRegistrationTest.php +++ b/tests/Unit/Transactions/Builder/ValidatorRegistrationTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\ValidatorRegistrationBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\ValidatorRegistrationBuilder + */ class ValidatorRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/ValidatorResignationTest.php b/tests/Unit/Transactions/Builder/ValidatorResignationTest.php index 46ba579..cbe59be 100644 --- a/tests/Unit/Transactions/Builder/ValidatorResignationTest.php +++ b/tests/Unit/Transactions/Builder/ValidatorResignationTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\ValidatorResignationBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\ValidatorResignationBuilder + */ class ValidatorResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Builder/VoteTest.php b/tests/Unit/Transactions/Builder/VoteTest.php index 162d28f..a2dc3d6 100644 --- a/tests/Unit/Transactions/Builder/VoteTest.php +++ b/tests/Unit/Transactions/Builder/VoteTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Builder; use ArkEcosystem\Crypto\Identities\PublicKey; @@ -11,8 +9,8 @@ use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Builder\VoteBuilder - */ + * @covers \ArkEcosystem\Crypto\Transactions\Builder\VoteBuilder + */ class VoteTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/MultiPaymentTest.php b/tests/Unit/Transactions/Deserializers/MultiPaymentTest.php index db51798..f99d359 100644 --- a/tests/Unit/Transactions/Deserializers/MultiPaymentTest.php +++ b/tests/Unit/Transactions/Deserializers/MultiPaymentTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\MultiPayment; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiPayment - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiPayment + */ class MultiPaymentTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/MultiSignatureRegistrationTest.php b/tests/Unit/Transactions/Deserializers/MultiSignatureRegistrationTest.php index 397ddf0..172b8fd 100644 --- a/tests/Unit/Transactions/Deserializers/MultiSignatureRegistrationTest.php +++ b/tests/Unit/Transactions/Deserializers/MultiSignatureRegistrationTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration + */ class MultiSignatureRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/TransferTest.php b/tests/Unit/Transactions/Deserializers/TransferTest.php index 91f572a..5c7866b 100644 --- a/tests/Unit/Transactions/Deserializers/TransferTest.php +++ b/tests/Unit/Transactions/Deserializers/TransferTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\Transfer; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\Transfer - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\Transfer + */ class TransferTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/UsernameRegistrationTest.php b/tests/Unit/Transactions/Deserializers/UsernameRegistrationTest.php index e44887d..94688cd 100644 --- a/tests/Unit/Transactions/Deserializers/UsernameRegistrationTest.php +++ b/tests/Unit/Transactions/Deserializers/UsernameRegistrationTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration + */ class UsernameRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/UsernameResignationTest.php b/tests/Unit/Transactions/Deserializers/UsernameResignationTest.php index a8ca6c0..022652b 100644 --- a/tests/Unit/Transactions/Deserializers/UsernameResignationTest.php +++ b/tests/Unit/Transactions/Deserializers/UsernameResignationTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\UsernameResignation; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameResignation - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameResignation + */ class UsernameResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/ValidatorRegistrationTest.php b/tests/Unit/Transactions/Deserializers/ValidatorRegistrationTest.php index 50e1087..c57b6a1 100644 --- a/tests/Unit/Transactions/Deserializers/ValidatorRegistrationTest.php +++ b/tests/Unit/Transactions/Deserializers/ValidatorRegistrationTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration + */ class ValidatorRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/ValidatorResignationTest.php b/tests/Unit/Transactions/Deserializers/ValidatorResignationTest.php index 760dbb1..d2b9fb9 100644 --- a/tests/Unit/Transactions/Deserializers/ValidatorResignationTest.php +++ b/tests/Unit/Transactions/Deserializers/ValidatorResignationTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation + */ class ValidatorResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Deserializers/VoteTest.php b/tests/Unit/Transactions/Deserializers/VoteTest.php index b58d212..932dd05 100644 --- a/tests/Unit/Transactions/Deserializers/VoteTest.php +++ b/tests/Unit/Transactions/Deserializers/VoteTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Deserializers; use ArkEcosystem\Crypto\Transactions\Types\Vote; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\Vote - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\Vote + */ class VoteTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/MultiPaymentTest.php b/tests/Unit/Transactions/Serializers/MultiPaymentTest.php index 499a82c..d21e8a9 100644 --- a/tests/Unit/Transactions/Serializers/MultiPaymentTest.php +++ b/tests/Unit/Transactions/Serializers/MultiPaymentTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiPayment - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiPayment + */ class MultiPaymentTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/MultiSignatureRegistrationTest.php b/tests/Unit/Transactions/Serializers/MultiSignatureRegistrationTest.php index ce517d1..9d0e8f4 100644 --- a/tests/Unit/Transactions/Serializers/MultiSignatureRegistrationTest.php +++ b/tests/Unit/Transactions/Serializers/MultiSignatureRegistrationTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\MultiSignatureRegistration + */ class MultiSignatureRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/TransferTest.php b/tests/Unit/Transactions/Serializers/TransferTest.php index 0bdeb94..74484e0 100644 --- a/tests/Unit/Transactions/Serializers/TransferTest.php +++ b/tests/Unit/Transactions/Serializers/TransferTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\Transfer - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\Transfer + */ class TransferTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/UsernameRegistrationTest.php b/tests/Unit/Transactions/Serializers/UsernameRegistrationTest.php index 15920d3..e0a6d48 100644 --- a/tests/Unit/Transactions/Serializers/UsernameRegistrationTest.php +++ b/tests/Unit/Transactions/Serializers/UsernameRegistrationTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration + */ class UsernameRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/UsernameResignationTest.php b/tests/Unit/Transactions/Serializers/UsernameResignationTest.php index 5895454..efd21fa 100644 --- a/tests/Unit/Transactions/Serializers/UsernameResignationTest.php +++ b/tests/Unit/Transactions/Serializers/UsernameResignationTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameResignation - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\UsernameResignation + */ class UsernameResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/ValidatorRegistrationTest.php b/tests/Unit/Transactions/Serializers/ValidatorRegistrationTest.php index b7ff323..e2e4aa5 100644 --- a/tests/Unit/Transactions/Serializers/ValidatorRegistrationTest.php +++ b/tests/Unit/Transactions/Serializers/ValidatorRegistrationTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration + */ class ValidatorRegistrationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/ValidatorResignationTest.php b/tests/Unit/Transactions/Serializers/ValidatorResignationTest.php index 791a2e0..e5c772b 100644 --- a/tests/Unit/Transactions/Serializers/ValidatorResignationTest.php +++ b/tests/Unit/Transactions/Serializers/ValidatorResignationTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation + */ class ValidatorResignationTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/Serializers/VoteTest.php b/tests/Unit/Transactions/Serializers/VoteTest.php index 665cff3..dfd0780 100644 --- a/tests/Unit/Transactions/Serializers/VoteTest.php +++ b/tests/Unit/Transactions/Serializers/VoteTest.php @@ -2,15 +2,13 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\Vote - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\Vote + */ class VoteTest extends TestCase { /** @test */ diff --git a/tests/Unit/Transactions/TransactionTest.php b/tests/Unit/Transactions/TransactionTest.php index 2875223..cb32c79 100644 --- a/tests/Unit/Transactions/TransactionTest.php +++ b/tests/Unit/Transactions/TransactionTest.php @@ -2,8 +2,6 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Transactions\Serializers; use ArkEcosystem\Crypto\Identities\PrivateKey; @@ -13,8 +11,8 @@ use BitWasp\Buffertools\Buffer; /** - * @covers \ArkEcosystem\Crypto\Transactions\Types\Transaction - */ + * @covers \ArkEcosystem\Crypto\Transactions\Types\Transaction + */ class TransactionTest extends TestCase { /** @test */ diff --git a/tests/Unit/Utils/AddressTest.php b/tests/Unit/Utils/AddressTest.php index dd984e0..2046c14 100644 --- a/tests/Unit/Utils/AddressTest.php +++ b/tests/Unit/Utils/AddressTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Utils; use ArkEcosystem\Crypto\Utils\Address as TestClass; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Identities\Address - */ + * @covers \ArkEcosystem\Crypto\Identities\Address + */ class AddressTest extends TestCase { /** @test */ diff --git a/tests/Unit/Utils/MessageTest.php b/tests/Unit/Utils/MessageTest.php index 8ec6f62..e32e53b 100644 --- a/tests/Unit/Utils/MessageTest.php +++ b/tests/Unit/Utils/MessageTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Utils; use ArkEcosystem\Crypto\Utils\Message; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Utils\Message - */ + * @covers \ArkEcosystem\Crypto\Utils\Message + */ class MessageTest extends TestCase { /** @test */ diff --git a/tests/Unit/Utils/SlotTest.php b/tests/Unit/Utils/SlotTest.php index 0b8baef..ed9694c 100644 --- a/tests/Unit/Utils/SlotTest.php +++ b/tests/Unit/Utils/SlotTest.php @@ -2,16 +2,14 @@ declare(strict_types=1); - - namespace ArkEcosystem\Tests\Crypto\Unit\Utils; use ArkEcosystem\Crypto\Utils\Slot; use ArkEcosystem\Tests\Crypto\TestCase; /** - * @covers \ArkEcosystem\Crypto\Utils\Slot - */ + * @covers \ArkEcosystem\Crypto\Utils\Slot + */ class SlotTest extends TestCase { /** @test */