@@ -72,7 +72,7 @@ |
||
72 | 72 | if (strpos($keyword, "+") !== false) { |
73 | 73 | throw new \Exception('Keywords may not contain a "+" character.'); |
74 | 74 | } |
75 | - $value .= str_replace(' ', '+', $keyword) . ' '; |
|
75 | + $value .= str_replace(' ', '+', $keyword).' '; |
|
76 | 76 | } |
77 | 77 | $value = rtrim($value); |
78 | 78 | $e->appendChild($doc->createTextNode($value)); |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | throw new MissingConfigurationException(sprintf( |
76 | 76 | 'No certificates or fingerprints have been configured%s', |
77 | - $configuration->has('entityid') ? ' for "' . $configuration->get('entityid') . '"' : '' |
|
77 | + $configuration->has('entityid') ? ' for "'.$configuration->get('entityid').'"' : '' |
|
78 | 78 | )); |
79 | 79 | } |
80 | 80 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | SignedElement $signedElement, |
71 | 71 | CertificateProvider $configuration |
72 | 72 | ) { |
73 | - $this->certificates = array_map(function ($certificate) { |
|
73 | + $this->certificates = array_map(function($certificate) { |
|
74 | 74 | return X509::createFromCertificateData($certificate); |
75 | 75 | }, $this->certificates); |
76 | 76 |
@@ -176,8 +176,8 @@ |
||
176 | 176 | foreach ($this->certificates as $cert) { |
177 | 177 | |
178 | 178 | /* Construct a PEM formatted certificate */ |
179 | - $pemCert = "-----BEGIN CERTIFICATE-----\n" . |
|
180 | - chunk_split($cert, 64) . |
|
179 | + $pemCert = "-----BEGIN CERTIFICATE-----\n". |
|
180 | + chunk_split($cert, 64). |
|
181 | 181 | "-----END CERTIFICATE-----\n"; |
182 | 182 | |
183 | 183 | /* Extract the public key from the certificate for validation. */ |