Passed
Pull Request — master (#7)
by Timothy
06:21
created
test/unit/test/Chaincode/AbstractChaincodeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Chaincode;
22 22
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $data = $this->loadStaticData();
131 131
 
132 132
         return array_map(
133
-            function ($value) {
133
+            function($value) {
134 134
                 return array_intersect_key(
135 135
                     $value,
136 136
                     array_flip(['dateTime', 'proposalHeader', 'proposalPayload', 'proposalExtension'])
Please login to merge, or discard this patch.
test/unit/test/Header/HeaderGeneratorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Header;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/Config/ClientConfigTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Config;
22 22
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         self::assertSame(5000, $sut->getIn(['timeout']));
69 69
         self::assertSame(0, $sut->getIn(['epoch']));
70
-        self::assertSame('sha256', (string)$sut->getIn(['crypto-hash-algo']));
70
+        self::assertSame('sha256', (string) $sut->getIn(['crypto-hash-algo']));
71 71
         self::assertSame(24, $sut->getIn(['nonce-size']));
72 72
     }
73 73
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
         self::assertSame(10, $sut->getIn(['timeout']));
84 84
         self::assertSame(-100, $sut->getIn(['epoch']));
85
-        self::assertSame('md5', (string)$sut->getIn(['crypto-hash-algo']));
85
+        self::assertSame('md5', (string) $sut->getIn(['crypto-hash-algo']));
86 86
         self::assertSame(3, $sut->getIn(['nonce-size']));
87 87
     }
88 88
 
@@ -124,14 +124,14 @@  discard block
 block discarded – undo
124 124
             'crypto-hash-algo' => 'whirlpool',
125 125
         ]);
126 126
 
127
-        self::assertSame('whirlpool', (string)$sut->getHashAlgorithm());
127
+        self::assertSame('whirlpool', (string) $sut->getHashAlgorithm());
128 128
     }
129 129
 
130 130
     public function testHashAlgorithmAssessorDefaultValue()
131 131
     {
132 132
         $sut = new ClientConfig([]);
133 133
 
134
-        self::assertSame('sha256', (string)$sut->getHashAlgorithm());
134
+        self::assertSame('sha256', (string) $sut->getHashAlgorithm());
135 135
     }
136 136
 
137 137
     public function testTimeoutAssessor()
Please login to merge, or discard this patch.
test/unit/test/Config/ClientConfigFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Config;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/Nonce/RandomBytesNonceGeneratorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Nonce;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/ProtoFactory/ChaincodeSpecFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\ProtoFactory;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/ProtoFactory/SerializedIdentityFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\MSP;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/Proposal/ResponseCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Proposal;
22 22
 
Please login to merge, or discard this patch.
test/unit/test/Transaction/TransactionOptionsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * permissions and limitations under the License.
17 17
  */
18 18
 
19
-declare(strict_types=1);
19
+declare(strict_types = 1);
20 20
 
21 21
 namespace AmericanExpressTest\HyperledgerFabricClient\Transaction;
22 22
 
Please login to merge, or discard this patch.