1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Enhancement: Enable trailing_comma_in_multiline fixer (#647)

* Enhancement: Enable and configure trailing_comma_in_multiline fixer

* Fix: Run 'make coding-standards'
This commit is contained in:
Andreas Möller
2023-12-07 00:16:28 +01:00
committed by GitHub
parent 4ac417b3cb
commit c093fb5382
44 changed files with 278 additions and 272 deletions

View File

@@ -100,8 +100,8 @@ if ($process) {
'note' => $note,
'sect' => $_POST['sect'],
'ip' => $_SERVER['REMOTE_ADDR'],
'redirip' => $redirip
]
'redirip' => $redirip,
],
);
// If there is any non-header result, then it is an error

View File

@@ -28,7 +28,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
"noteid" => $_REQUEST['id'],
"sect" => $_REQUEST['page'],
"vote" => $_REQUEST['vote'],
"ip" => $_SERVER['REMOTE_ADDR']
"ip" => $_SERVER['REMOTE_ADDR'],
];
if (($r = posttohost($master_url, $data)) === null || strpos($r,"failed to open socket to") !== false) {
$response["success"] = false;