From 82d22f18b638c4a8ffabc648af9173391d7a5555 Mon Sep 17 00:00:00 2001 From: mscherer Date: Fri, 7 Sep 2018 16:07:07 +0200 Subject: [PATCH 1/4] Fix api annotations. --- .../Service/Process/Model/StreamService.php | 4 ---- .../Process/Model/StreamServiceInterface.php | 4 ---- .../Service/Process/ProcessService.php | 3 --- .../Service/Process/ProcessServiceInterface.php | 4 ---- .../ProcessCommunicationFactory.php | 2 +- .../ConfigurationProfilePluginInterface.php | 6 ++++++ .../ProcessConfigurationPluginInterface.php | 16 ++++++++++++++++ .../Hook/PostProcessorHookPluginInterface.php | 4 ++++ .../Hook/PreProcessorHookPluginInterface.php | 4 ++++ .../Iterator/ProcessIteratorPluginInterface.php | 4 ++++ .../Log/MiddlewareLogHandlerPluginInterface.php | 2 ++ .../MiddlewareLoggerConfigPluginInterface.php | 4 ++++ .../Plugin/MapRule/MapRulePluginInterface.php | 4 ++++ .../Dependency/Plugin/StagePluginInterface.php | 2 ++ .../Plugin/Stream/InputStreamPluginInterface.php | 4 ++++ .../Stream/OutputStreamPluginInterface.php | 4 ++++ .../GenericTranslatorFunctionPluginInterface.php | 2 ++ .../TranslatorFunctionPluginInterface.php | 4 ++++ .../GenericValidatorPluginInterface.php | 2 ++ .../Validator/ValidatorPluginInterface.php | 4 ++++ .../Zed/Process/Business/Stream/StreamTest.php | 6 ++++-- 21 files changed, 71 insertions(+), 18 deletions(-) diff --git a/src/SprykerMiddleware/Service/Process/Model/StreamService.php b/src/SprykerMiddleware/Service/Process/Model/StreamService.php index 34118b4..99531d3 100644 --- a/src/SprykerMiddleware/Service/Process/Model/StreamService.php +++ b/src/SprykerMiddleware/Service/Process/Model/StreamService.php @@ -15,8 +15,6 @@ class StreamService implements StreamServiceInterface /** * Stream service * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $stream * * @return mixed @@ -29,8 +27,6 @@ public function read(ReadStreamInterface $stream) /** * Stream service * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $stream * @param array $data * diff --git a/src/SprykerMiddleware/Service/Process/Model/StreamServiceInterface.php b/src/SprykerMiddleware/Service/Process/Model/StreamServiceInterface.php index e8cff12..44800b1 100644 --- a/src/SprykerMiddleware/Service/Process/Model/StreamServiceInterface.php +++ b/src/SprykerMiddleware/Service/Process/Model/StreamServiceInterface.php @@ -15,8 +15,6 @@ interface StreamServiceInterface /** * Stream service interface. * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $stream * * @return mixed @@ -26,8 +24,6 @@ public function read(ReadStreamInterface $stream); /** * Stream service interface. * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $stream * @param mixed $data * diff --git a/src/SprykerMiddleware/Service/Process/ProcessService.php b/src/SprykerMiddleware/Service/Process/ProcessService.php index c5cf465..9d87c90 100644 --- a/src/SprykerMiddleware/Service/Process/ProcessService.php +++ b/src/SprykerMiddleware/Service/Process/ProcessService.php @@ -19,8 +19,6 @@ class ProcessService extends AbstractService implements ProcessServiceInterface /** * {@inheritdoc} * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $stream * * @return mixed @@ -35,7 +33,6 @@ public function read(ReadStreamInterface $stream) /** * {@inheritdoc} * - * @api * * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $stream * @param mixed $data diff --git a/src/SprykerMiddleware/Service/Process/ProcessServiceInterface.php b/src/SprykerMiddleware/Service/Process/ProcessServiceInterface.php index 4cbdb40..9eeb61e 100644 --- a/src/SprykerMiddleware/Service/Process/ProcessServiceInterface.php +++ b/src/SprykerMiddleware/Service/Process/ProcessServiceInterface.php @@ -16,8 +16,6 @@ interface ProcessServiceInterface * Specification: * - Read data from given stream. * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $stream * * @return mixed @@ -28,8 +26,6 @@ public function read(ReadStreamInterface $stream); * Specification: * - Write given data to given stream. * - * @api - * * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $stream * @param mixed $data * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/ProcessCommunicationFactory.php b/src/SprykerMiddleware/Zed/Process/Communication/ProcessCommunicationFactory.php index 4c962d5..0d40975 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/ProcessCommunicationFactory.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/ProcessCommunicationFactory.php @@ -113,7 +113,7 @@ public function createStdErrStreamHandler(): AbstractHandler } /** - * @return \Monolog\Formatter\FormatterInterface|\Monolog\Formatter\FormatterInterface + * @return \Monolog\Formatter\FormatterInterface */ public function createLogstashFormatter(): FormatterInterface { diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ConfigurationProfilePluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ConfigurationProfilePluginInterface.php index 8f75e84..6898f18 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ConfigurationProfilePluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ConfigurationProfilePluginInterface.php @@ -10,16 +10,22 @@ interface ConfigurationProfilePluginInterface { /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Configuration\ProcessConfigurationPluginInterface[] */ public function getProcessConfigurationPlugins(): array; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\TranslatorFunction\TranslatorFunctionPluginInterface[] */ public function getTranslatorFunctionPlugins(): array; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Validator\ValidatorPluginInterface[] */ public function getValidatorPlugins(): array; diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ProcessConfigurationPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ProcessConfigurationPluginInterface.php index 9f4d1db..6c5e861 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ProcessConfigurationPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Configuration/ProcessConfigurationPluginInterface.php @@ -15,41 +15,57 @@ interface ProcessConfigurationPluginInterface { /** + * @api + * * @return string */ public function getProcessName(): string; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Stream\InputStreamPluginInterface */ public function getInputStreamPlugin(): InputStreamPluginInterface; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Stream\OutputStreamPluginInterface */ public function getOutputStreamPlugin(): OutputStreamPluginInterface; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Iterator\ProcessIteratorPluginInterface */ public function getIteratorPlugin(): ProcessIteratorPluginInterface; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\StagePluginInterface[] */ public function getStagePlugins(): array; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Log\MiddlewareLoggerConfigPluginInterface */ public function getLoggerPlugin(): MiddlewareLoggerConfigPluginInterface; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Hook\PreProcessorHookPluginInterface[] */ public function getPreProcessorHookPlugins(): array; /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Hook\PostProcessorHookPluginInterface[] */ public function getPostProcessorHookPlugins(): array; diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PostProcessorHookPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PostProcessorHookPluginInterface.php index 616d492..c17f473 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PostProcessorHookPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PostProcessorHookPluginInterface.php @@ -12,11 +12,15 @@ interface PostProcessorHookPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param \Generated\Shared\Transfer\ProcessResultTransfer|null $processResultTransfer * * @return void diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PreProcessorHookPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PreProcessorHookPluginInterface.php index 22e8dbb..19c5d9e 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PreProcessorHookPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Hook/PreProcessorHookPluginInterface.php @@ -12,11 +12,15 @@ interface PreProcessorHookPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param \Generated\Shared\Transfer\ProcessResultTransfer|null $processResultTransfer * * @return void diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Iterator/ProcessIteratorPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Iterator/ProcessIteratorPluginInterface.php index 1445627..66f2ff4 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Iterator/ProcessIteratorPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Iterator/ProcessIteratorPluginInterface.php @@ -14,11 +14,15 @@ interface ProcessIteratorPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $inputStream * @param \Generated\Shared\Transfer\IteratorConfigTransfer $iteratorConfigTransfer * diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLogHandlerPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLogHandlerPluginInterface.php index c75ac64..5542de5 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLogHandlerPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLogHandlerPluginInterface.php @@ -12,6 +12,8 @@ interface MiddlewareLogHandlerPluginInterface extends HandlerInterface { /** + * @api + * * @param int|string $level * * @return \Monolog\Handler\HandlerInterface diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLoggerConfigPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLoggerConfigPluginInterface.php index 199f3c3..5a7edfc 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLoggerConfigPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Log/MiddlewareLoggerConfigPluginInterface.php @@ -12,6 +12,8 @@ interface MiddlewareLoggerConfigPluginInterface extends LoggerConfigInterface { /** + * @api + * * @return string */ public function getName(): string; @@ -19,6 +21,8 @@ public function getName(): string; /** * Sets minimum logging level at which all handlers will be triggered. * + * @api + * * @param int|string $level Level or level name * * @return void diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/MapRule/MapRulePluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/MapRule/MapRulePluginInterface.php index 6e3310d..0e9cab6 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/MapRule/MapRulePluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/MapRule/MapRulePluginInterface.php @@ -14,6 +14,8 @@ interface MapRulePluginInterface public const OPTION_DYNAMIC_IDENTIFIER = '&'; /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -25,6 +27,8 @@ interface MapRulePluginInterface public function map(array $result, array $payload, string $key, $value, string $strategy): array; /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/StagePluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/StagePluginInterface.php index 736b95e..b8770bf 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/StagePluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/StagePluginInterface.php @@ -12,6 +12,8 @@ interface StagePluginInterface { /** + * @api + * * @return string */ public function getName(): string; diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/InputStreamPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/InputStreamPluginInterface.php index 73537df..ed47fe9 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/InputStreamPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/InputStreamPluginInterface.php @@ -12,11 +12,15 @@ interface InputStreamPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/OutputStreamPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/OutputStreamPluginInterface.php index 6992743..afe751d 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/OutputStreamPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Stream/OutputStreamPluginInterface.php @@ -12,11 +12,15 @@ interface OutputStreamPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/GenericTranslatorFunctionPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/GenericTranslatorFunctionPluginInterface.php index d81b620..5468d18 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/GenericTranslatorFunctionPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/GenericTranslatorFunctionPluginInterface.php @@ -10,6 +10,8 @@ interface GenericTranslatorFunctionPluginInterface extends TranslatorFunctionPluginInterface { /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string; diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/TranslatorFunctionPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/TranslatorFunctionPluginInterface.php index 69729ea..51dbd29 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/TranslatorFunctionPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/TranslatorFunction/TranslatorFunctionPluginInterface.php @@ -10,11 +10,15 @@ interface TranslatorFunctionPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param mixed $value * @param array $payload * @param string $key diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/GenericValidatorPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/GenericValidatorPluginInterface.php index 269c04f..083ac20 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/GenericValidatorPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/GenericValidatorPluginInterface.php @@ -10,6 +10,8 @@ interface GenericValidatorPluginInterface extends ValidatorPluginInterface { /** + * @api + * * @return string */ public function getValidatorClassName(): string; diff --git a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/ValidatorPluginInterface.php b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/ValidatorPluginInterface.php index 2e392ee..f5492db 100644 --- a/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/ValidatorPluginInterface.php +++ b/src/SprykerMiddleware/Zed/Process/Dependency/Plugin/Validator/ValidatorPluginInterface.php @@ -10,11 +10,15 @@ interface ValidatorPluginInterface { /** + * @api + * * @return string */ public function getName(): string; /** + * @api + * * @param mixed $value * @param array $payload * @param string $key diff --git a/tests/SprykerMiddlewareTest/Zed/Process/Business/Stream/StreamTest.php b/tests/SprykerMiddlewareTest/Zed/Process/Business/Stream/StreamTest.php index b90fd93..5ef23fb 100644 --- a/tests/SprykerMiddlewareTest/Zed/Process/Business/Stream/StreamTest.php +++ b/tests/SprykerMiddlewareTest/Zed/Process/Business/Stream/StreamTest.php @@ -22,7 +22,9 @@ */ class StreamTest extends Unit { - /** @var \SprykerMiddleware\Zed\Process\Business\Stream\StreamFactory */ + /** + * @var \SprykerMiddleware\Zed\Process\Business\Stream\StreamFactory + */ protected $factory; protected const VALUE_TEST_ARRAY = [ @@ -45,7 +47,7 @@ class StreamTest extends Unit protected const PATH_SUPPORT_STREAM_FILES = __DIR__ . '/../../_support/stream/files/'; /** - * @param null|string $name + * @param string|null $name * @param array $data * @param string $dataName */ From 80473f8d719ecffa57c9c73754c7fcf65c1a04d9 Mon Sep 17 00:00:00 2001 From: mscherer Date: Fri, 7 Sep 2018 16:18:03 +0200 Subject: [PATCH 2/4] Fix api annotations. --- composer.json | 2 +- .../DefaultConfigurationProfilePlugin.php | 6 ++++++ .../Plugin/Handler/StdErrStreamHandlerPlugin.php | 16 ++++++++++++++++ .../Iterator/JsonDirectoryIteratorPlugin.php | 4 ++++ .../Plugin/Iterator/NullIteratorPlugin.php | 4 ++++ .../Plugin/Log/MiddlewareLoggerConfigPlugin.php | 10 ++++++++++ .../Plugin/MapRule/ArrayMapRulePlugin.php | 4 ++++ .../Plugin/MapRule/ClosureMapRulePlugin.php | 4 ++++ .../Plugin/MapRule/DynamicArrayMapRulePlugin.php | 4 ++++ .../Plugin/MapRule/DynamicMapRulePlugin.php | 4 ++++ .../Plugin/MapRule/KeyMapRulePlugin.php | 4 ++++ .../Processor/IntrospectionProcessorPlugin.php | 2 ++ .../Plugin/Stream/CsvInputStreamPlugin.php | 4 ++++ .../Plugin/Stream/CsvOutputStreamPlugin.php | 4 ++++ .../Plugin/Stream/DirectoryStreamPlugin.php | 4 ++++ .../Plugin/Stream/JsonInputStreamPlugin.php | 4 ++++ .../Plugin/Stream/JsonOutputStreamPlugin.php | 4 ++++ .../Plugin/StreamReaderStagePlugin.php | 12 +++++++++++- .../Plugin/StreamWriterStagePlugin.php | 12 +++++++++++- .../AbstractGenericTranslatorFunctionPlugin.php | 6 ++++++ .../ArrayToStringTranslatorFunctionPlugin.php | 4 ++++ .../BoolToStringTranslatorFunctionPlugin.php | 4 ++++ .../DateTimeToStringTranslatorFunctionPlugin.php | 4 ++++ .../EnumTranslatorFunctionPlugin.php | 4 ++++ ...AssociativeFilterTranslatorFunctionPlugin.php | 4 ++++ ...AssociativeFilterTranslatorFunctionPlugin.php | 4 ++++ ...esSequentalFilterTranslatorFunctionPlugin.php | 4 ++++ .../FloatToIntTranslatorFunctionPlugin.php | 4 ++++ .../FloatToStringTranslatorFunctionPlugin.php | 4 ++++ .../IntToFloatTranslatorFunctionPlugin.php | 4 ++++ .../IntToStringTranslatorFunctionPlugin.php | 4 ++++ ...yDecimalToIntegerTranslatorFunctionPlugin.php | 4 ++++ ...yIntegerToDecimalTranslatorFunctionPlugin.php | 4 ++++ .../StringToArrayTranslatoFunctionPlugin.php | 4 ++++ .../StringToBoolTranslatorFunctionPlugin.php | 4 ++++ .../StringToDateTimeTranslatorFunctionPlugin.php | 4 ++++ .../StringToFloatTranslatorFunctionPlugin.php | 4 ++++ .../StringToIntTranslatorFunctionPlugin.php | 4 ++++ ...AssociativeFilterTranslatorFunctionPlugin.php | 4 ++++ .../Validator/AbstractGenericValidatorPlugin.php | 6 ++++++ .../Plugin/Validator/DateTimeValidatorPlugin.php | 4 ++++ .../Plugin/Validator/EqualToValidatorPlugin.php | 4 ++++ .../GreaterOrEqualThanValidatorPlugin.php | 4 ++++ .../Validator/GreaterThanValidatorPlugin.php | 4 ++++ .../Plugin/Validator/InListValidatorPlugin.php | 4 ++++ .../Plugin/Validator/LengthValidatorPlugin.php | 4 ++++ .../Validator/LessOrEqualThanValidatorPlugin.php | 4 ++++ .../Plugin/Validator/LessThanValidatorPlugin.php | 4 ++++ .../Plugin/Validator/NotBlankValidatorPlugin.php | 4 ++++ .../Validator/NotEqualToValidatorPlugin.php | 4 ++++ .../Plugin/Validator/RegexValidatorPlugin.php | 4 ++++ .../Plugin/Validator/RequiredValidatorPlugin.php | 4 ++++ .../Plugin/Validator/TypeValidatorPlugin.php | 4 ++++ 53 files changed, 245 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 914f3c0..ce2af12 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "require-dev": { "spryker/calculation": "*", "spryker/cart": "*", - "spryker/code-sniffer": "*", + "spryker/code-sniffer": "dev-list", "spryker/propel": "*", "spryker/silex": "*", "spryker/testify": "*", diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Configuration/DefaultConfigurationProfilePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Configuration/DefaultConfigurationProfilePlugin.php index 750dc8d..7abcf60 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Configuration/DefaultConfigurationProfilePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Configuration/DefaultConfigurationProfilePlugin.php @@ -17,6 +17,8 @@ class DefaultConfigurationProfilePlugin extends AbstractPlugin implements ConfigurationProfilePluginInterface { /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Configuration\ProcessConfigurationPluginInterface[] */ public function getProcessConfigurationPlugins(): array @@ -26,6 +28,8 @@ public function getProcessConfigurationPlugins(): array } /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\TranslatorFunction\TranslatorFunctionPluginInterface[] */ public function getTranslatorFunctionPlugins(): array @@ -35,6 +39,8 @@ public function getTranslatorFunctionPlugins(): array } /** + * @api + * * @return \SprykerMiddleware\Zed\Process\Dependency\Plugin\Validator\ValidatorPluginInterface[] */ public function getValidatorPlugins(): array diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Handler/StdErrStreamHandlerPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Handler/StdErrStreamHandlerPlugin.php index e4a8124..ce33604 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Handler/StdErrStreamHandlerPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Handler/StdErrStreamHandlerPlugin.php @@ -37,6 +37,8 @@ protected function getHandler(): AbstractHandler } /** + * @api + * * @param array $record * * @return bool @@ -47,6 +49,8 @@ public function isHandling(array $record): bool } /** + * @api + * * @param array $record * * @return bool @@ -57,6 +61,8 @@ public function handle(array $record): bool } /** + * @api + * * @param array $records * * @return void @@ -67,6 +73,8 @@ public function handleBatch(array $records): void } /** + * @api + * * @param callable $callback * * @return \Monolog\Handler\HandlerInterface @@ -77,6 +85,8 @@ public function pushProcessor($callback): HandlerInterface } /** + * @api + * * @return callable */ public function popProcessor(): callable @@ -85,6 +95,8 @@ public function popProcessor(): callable } /** + * @api + * * @param \Monolog\Formatter\FormatterInterface $formatter * * @return \Monolog\Handler\HandlerInterface @@ -95,6 +107,8 @@ public function setFormatter(FormatterInterface $formatter): HandlerInterface } /** + * @api + * * @return \Monolog\Formatter\FormatterInterface */ public function getFormatter(): FormatterInterface @@ -103,6 +117,8 @@ public function getFormatter(): FormatterInterface } /** + * @api + * * @param int|string $level * * @return \Monolog\Handler\HandlerInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/JsonDirectoryIteratorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/JsonDirectoryIteratorPlugin.php index c2e3bb5..c777fdc 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/JsonDirectoryIteratorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/JsonDirectoryIteratorPlugin.php @@ -22,6 +22,8 @@ class JsonDirectoryIteratorPlugin extends AbstractPlugin implements ProcessItera protected const PLUGIN_NAME = 'JsonDirectoryIteratorPlugin'; /** + * @api + * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $inStream * @param \Generated\Shared\Transfer\IteratorConfigTransfer $iteratorConfigTransfer * @@ -35,6 +37,8 @@ public function getIterator(ReadStreamInterface $inStream, IteratorConfigTransfe } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/NullIteratorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/NullIteratorPlugin.php index 60e7dcf..5f5c15c 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/NullIteratorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Iterator/NullIteratorPlugin.php @@ -22,6 +22,8 @@ class NullIteratorPlugin extends AbstractPlugin implements ProcessIteratorPlugin protected const PLUGIN_NAME = 'NullIteratorPlugin'; /** + * @api + * * @param \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface $inStream * @param \Generated\Shared\Transfer\IteratorConfigTransfer $iteratorConfigTransfer * @@ -35,6 +37,8 @@ public function getIterator(ReadStreamInterface $inStream, IteratorConfigTransfe } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Log/MiddlewareLoggerConfigPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Log/MiddlewareLoggerConfigPlugin.php index 6e91ea6..ec7b6ef 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Log/MiddlewareLoggerConfigPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Log/MiddlewareLoggerConfigPlugin.php @@ -25,6 +25,8 @@ class MiddlewareLoggerConfigPlugin extends AbstractPlugin implements MiddlewareL protected $handlers; /** + * @api + * * @return string */ public function getChannelName(): string @@ -33,6 +35,8 @@ public function getChannelName(): string } /** + * @api + * * @return \Monolog\Handler\AbstractHandler[] */ public function getHandlers(): array @@ -45,6 +49,8 @@ public function getHandlers(): array } /** + * @api + * * @return callable[] */ public function getProcessors(): array @@ -55,6 +61,8 @@ public function getProcessors(): array /** * Sets minimum logging level at which all handlers will be triggered. * + * @api + * * @param int|string $level Level or level name * * @return void @@ -68,6 +76,8 @@ public function changeLogLevel($level): void } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ArrayMapRulePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ArrayMapRulePlugin.php index 82a4fa0..9d7e8fd 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ArrayMapRulePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ArrayMapRulePlugin.php @@ -18,6 +18,8 @@ class ArrayMapRulePlugin extends AbstractPlugin implements MapRulePluginInterface { /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -32,6 +34,8 @@ public function map(array $result, array $payload, string $key, $value, string $ } /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ClosureMapRulePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ClosureMapRulePlugin.php index f676181..4c6165d 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ClosureMapRulePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/ClosureMapRulePlugin.php @@ -18,6 +18,8 @@ class ClosureMapRulePlugin extends AbstractPlugin implements MapRulePluginInterface { /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -32,6 +34,8 @@ public function map(array $result, array $payload, string $key, $value, string $ } /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicArrayMapRulePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicArrayMapRulePlugin.php index f7d562e..f89052c 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicArrayMapRulePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicArrayMapRulePlugin.php @@ -21,6 +21,8 @@ class DynamicArrayMapRulePlugin extends AbstractPlugin implements MapRulePluginI use MiddlewareLoggerTrait; /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -35,6 +37,8 @@ public function map(array $result, array $payload, string $key, $value, string $ } /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicMapRulePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicMapRulePlugin.php index 4f26146..6e2b616 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicMapRulePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/DynamicMapRulePlugin.php @@ -17,6 +17,8 @@ class DynamicMapRulePlugin extends AbstractPlugin implements MapRulePluginInterface { /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -31,6 +33,8 @@ public function map(array $result, array $payload, string $key, $value, string $ } /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/KeyMapRulePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/KeyMapRulePlugin.php index 30a7102..27b2c77 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/KeyMapRulePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/MapRule/KeyMapRulePlugin.php @@ -17,6 +17,8 @@ class KeyMapRulePlugin extends AbstractPlugin implements MapRulePluginInterface { /** + * @api + * * @param array $result * @param array $payload * @param string $key @@ -31,6 +33,8 @@ public function map(array $result, array $payload, string $key, $value, string $ } /** + * @api + * * @param string $key * @param mixed $value * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Processor/IntrospectionProcessorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Processor/IntrospectionProcessorPlugin.php index a265829..33e8435 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Processor/IntrospectionProcessorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Processor/IntrospectionProcessorPlugin.php @@ -18,6 +18,8 @@ class IntrospectionProcessorPlugin extends AbstractPlugin implements LogProcessorPluginInterface { /** + * @api + * * @param array $data * * @return array diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvInputStreamPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvInputStreamPlugin.php index fea2956..bcfea64 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvInputStreamPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvInputStreamPlugin.php @@ -20,6 +20,8 @@ class CsvInputStreamPlugin extends AbstractPlugin implements InputStreamPluginIn protected const PLUGIN_NAME = 'CsvInputStreamPlugin'; /** + * @api + * * @return string */ public function getName(): string @@ -28,6 +30,8 @@ public function getName(): string } /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvOutputStreamPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvOutputStreamPlugin.php index ccffd34..9539305 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvOutputStreamPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/CsvOutputStreamPlugin.php @@ -20,6 +20,8 @@ class CsvOutputStreamPlugin extends AbstractPlugin implements OutputStreamPlugin protected const PLUGIN_NAME = 'CsvOutputStreamPlugin'; /** + * @api + * * @return string */ public function getName(): string @@ -28,6 +30,8 @@ public function getName(): string } /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/DirectoryStreamPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/DirectoryStreamPlugin.php index 4606e26..e66d114 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/DirectoryStreamPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/DirectoryStreamPlugin.php @@ -20,6 +20,8 @@ class DirectoryStreamPlugin extends AbstractPlugin implements InputStreamPluginI protected const PLUGIN_NAME = 'DirectoryStreamPlugin'; /** + * @api + * * @return string */ public function getName(): string @@ -28,6 +30,8 @@ public function getName(): string } /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonInputStreamPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonInputStreamPlugin.php index 8499c41..ec15eda 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonInputStreamPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonInputStreamPlugin.php @@ -20,6 +20,8 @@ class JsonInputStreamPlugin extends AbstractPlugin implements InputStreamPluginI protected const PLUGIN_NAME = 'JsonInputStreamPlugin'; /** + * @api + * * @return string */ public function getName(): string @@ -28,6 +30,8 @@ public function getName(): string } /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\ReadStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonOutputStreamPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonOutputStreamPlugin.php index 6484878..824c7de 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonOutputStreamPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Stream/JsonOutputStreamPlugin.php @@ -20,6 +20,8 @@ class JsonOutputStreamPlugin extends AbstractPlugin implements OutputStreamPlugi protected const PLUGIN_NAME = 'JsonOutputStreamPlugin'; /** + * @api + * * @return string */ public function getName(): string @@ -28,6 +30,8 @@ public function getName(): string } /** + * @api + * * @param string $path * * @return \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php index d666700..8db9b2c 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php @@ -20,7 +20,15 @@ class StreamReaderStagePlugin extends AbstractPlugin implements StagePluginInter protected const PLUGIN_NAME = 'StreamReaderStagePlugin'; /** - * @inheritdoc + * {inheritDoc} + * + * @api + * + * @param mixed $inputStream + * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $outStream + * @param mixed $originalPayload + * + * @return mixed */ public function process($inputStream, WriteStreamInterface $outStream, $originalPayload) { @@ -30,6 +38,8 @@ public function process($inputStream, WriteStreamInterface $outStream, $original } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php index d8b529e..6e7cc01 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php @@ -20,7 +20,15 @@ class StreamWriterStagePlugin extends AbstractPlugin implements StagePluginInter protected const PLUGIN_NAME = 'StreamWriterStagePlugin'; /** - * @inheritdoc + * {inheritDoc} + * + * @api + * + * @param mixed $payload + * @param \SprykerMiddleware\Shared\Process\Stream\WriteStreamInterface $outStream + * @param mixed $originalPayload + * + * @return mixed */ public function process($payload, WriteStreamInterface $outStream, $originalPayload) { @@ -32,6 +40,8 @@ public function process($payload, WriteStreamInterface $outStream, $originalPayl } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/AbstractGenericTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/AbstractGenericTranslatorFunctionPlugin.php index 25bc9ff..e71e190 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/AbstractGenericTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/AbstractGenericTranslatorFunctionPlugin.php @@ -17,16 +17,22 @@ abstract class AbstractGenericTranslatorFunctionPlugin extends AbstractPlugin implements GenericTranslatorFunctionPluginInterface { /** + * @api + * * @return string */ abstract public function getName(): string; /** + * @api + * * @return string */ abstract public function getTranslatorFunctionClassName(): string; /** + * @api + * * @param mixed $value * @param array $payload * @param string $key diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ArrayToStringTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ArrayToStringTranslatorFunctionPlugin.php index 761fada..c7e1f17 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ArrayToStringTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ArrayToStringTranslatorFunctionPlugin.php @@ -17,6 +17,8 @@ class ArrayToStringTranslatorFunctionPlugin extends AbstractGenericTranslatorFun public const NAME = 'ArrayToString'; /** + * @api + * * @return string */ public function getName(): string @@ -25,6 +27,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/BoolToStringTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/BoolToStringTranslatorFunctionPlugin.php index 1633639..1e04392 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/BoolToStringTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/BoolToStringTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class BoolToStringTranslatorFunctionPlugin extends AbstractGenericTranslatorFunc public const NAME = 'BoolToString'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/DateTimeToStringTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/DateTimeToStringTranslatorFunctionPlugin.php index b08ed8c..28b9a50 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/DateTimeToStringTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/DateTimeToStringTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class DateTimeToStringTranslatorFunctionPlugin extends AbstractGenericTranslator public const NAME = 'DateTimeToString'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/EnumTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/EnumTranslatorFunctionPlugin.php index fe4c17b..b2f947e 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/EnumTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/EnumTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class EnumTranslatorFunctionPlugin extends AbstractGenericTranslatorFunctionPlug public const NAME = 'Enum'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeKeysAssociativeFilterTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeKeysAssociativeFilterTranslatorFunctionPlugin.php index be1d125..7e79a17 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeKeysAssociativeFilterTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeKeysAssociativeFilterTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class ExcludeKeysAssociativeFilterTranslatorFunctionPlugin extends AbstractGener public const NAME = 'ExcludeKeysAssociativeFilter'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesAssociativeFilterTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesAssociativeFilterTranslatorFunctionPlugin.php index 96e6ca1..4d618d4 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesAssociativeFilterTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesAssociativeFilterTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class ExcludeValuesAssociativeFilterTranslatorFunctionPlugin extends AbstractGen public const NAME = 'ExcludeValuesAssociativeFilter'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesSequentalFilterTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesSequentalFilterTranslatorFunctionPlugin.php index 1a82d89..9415171 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesSequentalFilterTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/ExcludeValuesSequentalFilterTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class ExcludeValuesSequentalFilterTranslatorFunctionPlugin extends AbstractGener public const NAME = 'ExcludeValuesSequentalFilter'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToIntTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToIntTranslatorFunctionPlugin.php index d33f885..95f627f 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToIntTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToIntTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class FloatToIntTranslatorFunctionPlugin extends AbstractGenericTranslatorFuncti public const NAME = 'FloatToInt'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToStringTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToStringTranslatorFunctionPlugin.php index 93e5d37..35a7039 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToStringTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/FloatToStringTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class FloatToStringTranslatorFunctionPlugin extends AbstractGenericTranslatorFun public const NAME = 'FloatToString'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToFloatTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToFloatTranslatorFunctionPlugin.php index ddb1be6..9a100ae 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToFloatTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToFloatTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class IntToFloatTranslatorFunctionPlugin extends AbstractGenericTranslatorFuncti public const NAME = 'IntToFloat'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToStringTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToStringTranslatorFunctionPlugin.php index a9c9fa3..cab7f68 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToStringTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/IntToStringTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class IntToStringTranslatorFunctionPlugin extends AbstractGenericTranslatorFunct public const NAME = 'IntToString'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyDecimalToIntegerTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyDecimalToIntegerTranslatorFunctionPlugin.php index fa0e466..3c274fd 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyDecimalToIntegerTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyDecimalToIntegerTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class MoneyDecimalToIntegerTranslatorFunctionPlugin extends AbstractGenericTrans public const NAME = 'MoneyDecimalToInteger'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyIntegerToDecimalTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyIntegerToDecimalTranslatorFunctionPlugin.php index 47a8729..f96237e 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyIntegerToDecimalTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/MoneyIntegerToDecimalTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class MoneyIntegerToDecimalTranslatorFunctionPlugin extends AbstractGenericTrans public const NAME = 'MoneyIntegerToDecimal'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToArrayTranslatoFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToArrayTranslatoFunctionPlugin.php index 02f1912..bcb424a 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToArrayTranslatoFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToArrayTranslatoFunctionPlugin.php @@ -17,6 +17,8 @@ class StringToArrayTranslatoFunctionPlugin extends AbstractGenericTranslatorFunc public const NAME = 'StringToArray'; /** + * @api + * * @return string */ public function getName(): string @@ -25,6 +27,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToBoolTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToBoolTranslatorFunctionPlugin.php index 1777d17..6e8efa6 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToBoolTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToBoolTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class StringToBoolTranslatorFunctionPlugin extends AbstractGenericTranslatorFunc public const NAME = 'StringToBool'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToDateTimeTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToDateTimeTranslatorFunctionPlugin.php index fdfd082..b4094ba 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToDateTimeTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToDateTimeTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class StringToDateTimeTranslatorFunctionPlugin extends AbstractGenericTranslator public const NAME = 'StringToDateTime'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToFloatTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToFloatTranslatorFunctionPlugin.php index d7094a8..0f085fb 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToFloatTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToFloatTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class StringToFloatTranslatorFunctionPlugin extends AbstractGenericTranslatorFun public const NAME = 'StringToFloat'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToIntTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToIntTranslatorFunctionPlugin.php index 0bc6abe..996b521 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToIntTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/StringToIntTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class StringToIntTranslatorFunctionPlugin extends AbstractGenericTranslatorFunct public const NAME = 'StringToInt'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/WhitelistKeysAssociativeFilterTranslatorFunctionPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/WhitelistKeysAssociativeFilterTranslatorFunctionPlugin.php index 7eee723..f0acc09 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/WhitelistKeysAssociativeFilterTranslatorFunctionPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/TranslatorFunction/WhitelistKeysAssociativeFilterTranslatorFunctionPlugin.php @@ -14,6 +14,8 @@ class WhitelistKeysAssociativeFilterTranslatorFunctionPlugin extends AbstractGen public const NAME = 'WhitelistKeysAssociativeFilter'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getTranslatorFunctionClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/AbstractGenericValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/AbstractGenericValidatorPlugin.php index 0684ba8..fded368 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/AbstractGenericValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/AbstractGenericValidatorPlugin.php @@ -16,16 +16,22 @@ abstract class AbstractGenericValidatorPlugin extends AbstractPlugin implements GenericValidatorPluginInterface { /** + * @api + * * @return string */ abstract public function getValidatorClassName(): string; /** + * @api + * * @return string */ abstract public function getName(): string; /** + * @api + * * @param mixed $value * @param array $payload * @param string $key diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/DateTimeValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/DateTimeValidatorPlugin.php index 5ffbafb..6a248c5 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/DateTimeValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/DateTimeValidatorPlugin.php @@ -14,6 +14,8 @@ class DateTimeValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'DateTime'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/EqualToValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/EqualToValidatorPlugin.php index 362eaa6..7939710 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/EqualToValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/EqualToValidatorPlugin.php @@ -14,6 +14,8 @@ class EqualToValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'EqualTo'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterOrEqualThanValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterOrEqualThanValidatorPlugin.php index 36cda5d..85de233 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterOrEqualThanValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterOrEqualThanValidatorPlugin.php @@ -14,6 +14,8 @@ class GreaterOrEqualThanValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'GreaterOrEqualThan'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterThanValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterThanValidatorPlugin.php index 5f9a6c9..abca67d 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterThanValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/GreaterThanValidatorPlugin.php @@ -14,6 +14,8 @@ class GreaterThanValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'GreaterThan'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/InListValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/InListValidatorPlugin.php index 8fdd524..b41af23 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/InListValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/InListValidatorPlugin.php @@ -14,6 +14,8 @@ class InListValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'InList'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LengthValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LengthValidatorPlugin.php index 03d2e5c..9f27fe6 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LengthValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LengthValidatorPlugin.php @@ -14,6 +14,8 @@ class LengthValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'Length'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessOrEqualThanValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessOrEqualThanValidatorPlugin.php index 89358fa..22a8f68 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessOrEqualThanValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessOrEqualThanValidatorPlugin.php @@ -14,6 +14,8 @@ class LessOrEqualThanValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'LessOrEqualThan'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessThanValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessThanValidatorPlugin.php index 3161d72..4ffd776 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessThanValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/LessThanValidatorPlugin.php @@ -14,6 +14,8 @@ class LessThanValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'LessThan'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotBlankValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotBlankValidatorPlugin.php index eb84b36..8996ad5 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotBlankValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotBlankValidatorPlugin.php @@ -14,6 +14,8 @@ class NotBlankValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'NotBlank'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getValidatorClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotEqualToValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotEqualToValidatorPlugin.php index b4bccf9..8db5846 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotEqualToValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/NotEqualToValidatorPlugin.php @@ -14,6 +14,8 @@ class NotEqualToValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'NotEqualTo'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RegexValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RegexValidatorPlugin.php index 77e67f3..dde7787 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RegexValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RegexValidatorPlugin.php @@ -14,6 +14,8 @@ class RegexValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'Regex'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RequiredValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RequiredValidatorPlugin.php index 113ae31..4f22bba 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RequiredValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/RequiredValidatorPlugin.php @@ -14,6 +14,8 @@ class RequiredValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'Required'; /** + * @api + * * @return string */ public function getName(): string @@ -22,6 +24,8 @@ public function getName(): string } /** + * @api + * * @return string */ public function getValidatorClassName(): string diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/TypeValidatorPlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/TypeValidatorPlugin.php index f9254c3..8791dc3 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/TypeValidatorPlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/Validator/TypeValidatorPlugin.php @@ -14,6 +14,8 @@ class TypeValidatorPlugin extends AbstractGenericValidatorPlugin public const NAME = 'Type'; /** + * @api + * * @return string */ public function getValidatorClassName(): string @@ -22,6 +24,8 @@ public function getValidatorClassName(): string } /** + * @api + * * @return string */ public function getName(): string From 7f8746d341519213aba0eff02d3e45691113a3da Mon Sep 17 00:00:00 2001 From: Mark Sch Date: Fri, 7 Sep 2018 16:46:49 +0200 Subject: [PATCH 3/4] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ce2af12..914f3c0 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "require-dev": { "spryker/calculation": "*", "spryker/cart": "*", - "spryker/code-sniffer": "dev-list", + "spryker/code-sniffer": "*", "spryker/propel": "*", "spryker/silex": "*", "spryker/testify": "*", From 7a744ef6a6667f727a9d4000b96e01caca585d6a Mon Sep 17 00:00:00 2001 From: mscherer Date: Fri, 7 Sep 2018 16:50:48 +0200 Subject: [PATCH 4/4] Fix CS. --- .../Process/Communication/Plugin/StreamReaderStagePlugin.php | 2 +- .../Process/Communication/Plugin/StreamWriterStagePlugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php index 8db9b2c..16f708a 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamReaderStagePlugin.php @@ -20,7 +20,7 @@ class StreamReaderStagePlugin extends AbstractPlugin implements StagePluginInter protected const PLUGIN_NAME = 'StreamReaderStagePlugin'; /** - * {inheritDoc} + * {@inheritDoc} * * @api * diff --git a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php index 6e7cc01..e63a978 100644 --- a/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php +++ b/src/SprykerMiddleware/Zed/Process/Communication/Plugin/StreamWriterStagePlugin.php @@ -20,7 +20,7 @@ class StreamWriterStagePlugin extends AbstractPlugin implements StagePluginInter protected const PLUGIN_NAME = 'StreamWriterStagePlugin'; /** - * {inheritDoc} + * {@inheritDoc} * * @api *