diff --git a/Classes/Eel/Helper/ChainHelper.php b/Classes/Eel/Helper/ChainHelper.php index a54f0ad..a6fdb75 100644 --- a/Classes/Eel/Helper/ChainHelper.php +++ b/Classes/Eel/Helper/ChainHelper.php @@ -50,7 +50,10 @@ public function getCombinedErrorMessages(): string return implode(PHP_EOL, $messages); } - public function allowsCallOfMethod(string $methodName): bool + /** + * @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint + */ + public function allowsCallOfMethod($methodName): bool { return $this->runtime->isTaskContext(); } diff --git a/Classes/Eel/Helper/LockHelper.php b/Classes/Eel/Helper/LockHelper.php index 8637e82..6944de4 100644 --- a/Classes/Eel/Helper/LockHelper.php +++ b/Classes/Eel/Helper/LockHelper.php @@ -100,7 +100,10 @@ public function isUnset(string $lockName): bool return ! $this->isSet($lockName); } - public function allowsCallOfMethod(string $methodName): bool + /** + * @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint + */ + public function allowsCallOfMethod($methodName): bool { return substr($methodName, 0, 2) === 'is' || $this->runtime->isTaskContext(); } diff --git a/Configuration/Settings.Reflection.yaml b/Configuration/Settings.Reflection.yaml new file mode 100644 index 0000000..36402fa --- /dev/null +++ b/Configuration/Settings.Reflection.yaml @@ -0,0 +1,5 @@ +Neos: + Flow: + reflection: + ignoredTags: + 'phpcsSuppress': TRUE