diff --git a/composer.json b/composer.json index 59b74dd1..079348ba 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ }, "require-dev": { "redaxo/php-cs-fixer-config": "^2.0", - "friendsofphp/php-cs-fixer": "^3.14", + "friendsofphp/php-cs-fixer": "v3.37.1", "phpunit/phpunit": "^9.5" }, "scripts": { diff --git a/lib/yform/base_abstract.php b/lib/yform/base_abstract.php index 0997c804..270c9e1c 100644 --- a/lib/yform/base_abstract.php +++ b/lib/yform/base_abstract.php @@ -102,40 +102,24 @@ public function getDefinitions(): array return []; } - public function preValidateAction(): void - { - } + public function preValidateAction(): void {} - public function postValidateAction(): void - { - } + public function postValidateAction(): void {} - public function postValueAction(): void - { - } + public function postValueAction(): void {} - public function postFormAction(): void - { - } + public function postFormAction(): void {} - public function preAction(): void - { - } + public function preAction(): void {} - public function executeAction(): void - { - } + public function executeAction(): void {} - public function postAction(): void - { - } + public function postAction(): void {} public function isDeprecated(): bool { return false; } - public function init() - { - } + public function init() {} } diff --git a/lib/yform/value/abstract.php b/lib/yform/value/abstract.php index 741d29cb..278a619f 100644 --- a/lib/yform/value/abstract.php +++ b/lib/yform/value/abstract.php @@ -338,11 +338,7 @@ public function isViewable() return true; } - public function enterObject() - { - } + public function enterObject() {} - public function init() - { - } + public function init() {} }