Skip to content

Commit e2b7673

Browse files
authored
Bump php-cs-fixer to version 3.60 (#1743)
1 parent e01aa7f commit e2b7673

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Diff for: CHANGELOG.md

+4
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.3.1
610

711
### Changed

Diff for: src/Input/PutRecordBatchInput.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ private function requestBody(): array
114114
{
115115
$payload = [];
116116
if (null === $v = $this->deliveryStreamName) {
117-
throw new InvalidArgument(sprintf('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null.', __CLASS__));
117+
throw new InvalidArgument(\sprintf('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null.', __CLASS__));
118118
}
119119
$payload['DeliveryStreamName'] = $v;
120120
if (null === $v = $this->records) {
121-
throw new InvalidArgument(sprintf('Missing parameter "Records" for "%s". The value cannot be null.', __CLASS__));
121+
throw new InvalidArgument(\sprintf('Missing parameter "Records" for "%s". The value cannot be null.', __CLASS__));
122122
}
123123

124124
$index = -1;

Diff for: src/Input/PutRecordInput.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ private function requestBody(): array
108108
{
109109
$payload = [];
110110
if (null === $v = $this->deliveryStreamName) {
111-
throw new InvalidArgument(sprintf('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null.', __CLASS__));
111+
throw new InvalidArgument(\sprintf('Missing parameter "DeliveryStreamName" for "%s". The value cannot be null.', __CLASS__));
112112
}
113113
$payload['DeliveryStreamName'] = $v;
114114
if (null === $v = $this->record) {
115-
throw new InvalidArgument(sprintf('Missing parameter "Record" for "%s". The value cannot be null.', __CLASS__));
115+
throw new InvalidArgument(\sprintf('Missing parameter "Record" for "%s". The value cannot be null.', __CLASS__));
116116
}
117117
$payload['Record'] = $v->requestBody();
118118

0 commit comments

Comments
 (0)