diff --git a/composer.json b/composer.json index 7a8bd9a0..b166e797 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ }, "require-dev": { "filp/whoops": "^2.15.4", - "laminas/laminas-coding-standard": "^2.5.0", + "laminas/laminas-coding-standard": "^3.0", "laminas/laminas-development-mode": "^3.12.0", "mezzio/mezzio-tooling": "^2.9.0", "phpunit/phpunit": "^10.5.9", diff --git a/phpcs.xml b/phpcs.xml index 10a9104c..a725e9d8 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -20,5 +20,8 @@ test - + + + + diff --git a/src/Admin/src/Entity/AdminIdentity.php b/src/Admin/src/Entity/AdminIdentity.php index d2209c0a..c4344e7a 100644 --- a/src/Admin/src/Entity/AdminIdentity.php +++ b/src/Admin/src/Entity/AdminIdentity.php @@ -32,16 +32,12 @@ public function getStatus(): string return $this->status; } - /** - * @return iterable - */ public function getRoles(): iterable { return $this->roles; } /** - * @return array * @psalm-return array */ public function getDetails(): array diff --git a/src/Admin/src/Form/AdminForm.php b/src/Admin/src/Form/AdminForm.php index 31ea51a9..c0c55671 100644 --- a/src/Admin/src/Form/AdminForm.php +++ b/src/Admin/src/Form/AdminForm.php @@ -28,9 +28,6 @@ public function __construct(?string $name = null, array $options = []) $this->inputFilter->init(); } - /** - * @param array $roles - */ public function setRoles(array $roles): void { $this->roles = $roles; diff --git a/src/Admin/src/FormData/AdminFormData.php b/src/Admin/src/FormData/AdminFormData.php index f311ca57..aef382a6 100644 --- a/src/Admin/src/FormData/AdminFormData.php +++ b/src/Admin/src/FormData/AdminFormData.php @@ -14,9 +14,6 @@ class AdminFormData public ?string $status = null; public array $roles = []; - /** - * @return array - */ public function getRoles(): array { return $this->roles; @@ -35,9 +32,6 @@ public function fromEntity(Admin $admin): self return $this; } - /** - * @return array - */ public function getArrayCopy(): array { return [ diff --git a/src/App/src/Plugin/FormsPlugin.php b/src/App/src/Plugin/FormsPlugin.php index 0030c211..48c446ad 100644 --- a/src/App/src/Plugin/FormsPlugin.php +++ b/src/App/src/Plugin/FormsPlugin.php @@ -80,10 +80,6 @@ private function formMessagesToString(array $formMessages): string return $messages; } - /** - * @param array $formMessages - * @return array - */ protected function processFormMessages(array $formMessages): array { $messages = [];