chore: code style

This commit is contained in:
hackerESQ
2025-01-28 17:14:49 -06:00
parent c4736fae70
commit e8ef0921ad
123 changed files with 1051 additions and 1197 deletions
+63 -63
View File
@@ -15,7 +15,7 @@ return [
| Here you can specify how big the chunk should be.
|
*/
'chunk_size' => 1000,
'chunk_size' => 1000,
/*
|--------------------------------------------------------------------------
@@ -42,15 +42,15 @@ return [
| Configure e.g. delimiter, enclosure and line ending for CSV exports.
|
*/
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'line_ending' => PHP_EOL,
'use_bom' => false,
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'line_ending' => PHP_EOL,
'use_bom' => false,
'include_separator_line' => false,
'excel_compatibility' => false,
'output_encoding' => '',
'test_auto_detect' => true,
'excel_compatibility' => false,
'output_encoding' => '',
'test_auto_detect' => true,
],
/*
@@ -61,20 +61,20 @@ return [
| Configure e.g. default title, creator, subject,...
|
*/
'properties' => [
'creator' => '',
'properties' => [
'creator' => '',
'lastModifiedBy' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
],
],
'imports' => [
'imports' => [
/*
|--------------------------------------------------------------------------
@@ -87,7 +87,7 @@ return [
| you can enable it by setting read_only to false.
|
*/
'read_only' => true,
'read_only' => true,
/*
|--------------------------------------------------------------------------
@@ -111,7 +111,7 @@ return [
| Available options: none|slug|custom
|
*/
'heading_row' => [
'heading_row' => [
'formatter' => 'slug',
],
@@ -123,12 +123,12 @@ return [
| Configure e.g. delimiter, enclosure and line ending for CSV imports.
|
*/
'csv' => [
'delimiter' => null,
'enclosure' => '"',
'csv' => [
'delimiter' => null,
'enclosure' => '"',
'escape_character' => '\\',
'contiguous' => false,
'input_encoding' => Csv::GUESS_ENCODING,
'contiguous' => false,
'input_encoding' => Csv::GUESS_ENCODING,
],
/*
@@ -139,16 +139,16 @@ return [
| Configure e.g. default title, creator, subject,...
|
*/
'properties' => [
'creator' => '',
'properties' => [
'creator' => '',
'lastModifiedBy' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
],
/*
@@ -159,10 +159,10 @@ return [
| Configure middleware that is executed on getting a cell value
|
*/
'cells' => [
'cells' => [
'middleware' => [
//\Maatwebsite\Excel\Middleware\TrimCellValue::class,
//\Maatwebsite\Excel\Middleware\ConvertEmptyCellValuesToNull::class,
// \Maatwebsite\Excel\Middleware\TrimCellValue::class,
// \Maatwebsite\Excel\Middleware\ConvertEmptyCellValuesToNull::class,
],
],
@@ -178,21 +178,21 @@ return [
|
*/
'extension_detector' => [
'xlsx' => Excel::XLSX,
'xlsm' => Excel::XLSX,
'xltx' => Excel::XLSX,
'xltm' => Excel::XLSX,
'xls' => Excel::XLS,
'xlt' => Excel::XLS,
'ods' => Excel::ODS,
'ots' => Excel::ODS,
'slk' => Excel::SLK,
'xml' => Excel::XML,
'xlsx' => Excel::XLSX,
'xlsm' => Excel::XLSX,
'xltx' => Excel::XLSX,
'xltm' => Excel::XLSX,
'xls' => Excel::XLS,
'xlt' => Excel::XLS,
'ods' => Excel::ODS,
'ots' => Excel::ODS,
'slk' => Excel::SLK,
'xml' => Excel::XML,
'gnumeric' => Excel::GNUMERIC,
'htm' => Excel::HTML,
'html' => Excel::HTML,
'csv' => Excel::CSV,
'tsv' => Excel::TSV,
'htm' => Excel::HTML,
'html' => Excel::HTML,
'csv' => Excel::CSV,
'tsv' => Excel::TSV,
/*
|--------------------------------------------------------------------------
@@ -203,7 +203,7 @@ return [
| Available options: Excel::MPDF | Excel::TCPDF | Excel::DOMPDF
|
*/
'pdf' => Excel::DOMPDF,
'pdf' => Excel::DOMPDF,
],
/*
@@ -223,11 +223,11 @@ return [
| [x] PhpOffice\PhpSpreadsheet\Cell\AdvancedValueBinder::class
|
*/
'value_binder' => [
'value_binder' => [
'default' => Maatwebsite\Excel\DefaultValueBinder::class,
],
'cache' => [
'cache' => [
/*
|--------------------------------------------------------------------------
| Default cell caching driver
@@ -244,7 +244,7 @@ return [
| Drivers: memory|illuminate|batch
|
*/
'driver' => 'memory',
'driver' => 'memory',
/*
|--------------------------------------------------------------------------
@@ -256,7 +256,7 @@ return [
| Here you can tweak the memory limit to your liking.
|
*/
'batch' => [
'batch' => [
'memory_limit' => 60000,
],
@@ -272,7 +272,7 @@ return [
| at "null" it will use the default store.
|
*/
'illuminate' => [
'illuminate' => [
'store' => null,
],
@@ -308,7 +308,7 @@ return [
*/
'transactions' => [
'handler' => 'db',
'db' => [
'db' => [
'connection' => null,
],
],
@@ -326,7 +326,7 @@ return [
| and the create file (file).
|
*/
'local_path' => storage_path('framework/cache/laravel-excel'),
'local_path' => storage_path('framework/cache/laravel-excel'),
/*
|--------------------------------------------------------------------------
@@ -338,7 +338,7 @@ return [
| If omitted the default permissions of the filesystem will be used.
|
*/
'local_permissions' => [
'local_permissions' => [
// 'dir' => 0755,
// 'file' => 0644,
],
@@ -357,8 +357,8 @@ return [
| in conjunction with queued imports and exports.
|
*/
'remote_disk' => env('TEMP_UPLOAD_DISK', null),
'remote_prefix' => 'excel-tmp',
'remote_disk' => env('TEMP_UPLOAD_DISK', null),
'remote_prefix' => 'excel-tmp',
/*
|--------------------------------------------------------------------------