fix php cs fixer concat operator to use space
This commit is contained in:
parent
9de6697752
commit
08bf5a878a
|
@ -302,7 +302,7 @@ namespace controllers\internals;
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'Content-Disposition: attachment; filename=contacts.csv',
|
'Content-Disposition: attachment; filename=contacts.csv',
|
||||||
'Content-Type: text/csv',
|
'Content-Type: text/csv',
|
||||||
'Content-Length: '.\mb_strlen($csv_string),
|
'Content-Length: ' . mb_strlen($csv_string),
|
||||||
],
|
],
|
||||||
'content' => $csv_string,
|
'content' => $csv_string,
|
||||||
];
|
];
|
||||||
|
@ -331,7 +331,7 @@ namespace controllers\internals;
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'Content-Disposition: attachment; filename=contacts.json',
|
'Content-Disposition: attachment; filename=contacts.json',
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
'Content-Length: '.\mb_strlen($content),
|
'Content-Length: ' . mb_strlen($content),
|
||||||
],
|
],
|
||||||
'content' => $content,
|
'content' => $content,
|
||||||
];
|
];
|
||||||
|
|
|
@ -260,6 +260,7 @@ namespace controllers\publics;
|
||||||
* Delete a scheduled message.
|
* Delete a scheduled message.
|
||||||
*
|
*
|
||||||
* @param int $id : Id of scheduled message to delete
|
* @param int $id : Id of scheduled message to delete
|
||||||
|
*
|
||||||
* @return bool : void
|
* @return bool : void
|
||||||
*/
|
*/
|
||||||
public function delete_scheduled(int $id)
|
public function delete_scheduled(int $id)
|
||||||
|
@ -274,6 +275,7 @@ namespace controllers\publics;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->auto_http_code(true);
|
$this->auto_http_code(true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,10 @@ $config = PhpCsFixer\Config::create()
|
||||||
'@PhpCsFixer:risky' => true,
|
'@PhpCsFixer:risky' => true,
|
||||||
'header_comment' => ['header' => $header],
|
'header_comment' => ['header' => $header],
|
||||||
'list_syntax' => ['syntax' => 'long'],
|
'list_syntax' => ['syntax' => 'long'],
|
||||||
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
'mb_str_functions' => true,
|
'mb_str_functions' => true,
|
||||||
'method_separation' => true,
|
'method_separation' => true,
|
||||||
|
'concat_space' => ['spacing' => 'one'],
|
||||||
'braces' => [
|
'braces' => [
|
||||||
'position_after_anonymous_constructs' => 'next',
|
'position_after_anonymous_constructs' => 'next',
|
||||||
'position_after_control_structures' => 'next',
|
'position_after_control_structures' => 'next',
|
||||||
|
|
Loading…
Reference in New Issue