From 641caf8193471e2049a3d595d98dc8a3a5f098e9 Mon Sep 17 00:00:00 2001 From: Richard McDaniel Date: Sat, 25 Nov 2023 08:03:18 -0600 Subject: [PATCH] Add headers Signed-off-by: Richard McDaniel --- composer.json | 3 +-- composer.lock | 12 ++++++------ ecs.php | 16 ++++++++++++++++ rector.php | 16 ++++++++++++++++ src/Action.php | 16 ++++++++++++++++ src/ActionDataFilter.php | 16 ++++++++++++++++ src/AuthDef.php | 16 ++++++++++++++++ src/BaseObject.php | 16 ++++++++++++++++ src/BasicPropsDef.php | 16 ++++++++++++++++ src/BearerPropsDef.php | 16 ++++++++++++++++ src/Branch.php | 16 ++++++++++++++++ src/BranchTimeout.php | 16 ++++++++++++++++ src/CallbackState.php | 16 ++++++++++++++++ src/CallbackStateTimeout.php | 16 ++++++++++++++++ src/ContinueAsDef.php | 16 ++++++++++++++++ src/CorrelationDef.php | 16 ++++++++++++++++ src/CronDef.php | 16 ++++++++++++++++ src/DataInputSchema.php | 16 ++++++++++++++++ src/DefaultConditionDef.php | 16 ++++++++++++++++ src/End.php | 16 ++++++++++++++++ src/EndDataCondition.php | 16 ++++++++++++++++ src/EndEventCondition.php | 16 ++++++++++++++++ src/Error.php | 16 ++++++++++++++++ src/ErrorDef.php | 16 ++++++++++++++++ src/EventBasedSwitchState.php | 16 ++++++++++++++++ src/EventBasedSwitchStateTimeOut.php | 16 ++++++++++++++++ src/EventDataFilter.php | 16 ++++++++++++++++ src/EventDef.php | 16 ++++++++++++++++ src/EventRef.php | 16 ++++++++++++++++ src/EventState.php | 16 ++++++++++++++++ src/EventStateTimeout.php | 16 ++++++++++++++++ src/ForeachState.php | 16 ++++++++++++++++ src/ForeachStateTimeout.php | 16 ++++++++++++++++ src/FunctionDef.php | 16 ++++++++++++++++ src/FunctionRef.php | 16 ++++++++++++++++ src/InjectState.php | 16 ++++++++++++++++ src/InjectStateTimeout.php | 16 ++++++++++++++++ src/Metadata.php | 16 ++++++++++++++++ src/OAuth2PropsDef.php | 16 ++++++++++++++++ src/OnEvents.php | 16 ++++++++++++++++ src/OperationState.php | 16 ++++++++++++++++ src/OperationStateTimeout.php | 16 ++++++++++++++++ src/ParallelState.php | 16 ++++++++++++++++ src/ParallelStateTimeout.php | 16 ++++++++++++++++ src/ProduceEventDef.php | 16 ++++++++++++++++ src/RetryDef.php | 16 ++++++++++++++++ src/Schedule.php | 16 ++++++++++++++++ src/Serializable.php | 16 ++++++++++++++++ src/Sleep.php | 16 ++++++++++++++++ src/SleepState.php | 16 ++++++++++++++++ src/SleepStateTimeout.php | 16 ++++++++++++++++ src/StartDef.php | 16 ++++++++++++++++ src/State.php | 16 ++++++++++++++++ src/StateDataFilter.php | 16 ++++++++++++++++ src/StateExecTimeout.php | 16 ++++++++++++++++ src/SubFlowRef.php | 16 ++++++++++++++++ src/Transition.php | 16 ++++++++++++++++ src/TransitionDataCondition.php | 16 ++++++++++++++++ src/TransitionEventCondition.php | 16 ++++++++++++++++ src/Workflow.php | 16 ++++++++++++++++ src/WorkflowExecTimeout.php | 16 ++++++++++++++++ src/WorkflowTimeout.php | 16 ++++++++++++++++ src/WorkflowValidator.php | 16 ++++++++++++++++ tests/Unit/WorkflowTest.php | 16 ++++++++++++++++ 64 files changed, 999 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 80cc32e..c1285d9 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,7 @@ }, "authors": [ { - "name": "Richard McDaniel", - "email": "richard.lee.mcdaniel@gmail.com" + "name": "Serverless Workflow Specification Authors" } ], "require-dev": { diff --git a/composer.lock b/composer.lock index f1100ae..985e20b 100644 --- a/composer.lock +++ b/composer.lock @@ -1064,16 +1064,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.8", + "version": "10.1.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "84838eed9ded511f61dc3e8b5944a52d9017b297" + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/84838eed9ded511f61dc3e8b5944a52d9017b297", - "reference": "84838eed9ded511f61dc3e8b5944a52d9017b297", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", "shasum": "" }, "require": { @@ -1130,7 +1130,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.8" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" }, "funding": [ { @@ -1138,7 +1138,7 @@ "type": "github" } ], - "time": "2023-11-15T13:31:15+00:00" + "time": "2023-11-23T12:23:20+00:00" }, { "name": "phpunit/php-file-iterator", diff --git a/ecs.php b/ecs.php index 985f25b..4d3af8e 100644 --- a/ecs.php +++ b/ecs.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** +* Copyright 2020-Present The Serverless Workflow Specification Authors +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + use PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\AssignmentInConditionSniff; use PhpCsFixer\Fixer\FunctionNotation\FunctionTypehintSpaceFixer; use PhpCsFixer\Fixer\FunctionNotation\StaticLambdaFixer; diff --git a/rector.php b/rector.php index 8cdce60..c8e32dc 100644 --- a/rector.php +++ b/rector.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** +* Copyright 2020-Present The Serverless Workflow Specification Authors +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + use Rector\Config\RectorConfig; use Rector\Core\ValueObject\PhpVersion; use Rector\Set\ValueObject\LevelSetList; diff --git a/src/Action.php b/src/Action.php index e7ff95e..8f7deca 100644 --- a/src/Action.php +++ b/src/Action.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Action extends BaseObject diff --git a/src/ActionDataFilter.php b/src/ActionDataFilter.php index 5dbd5db..a5661d2 100644 --- a/src/ActionDataFilter.php +++ b/src/ActionDataFilter.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ActionDataFilter extends BaseObject diff --git a/src/AuthDef.php b/src/AuthDef.php index adf0488..06f443a 100644 --- a/src/AuthDef.php +++ b/src/AuthDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class AuthDef extends BaseObject diff --git a/src/BaseObject.php b/src/BaseObject.php index 5a32537..baa9e48 100644 --- a/src/BaseObject.php +++ b/src/BaseObject.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; use phpDocumentor\Reflection\DocBlockFactory; diff --git a/src/BasicPropsDef.php b/src/BasicPropsDef.php index 133f34f..115e71a 100644 --- a/src/BasicPropsDef.php +++ b/src/BasicPropsDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class BasicPropsDef extends BaseObject diff --git a/src/BearerPropsDef.php b/src/BearerPropsDef.php index 910fb1c..86331d0 100644 --- a/src/BearerPropsDef.php +++ b/src/BearerPropsDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class BearerPropsDef extends BaseObject diff --git a/src/Branch.php b/src/Branch.php index 6f8d73b..2c07438 100644 --- a/src/Branch.php +++ b/src/Branch.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Branch extends BaseObject diff --git a/src/BranchTimeout.php b/src/BranchTimeout.php index 706dfdb..090ecde 100644 --- a/src/BranchTimeout.php +++ b/src/BranchTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class BranchTimeOut extends BaseObject diff --git a/src/CallbackState.php b/src/CallbackState.php index c810b9e..43290af 100644 --- a/src/CallbackState.php +++ b/src/CallbackState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class CallbackState extends State diff --git a/src/CallbackStateTimeout.php b/src/CallbackStateTimeout.php index 997c746..bbf6a05 100644 --- a/src/CallbackStateTimeout.php +++ b/src/CallbackStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class CallbackStateTimeOut extends BaseObject diff --git a/src/ContinueAsDef.php b/src/ContinueAsDef.php index ced4cfe..09588f1 100644 --- a/src/ContinueAsDef.php +++ b/src/ContinueAsDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ContinueAsDef extends BaseObject diff --git a/src/CorrelationDef.php b/src/CorrelationDef.php index 7193186..1ee0750 100644 --- a/src/CorrelationDef.php +++ b/src/CorrelationDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class CorrelationDef extends BaseObject diff --git a/src/CronDef.php b/src/CronDef.php index 2d35ee5..7c0d822 100644 --- a/src/CronDef.php +++ b/src/CronDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class CronDef extends BaseObject diff --git a/src/DataInputSchema.php b/src/DataInputSchema.php index 0a23f2c..d2f40f3 100644 --- a/src/DataInputSchema.php +++ b/src/DataInputSchema.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class DataInputSchema extends BaseObject diff --git a/src/DefaultConditionDef.php b/src/DefaultConditionDef.php index 21d520d..d8370db 100644 --- a/src/DefaultConditionDef.php +++ b/src/DefaultConditionDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class DefaultConditionDef extends BaseObject diff --git a/src/End.php b/src/End.php index f78ea75..fa93c2e 100644 --- a/src/End.php +++ b/src/End.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class End extends BaseObject diff --git a/src/EndDataCondition.php b/src/EndDataCondition.php index 7007e9c..23433ff 100644 --- a/src/EndDataCondition.php +++ b/src/EndDataCondition.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EndDataCondition extends BaseObject diff --git a/src/EndEventCondition.php b/src/EndEventCondition.php index 0ae17fa..b20186b 100644 --- a/src/EndEventCondition.php +++ b/src/EndEventCondition.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EndEventCondition extends BaseObject diff --git a/src/Error.php b/src/Error.php index 4451333..80a7a7d 100644 --- a/src/Error.php +++ b/src/Error.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Error extends BaseObject diff --git a/src/ErrorDef.php b/src/ErrorDef.php index 576ce8d..c6174db 100644 --- a/src/ErrorDef.php +++ b/src/ErrorDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ErrorDef extends BaseObject diff --git a/src/EventBasedSwitchState.php b/src/EventBasedSwitchState.php index 80a8269..181937d 100644 --- a/src/EventBasedSwitchState.php +++ b/src/EventBasedSwitchState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventBasedSwitchState extends State diff --git a/src/EventBasedSwitchStateTimeOut.php b/src/EventBasedSwitchStateTimeOut.php index 9a240fa..31023ae 100644 --- a/src/EventBasedSwitchStateTimeOut.php +++ b/src/EventBasedSwitchStateTimeOut.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventBasedSwitchStateTimeOut extends BaseObject diff --git a/src/EventDataFilter.php b/src/EventDataFilter.php index 803f85a..7d31e9e 100644 --- a/src/EventDataFilter.php +++ b/src/EventDataFilter.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventDataFilter extends BaseObject diff --git a/src/EventDef.php b/src/EventDef.php index 1374093..84193dc 100644 --- a/src/EventDef.php +++ b/src/EventDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventDef extends BaseObject diff --git a/src/EventRef.php b/src/EventRef.php index f8a2e5a..0b0c9fc 100644 --- a/src/EventRef.php +++ b/src/EventRef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventRef extends BaseObject diff --git a/src/EventState.php b/src/EventState.php index 0162f7b..dcb6ecb 100644 --- a/src/EventState.php +++ b/src/EventState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventState extends State diff --git a/src/EventStateTimeout.php b/src/EventStateTimeout.php index 89c034c..9689171 100644 --- a/src/EventStateTimeout.php +++ b/src/EventStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class EventStateTimeOut extends BaseObject diff --git a/src/ForeachState.php b/src/ForeachState.php index bb98a15..6501d55 100644 --- a/src/ForeachState.php +++ b/src/ForeachState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ForEachState extends State diff --git a/src/ForeachStateTimeout.php b/src/ForeachStateTimeout.php index 4d6ecea..d8bdea1 100644 --- a/src/ForeachStateTimeout.php +++ b/src/ForeachStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ForEachStateTimeOut extends BaseObject diff --git a/src/FunctionDef.php b/src/FunctionDef.php index c2fe7a1..c72b993 100644 --- a/src/FunctionDef.php +++ b/src/FunctionDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class FunctionDef extends BaseObject diff --git a/src/FunctionRef.php b/src/FunctionRef.php index 56b0870..d7abc5c 100644 --- a/src/FunctionRef.php +++ b/src/FunctionRef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class FunctionRef extends BaseObject diff --git a/src/InjectState.php b/src/InjectState.php index a90ada2..72cee1f 100644 --- a/src/InjectState.php +++ b/src/InjectState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class InjectState extends State diff --git a/src/InjectStateTimeout.php b/src/InjectStateTimeout.php index 42a6049..62f1bfb 100644 --- a/src/InjectStateTimeout.php +++ b/src/InjectStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class InjectStateTimeOut extends BaseObject diff --git a/src/Metadata.php b/src/Metadata.php index 366c422..bf9ad04 100644 --- a/src/Metadata.php +++ b/src/Metadata.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Metadata extends BaseObject diff --git a/src/OAuth2PropsDef.php b/src/OAuth2PropsDef.php index 73c20a7..c392205 100644 --- a/src/OAuth2PropsDef.php +++ b/src/OAuth2PropsDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class OAuth2PropsDef extends BaseObject diff --git a/src/OnEvents.php b/src/OnEvents.php index 6056075..98ebe20 100644 --- a/src/OnEvents.php +++ b/src/OnEvents.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class OnEvents extends BaseObject diff --git a/src/OperationState.php b/src/OperationState.php index 41622c4..d3575d2 100644 --- a/src/OperationState.php +++ b/src/OperationState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class OperationState extends State diff --git a/src/OperationStateTimeout.php b/src/OperationStateTimeout.php index 96735b2..695027d 100644 --- a/src/OperationStateTimeout.php +++ b/src/OperationStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class OperationStateTimeOut extends BaseObject diff --git a/src/ParallelState.php b/src/ParallelState.php index d4c224a..8080b68 100644 --- a/src/ParallelState.php +++ b/src/ParallelState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ParallelState extends State diff --git a/src/ParallelStateTimeout.php b/src/ParallelStateTimeout.php index a8f21d2..c6d2870 100644 --- a/src/ParallelStateTimeout.php +++ b/src/ParallelStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ParallelStateTimeOut extends BaseObject diff --git a/src/ProduceEventDef.php b/src/ProduceEventDef.php index abf109a..d634596 100644 --- a/src/ProduceEventDef.php +++ b/src/ProduceEventDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class ProduceEventDef extends BaseObject diff --git a/src/RetryDef.php b/src/RetryDef.php index 75ed11b..961a0ac 100644 --- a/src/RetryDef.php +++ b/src/RetryDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class RetryDef extends BaseObject diff --git a/src/Schedule.php b/src/Schedule.php index 7113971..8dd1166 100644 --- a/src/Schedule.php +++ b/src/Schedule.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Schedule extends BaseObject diff --git a/src/Serializable.php b/src/Serializable.php index 2239375..776f9b0 100644 --- a/src/Serializable.php +++ b/src/Serializable.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Serializable extends BaseObject diff --git a/src/Sleep.php b/src/Sleep.php index de51464..e86dc8a 100644 --- a/src/Sleep.php +++ b/src/Sleep.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Sleep extends BaseObject diff --git a/src/SleepState.php b/src/SleepState.php index b52d8e3..fce7669 100644 --- a/src/SleepState.php +++ b/src/SleepState.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class SleepState extends State diff --git a/src/SleepStateTimeout.php b/src/SleepStateTimeout.php index 494256a..ba880c2 100644 --- a/src/SleepStateTimeout.php +++ b/src/SleepStateTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class SleepStateTimeOut extends BaseObject diff --git a/src/StartDef.php b/src/StartDef.php index b9f89ef..0adbaa9 100644 --- a/src/StartDef.php +++ b/src/StartDef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class StartDef extends BaseObject diff --git a/src/State.php b/src/State.php index 0d75374..bd771f8 100644 --- a/src/State.php +++ b/src/State.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; class State extends BaseObject diff --git a/src/StateDataFilter.php b/src/StateDataFilter.php index bd7ce57..96ae481 100644 --- a/src/StateDataFilter.php +++ b/src/StateDataFilter.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class StateDataFilter extends BaseObject diff --git a/src/StateExecTimeout.php b/src/StateExecTimeout.php index d23548a..8c9e7df 100644 --- a/src/StateExecTimeout.php +++ b/src/StateExecTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class StateExecTimeOut extends BaseObject diff --git a/src/SubFlowRef.php b/src/SubFlowRef.php index 9ee7fc5..07a44cd 100644 --- a/src/SubFlowRef.php +++ b/src/SubFlowRef.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class SubFlowRef extends BaseObject diff --git a/src/Transition.php b/src/Transition.php index 702baac..ecac608 100644 --- a/src/Transition.php +++ b/src/Transition.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class Transition extends BaseObject diff --git a/src/TransitionDataCondition.php b/src/TransitionDataCondition.php index 6e3d238..1e0a1d8 100644 --- a/src/TransitionDataCondition.php +++ b/src/TransitionDataCondition.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class TransitionDataCondition extends BaseObject diff --git a/src/TransitionEventCondition.php b/src/TransitionEventCondition.php index 6fc5299..97ebce4 100644 --- a/src/TransitionEventCondition.php +++ b/src/TransitionEventCondition.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class TransitionEventCondition extends BaseObject diff --git a/src/Workflow.php b/src/Workflow.php index 5e0352b..64bdcd1 100644 --- a/src/Workflow.php +++ b/src/Workflow.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; use Symfony\Component\Yaml\Yaml; diff --git a/src/WorkflowExecTimeout.php b/src/WorkflowExecTimeout.php index aafa586..5d38246 100644 --- a/src/WorkflowExecTimeout.php +++ b/src/WorkflowExecTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class WorkflowExecTimeOut extends BaseObject diff --git a/src/WorkflowTimeout.php b/src/WorkflowTimeout.php index b64af02..4c2fef3 100644 --- a/src/WorkflowTimeout.php +++ b/src/WorkflowTimeout.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; final class WorkflowTimeOut extends BaseObject diff --git a/src/WorkflowValidator.php b/src/WorkflowValidator.php index 36063a5..e981fe4 100644 --- a/src/WorkflowValidator.php +++ b/src/WorkflowValidator.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace Serverless\Workflow; use Swaggest\JsonSchema\Schema; diff --git a/tests/Unit/WorkflowTest.php b/tests/Unit/WorkflowTest.php index 9c2f90c..b88af8e 100644 --- a/tests/Unit/WorkflowTest.php +++ b/tests/Unit/WorkflowTest.php @@ -2,6 +2,22 @@ declare(strict_types=1); +/** + * Copyright 2020-Present The Serverless Workflow Specification Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + use PHPUnit\Framework\TestCase; use Serverless\Workflow\Action;