mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
fix php cs fixer concat operator to use space
This commit is contained in:
parent
9de6697752
commit
08bf5a878a
26 changed files with 113 additions and 109 deletions
|
@ -33,12 +33,12 @@ namespace adapters;
|
|||
/**
|
||||
* Path for the file to read sms as a json from.
|
||||
*/
|
||||
private $test_file_read = PWD_DATAS.'/test_read_sms.json';
|
||||
private $test_file_read = PWD_DATAS . '/test_read_sms.json';
|
||||
|
||||
/**
|
||||
* Path for the file to write sms as a json in.
|
||||
*/
|
||||
private $test_file_write = PWD_DATAS.'/test_write_sms.json';
|
||||
private $test_file_write = PWD_DATAS . '/test_write_sms.json';
|
||||
|
||||
/**
|
||||
* Adapter constructor, called when instanciated by RaspiSMS.
|
||||
|
@ -126,7 +126,7 @@ namespace adapters;
|
|||
$uid = uniqid();
|
||||
|
||||
$at = (new \DateTime())->format('Y-m-d H:i:s');
|
||||
file_put_contents($this->test_file_write, json_encode(['uid' => $uid, 'at' => $at, 'destination' => $destination, 'text' => $text, 'flash' => $flash])."\n", FILE_APPEND);
|
||||
file_put_contents($this->test_file_write, json_encode(['uid' => $uid, 'at' => $at, 'destination' => $destination, 'text' => $text, 'flash' => $flash]) . "\n", FILE_APPEND);
|
||||
|
||||
return uniqid();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue