Test Failed
Pull Request — master (#4)
by Timothy
06:07
created
src/ProtoFactory/ChaincodeInputFactory.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 AmericanExpress\HyperledgerFabricClient\ProtoFactory;
22 22
 
Please login to merge, or discard this patch.
src/Client.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 AmericanExpress\HyperledgerFabricClient;
22 22
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         }
156 156
 
157 157
         // Convert peers into asynchronous calls.
158
-        $calls = \array_map(function (PeerInterface $peer) use ($proposal) {
158
+        $calls = \array_map(function(PeerInterface $peer) use ($proposal) {
159 159
             return $peer->processSignedProposal($proposal);
160 160
         }, $options->getPeers());
161 161
 
Please login to merge, or discard this patch.
src/Nonce/RandomBytesNonceGenerator.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 AmericanExpress\HyperledgerFabricClient\Nonce;
22 22
 
Please login to merge, or discard this patch.
src/User/UserContextFactory.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 AmericanExpress\HyperledgerFabricClient\User;
22 22
 
Please login to merge, or discard this patch.
protobuf/dist/Hyperledger/Fabric/Protos/Peer/EventsClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function Chat($metadata = [], $options = []) {
42 42
         return $this->_bidiRequest('/protos.Events/Chat',
43
-        ['\Hyperledger\Fabric\Protos\Peer\Event','decode'],
43
+        ['\Hyperledger\Fabric\Protos\Peer\Event', 'decode'],
44 44
         $metadata, $options);
45 45
     }
46 46
 
Please login to merge, or discard this patch.
protobuf/dist/Hyperledger/Fabric/Protos/Peer/ChaincodeSupportClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function Register($metadata = [], $options = []) {
42 42
         return $this->_bidiRequest('/protos.ChaincodeSupport/Register',
43
-        ['\Hyperledger\Fabric\Protos\Peer\ChaincodeMessage','decode'],
43
+        ['\Hyperledger\Fabric\Protos\Peer\ChaincodeMessage', 'decode'],
44 44
         $metadata, $options);
45 45
     }
46 46
 
Please login to merge, or discard this patch.
protobuf/dist/Hyperledger/Fabric/Protos/Orderer/AtomicBroadcastClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function Broadcast($metadata = [], $options = []) {
41 41
         return $this->_bidiRequest('/orderer.AtomicBroadcast/Broadcast',
42
-        ['\Hyperledger\Fabric\Protos\Orderer\BroadcastResponse','decode'],
42
+        ['\Hyperledger\Fabric\Protos\Orderer\BroadcastResponse', 'decode'],
43 43
         $metadata, $options);
44 44
     }
45 45
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function Deliver($metadata = [], $options = []) {
52 52
         return $this->_bidiRequest('/orderer.AtomicBroadcast/Deliver',
53
-        ['\Hyperledger\Fabric\Protos\Orderer\DeliverResponse','decode'],
53
+        ['\Hyperledger\Fabric\Protos\Orderer\DeliverResponse', 'decode'],
54 54
         $metadata, $options);
55 55
     }
56 56
 
Please login to merge, or discard this patch.
protobuf/dist/Hyperledger/Fabric/Protos/Gossip/GossipClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function GossipStream($metadata = [], $options = []) {
31 31
         return $this->_bidiRequest('/gossip.Gossip/GossipStream',
32
-        ['\Gossip\Envelope','decode'],
32
+        ['\Gossip\Envelope', 'decode'],
33 33
         $metadata, $options);
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/Proposal/Response.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 AmericanExpress\HyperledgerFabricClient\Proposal;
22 22
 
Please login to merge, or discard this patch.