Skip to content

Commit 9cdadb9

Browse files
authored
Bump php-cs-fixer to version 3.60 (#1743)
1 parent 00a0467 commit 9cdadb9

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
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
## 2.0.3
610

711
### Changed

src/Input/CancelQueryRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function requestBody(): array
8383
{
8484
$payload = [];
8585
if (null === $v = $this->queryId) {
86-
throw new InvalidArgument(sprintf('Missing parameter "QueryId" for "%s". The value cannot be null.', __CLASS__));
86+
throw new InvalidArgument(\sprintf('Missing parameter "QueryId" for "%s". The value cannot be null.', __CLASS__));
8787
}
8888
$payload['QueryId'] = $v;
8989

src/Input/PrepareQueryRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private function requestBody(): array
107107
{
108108
$payload = [];
109109
if (null === $v = $this->queryString) {
110-
throw new InvalidArgument(sprintf('Missing parameter "QueryString" for "%s". The value cannot be null.', __CLASS__));
110+
throw new InvalidArgument(\sprintf('Missing parameter "QueryString" for "%s". The value cannot be null.', __CLASS__));
111111
}
112112
$payload['QueryString'] = $v;
113113
if (null !== $v = $this->validateOnly) {

src/Input/QueryRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private function requestBody(): array
188188
{
189189
$payload = [];
190190
if (null === $v = $this->queryString) {
191-
throw new InvalidArgument(sprintf('Missing parameter "QueryString" for "%s". The value cannot be null.', __CLASS__));
191+
throw new InvalidArgument(\sprintf('Missing parameter "QueryString" for "%s". The value cannot be null.', __CLASS__));
192192
}
193193
$payload['QueryString'] = $v;
194194
if (null === $v = $this->clientToken) {

0 commit comments

Comments
 (0)