From 5a708df6ca3e7b41f9315cc5291211631f40377f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 5 Mar 2025 10:01:26 +0100 Subject: [PATCH] Coding style: Check newline at {} --- adminer/check.inc.php | 4 +++- adminer/create.inc.php | 4 +++- adminer/event.inc.php | 4 +++- adminer/foreign.inc.php | 4 +++- adminer/include/editing.inc.php | 7 +++++-- adminer/procedure.inc.php | 4 +++- adminer/trigger.inc.php | 4 +++- adminer/user.inc.php | 4 +++- adminer/view.inc.php | 4 +++- phpcs.xml | 2 -- 10 files changed, 29 insertions(+), 12 deletions(-) diff --git a/adminer/check.inc.php b/adminer/check.inc.php index a7df1ea4..305748d1 100644 --- a/adminer/check.inc.php +++ b/adminer/check.inc.php @@ -42,6 +42,8 @@ echo doc_link(array( ?>

- + + + diff --git a/adminer/create.inc.php b/adminer/create.inc.php index abdf8388..a4c10907 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -211,7 +211,9 @@ foreach ($engines as $engine) { - + + +

- + + + diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index 7da2d551..6f271668 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -108,6 +108,8 @@ foreach ($row["source"] as $key => $val) {

- + + + diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index b23394ef..99676fa6 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -339,7 +339,7 @@ function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = arra $comment_class = (($_POST ? $_POST["comments"] : adminer_setting("comments")) ? "" : " class='hidden'"); ?> - +" : ""); ?> @@ -368,7 +368,10 @@ function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = arra ?> > " . html_select("fields[$i][inout]", explode("|", $inout), $field["inout"]) : ""); ?> -" data-maxlength="64" autocapitalize="off" aria-labelledby="label-name"> + + +" data-maxlength="64" autocapitalize="off" aria-labelledby="label-name"> +

- + + + diff --git a/adminer/trigger.inc.php b/adminer/trigger.inc.php index 9140a821..125a4d1f 100644 --- a/adminer/trigger.inc.php +++ b/adminer/trigger.inc.php @@ -44,6 +44,8 @@ page_header(($name != "" ? lang('Alter trigger') . ": " . h($name) : lang('Creat

- + + + diff --git a/adminer/user.inc.php b/adminer/user.inc.php index 2a7a53a5..b43cdabf 100644 --- a/adminer/user.inc.php +++ b/adminer/user.inc.php @@ -184,6 +184,8 @@ echo "\n"; ?>

- + + + diff --git a/adminer/view.inc.php b/adminer/view.inc.php index 6bbaf4ab..1e8445d4 100644 --- a/adminer/view.inc.php +++ b/adminer/view.inc.php @@ -53,6 +53,8 @@ page_header(($TABLE != "" ? lang('Alter view') : lang('Create view')), $error, a

- + + + diff --git a/phpcs.xml b/phpcs.xml index e59547b6..af386e3f 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -40,8 +40,6 @@ - -