You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Input/StartBuildInput.php
+5-5
Original file line number
Diff line number
Diff line change
@@ -913,7 +913,7 @@ private function requestBody(): array
913
913
{
914
914
$payload = [];
915
915
if (null === $v = $this->projectName) {
916
-
thrownewInvalidArgument(sprintf('Missing parameter "projectName" for "%s". The value cannot be null.', __CLASS__));
916
+
thrownewInvalidArgument(\sprintf('Missing parameter "projectName" for "%s". The value cannot be null.', __CLASS__));
917
917
}
918
918
$payload['projectName'] = $v;
919
919
if (null !== $v = $this->secondarySourcesOverride) {
@@ -956,7 +956,7 @@ private function requestBody(): array
956
956
}
957
957
if (null !== $v = $this->sourceTypeOverride) {
958
958
if (!SourceType::exists($v)) {
959
-
thrownewInvalidArgument(sprintf('Invalid parameter "sourceTypeOverride" for "%s". The value "%s" is not a valid "SourceType".', __CLASS__, $v));
959
+
thrownewInvalidArgument(\sprintf('Invalid parameter "sourceTypeOverride" for "%s". The value "%s" is not a valid "SourceType".', __CLASS__, $v));
960
960
}
961
961
$payload['sourceTypeOverride'] = $v;
962
962
}
@@ -986,7 +986,7 @@ private function requestBody(): array
986
986
}
987
987
if (null !== $v = $this->environmentTypeOverride) {
988
988
if (!EnvironmentType::exists($v)) {
989
-
thrownewInvalidArgument(sprintf('Invalid parameter "environmentTypeOverride" for "%s". The value "%s" is not a valid "EnvironmentType".', __CLASS__, $v));
989
+
thrownewInvalidArgument(\sprintf('Invalid parameter "environmentTypeOverride" for "%s". The value "%s" is not a valid "EnvironmentType".', __CLASS__, $v));
990
990
}
991
991
$payload['environmentTypeOverride'] = $v;
992
992
}
@@ -995,7 +995,7 @@ private function requestBody(): array
995
995
}
996
996
if (null !== $v = $this->computeTypeOverride) {
997
997
if (!ComputeType::exists($v)) {
998
-
thrownewInvalidArgument(sprintf('Invalid parameter "computeTypeOverride" for "%s". The value "%s" is not a valid "ComputeType".', __CLASS__, $v));
998
+
thrownewInvalidArgument(\sprintf('Invalid parameter "computeTypeOverride" for "%s". The value "%s" is not a valid "ComputeType".', __CLASS__, $v));
999
999
}
1000
1000
$payload['computeTypeOverride'] = $v;
1001
1001
}
@@ -1031,7 +1031,7 @@ private function requestBody(): array
1031
1031
}
1032
1032
if (null !== $v = $this->imagePullCredentialsTypeOverride) {
1033
1033
if (!ImagePullCredentialsType::exists($v)) {
1034
-
thrownewInvalidArgument(sprintf('Invalid parameter "imagePullCredentialsTypeOverride" for "%s". The value "%s" is not a valid "ImagePullCredentialsType".', __CLASS__, $v));
1034
+
thrownewInvalidArgument(\sprintf('Invalid parameter "imagePullCredentialsTypeOverride" for "%s". The value "%s" is not a valid "ImagePullCredentialsType".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/ValueObject/ProjectArtifacts.php
+4-4
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ public function requestBody(): array
258
258
$payload = [];
259
259
$v = $this->type;
260
260
if (!ArtifactsType::exists($v)) {
261
-
thrownewInvalidArgument(sprintf('Invalid parameter "type" for "%s". The value "%s" is not a valid "ArtifactsType".', __CLASS__, $v));
261
+
thrownewInvalidArgument(\sprintf('Invalid parameter "type" for "%s". The value "%s" is not a valid "ArtifactsType".', __CLASS__, $v));
262
262
}
263
263
$payload['type'] = $v;
264
264
if (null !== $v = $this->location) {
@@ -269,7 +269,7 @@ public function requestBody(): array
269
269
}
270
270
if (null !== $v = $this->namespaceType) {
271
271
if (!ArtifactNamespace::exists($v)) {
272
-
thrownewInvalidArgument(sprintf('Invalid parameter "namespaceType" for "%s". The value "%s" is not a valid "ArtifactNamespace".', __CLASS__, $v));
272
+
thrownewInvalidArgument(\sprintf('Invalid parameter "namespaceType" for "%s". The value "%s" is not a valid "ArtifactNamespace".', __CLASS__, $v));
273
273
}
274
274
$payload['namespaceType'] = $v;
275
275
}
@@ -278,7 +278,7 @@ public function requestBody(): array
278
278
}
279
279
if (null !== $v = $this->packaging) {
280
280
if (!ArtifactPackaging::exists($v)) {
281
-
thrownewInvalidArgument(sprintf('Invalid parameter "packaging" for "%s". The value "%s" is not a valid "ArtifactPackaging".', __CLASS__, $v));
281
+
thrownewInvalidArgument(\sprintf('Invalid parameter "packaging" for "%s". The value "%s" is not a valid "ArtifactPackaging".', __CLASS__, $v));
282
282
}
283
283
$payload['packaging'] = $v;
284
284
}
@@ -293,7 +293,7 @@ public function requestBody(): array
293
293
}
294
294
if (null !== $v = $this->bucketOwnerAccess) {
295
295
if (!BucketOwnerAccess::exists($v)) {
296
-
thrownewInvalidArgument(sprintf('Invalid parameter "bucketOwnerAccess" for "%s". The value "%s" is not a valid "BucketOwnerAccess".', __CLASS__, $v));
296
+
thrownewInvalidArgument(\sprintf('Invalid parameter "bucketOwnerAccess" for "%s". The value "%s" is not a valid "BucketOwnerAccess".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/ValueObject/RegistryCredential.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ public function requestBody(): array
80
80
$payload['credential'] = $v;
81
81
$v = $this->credentialProvider;
82
82
if (!CredentialProviderType::exists($v)) {
83
-
thrownewInvalidArgument(sprintf('Invalid parameter "credentialProvider" for "%s". The value "%s" is not a valid "CredentialProviderType".', __CLASS__, $v));
83
+
thrownewInvalidArgument(\sprintf('Invalid parameter "credentialProvider" for "%s". The value "%s" is not a valid "CredentialProviderType".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/ValueObject/S3LogsConfig.php
+2-2
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ public function requestBody(): array
104
104
$payload = [];
105
105
$v = $this->status;
106
106
if (!LogsConfigStatusType::exists($v)) {
107
-
thrownewInvalidArgument(sprintf('Invalid parameter "status" for "%s". The value "%s" is not a valid "LogsConfigStatusType".', __CLASS__, $v));
107
+
thrownewInvalidArgument(\sprintf('Invalid parameter "status" for "%s". The value "%s" is not a valid "LogsConfigStatusType".', __CLASS__, $v));
108
108
}
109
109
$payload['status'] = $v;
110
110
if (null !== $v = $this->location) {
@@ -115,7 +115,7 @@ public function requestBody(): array
115
115
}
116
116
if (null !== $v = $this->bucketOwnerAccess) {
117
117
if (!BucketOwnerAccess::exists($v)) {
118
-
thrownewInvalidArgument(sprintf('Invalid parameter "bucketOwnerAccess" for "%s". The value "%s" is not a valid "BucketOwnerAccess".', __CLASS__, $v));
118
+
thrownewInvalidArgument(\sprintf('Invalid parameter "bucketOwnerAccess" for "%s". The value "%s" is not a valid "BucketOwnerAccess".', __CLASS__, $v));
0 commit comments