php cs fixer
This commit is contained in:
parent
26abaeb739
commit
189493b045
17 changed files with 44 additions and 43 deletions
|
|
@ -3,7 +3,7 @@
|
|||
$texts = [
|
||||
[
|
||||
'id' => 0,
|
||||
'name' => 'test text'
|
||||
'name' => 'test text',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -28,6 +28,6 @@ $fileDataMap = [
|
|||
];
|
||||
|
||||
foreach ($fileDataMap as $file => $data) {
|
||||
$path = __DIR__."/$file";
|
||||
$path = __DIR__ . "/$file";
|
||||
file_put_contents($path, json_encode($data, JSON_PRETTY_PRINT));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ $files = [
|
|||
];
|
||||
|
||||
foreach ($files as $file) {
|
||||
echo __DIR__."/$file";
|
||||
$path = __DIR__."/$file";
|
||||
echo __DIR__ . "/$file";
|
||||
$path = __DIR__ . "/$file";
|
||||
file_put_contents($path, json_encode([], JSON_PRETTY_PRINT));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue