Skip to content

Commit 47fd6b2

Browse files
authored
Bump php-cs-fixer to version 3.60 (#1743)
1 parent 76914b6 commit 47fd6b2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- Enable compiler optimization for the `sprintf` function.
8+
59
## 1.0.1
610

711
### Changed

src/Input/CreateInvalidationRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function request(): Request
8181
// Prepare URI
8282
$uri = [];
8383
if (null === $v = $this->distributionId) {
84-
throw new InvalidArgument(sprintf('Missing parameter "DistributionId" for "%s". The value cannot be null.', __CLASS__));
84+
throw new InvalidArgument(\sprintf('Missing parameter "DistributionId" for "%s". The value cannot be null.', __CLASS__));
8585
}
8686
$uri['DistributionId'] = $v;
8787
$uriString = '/2019-03-26/distribution/' . rawurlencode($uri['DistributionId']) . '/invalidation';
@@ -114,7 +114,7 @@ public function setInvalidationBatch(?InvalidationBatch $value): self
114114
private function requestBody(\DOMNode $node, \DOMDocument $document): void
115115
{
116116
if (null === $v = $this->invalidationBatch) {
117-
throw new InvalidArgument(sprintf('Missing parameter "InvalidationBatch" for "%s". The value cannot be null.', __CLASS__));
117+
throw new InvalidArgument(\sprintf('Missing parameter "InvalidationBatch" for "%s". The value cannot be null.', __CLASS__));
118118
}
119119

120120
$node->appendChild($child = $document->createElement('InvalidationBatch'));

0 commit comments

Comments
 (0)