From 5100b0a3e29dc66422cb9245ad0f750f28d365c0 Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Fri, 1 May 2020 17:32:27 -0500 Subject: [PATCH] Fix heredoc code style --- src/Services/Authenticate/AuthenticateTranslator.php | 10 +++++----- src/Services/Download/DownloadTranslator.php | 8 ++++---- src/Services/Query/QueryTranslator.php | 8 ++++---- src/Services/Verify/VerifyTranslator.php | 8 ++++---- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Services/Authenticate/AuthenticateTranslator.php b/src/Services/Authenticate/AuthenticateTranslator.php index 4f78d7b..0386a58 100644 --- a/src/Services/Authenticate/AuthenticateTranslator.php +++ b/src/Services/Authenticate/AuthenticateTranslator.php @@ -38,11 +38,11 @@ public function createSoapRequestWithData(Fiel $fiel, DateTime $since, DateTime $expires = $until->formatSat(); $toDigest = $this->nospaces( << - ${created} - ${expires} - - EOT + + ${created} + ${expires} + + EOT ); $digested = base64_encode(sha1($toDigest, true)); $signedInfoData = $this->createSignedInfoCanonicalExclusive($digested, '#_0'); diff --git a/src/Services/Download/DownloadTranslator.php b/src/Services/Download/DownloadTranslator.php index 128a464..3b9c494 100644 --- a/src/Services/Download/DownloadTranslator.php +++ b/src/Services/Download/DownloadTranslator.php @@ -30,10 +30,10 @@ public function createSoapRequestWithData(Fiel $fiel, string $rfc, string $packa { $toDigest = $this->nospaces( << - - - EOT + + + + EOT ); $digested = base64_encode(sha1($toDigest, true)); diff --git a/src/Services/Query/QueryTranslator.php b/src/Services/Query/QueryTranslator.php index 77ec2e3..d73083d 100644 --- a/src/Services/Query/QueryTranslator.php +++ b/src/Services/Query/QueryTranslator.php @@ -56,10 +56,10 @@ public function createSoapRequestWithData( $toDigest = $this->nospaces( << - - - EOT + + + + EOT ); $digested = base64_encode(sha1($toDigest, true)); $signedInfoData = $this->createSignedInfoCanonicalExclusive($digested); diff --git a/src/Services/Verify/VerifyTranslator.php b/src/Services/Verify/VerifyTranslator.php index f487d90..fa3048b 100644 --- a/src/Services/Verify/VerifyTranslator.php +++ b/src/Services/Verify/VerifyTranslator.php @@ -46,10 +46,10 @@ public function createSoapRequestWithData( ): string { $toDigest = $this->nospaces( << - - - EOT + + + + EOT ); $digested = base64_encode(sha1($toDigest, true)); $signedInfoData = $this->createSignedInfoCanonicalExclusive($digested);