diff --git a/config/excel.php b/config/excel.php index ba560f28f59..146110e1ea7 100644 --- a/config/excel.php +++ b/config/excel.php @@ -13,7 +13,7 @@ * Link: https://rinvex.com */ -return array( +return [ 'cache' => [ @@ -45,7 +45,7 @@ 'settings' => [ 'memoryCacheSize' => '32MB', - 'cacheTime' => 600 + 'cacheTime' => 600, ], @@ -67,7 +67,7 @@ |-------------------------------------------------------------------------- */ - 'dir' => storage_path('cache') + 'dir' => storage_path('cache'), ], 'properties' => [ @@ -155,7 +155,7 @@ |-------------------------------------------------------------------------- */ - 'use_bom' => false + 'use_bom' => false, ], 'export' => [ @@ -266,7 +266,7 @@ | Apply strict comparison when testing for null values in the array |-------------------------------------------------------------------------- */ - 'strictNullComparison' => false + 'strictNullComparison' => false, ], /* @@ -295,7 +295,7 @@ | Whether we want to return information about the stored file or not | */ - 'returnInfo' => false + 'returnInfo' => false, ], @@ -327,7 +327,7 @@ |-------------------------------------------------------------------------- */ 'DomPDF' => [ - 'path' => base_path('vendor/dompdf/dompdf/') + 'path' => base_path('vendor/dompdf/dompdf/'), ], /* @@ -336,7 +336,7 @@ |-------------------------------------------------------------------------- */ 'tcPDF' => [ - 'path' => base_path('vendor/tecnick.com/tcpdf/') + 'path' => base_path('vendor/tecnick.com/tcpdf/'), ], /* @@ -345,10 +345,10 @@ |-------------------------------------------------------------------------- */ 'mPDF' => [ - 'path' => base_path('vendor/mpdf/mpdf/') + 'path' => base_path('vendor/mpdf/mpdf/'), ], - ] - ] + ], + ], ], 'filters' => [ @@ -359,7 +359,7 @@ */ 'registered' => [ - 'chunk' => 'Maatwebsite\Excel\Filters\ChunkReadFilter' + 'chunk' => 'Maatwebsite\Excel\Filters\ChunkReadFilter', ], /* @@ -368,7 +368,7 @@ |-------------------------------------------------------------------------- */ - 'enabled' => [] + 'enabled' => [], ], 'import' => [ @@ -439,7 +439,7 @@ 'encoding' => [ 'input' => 'UTF-8', - 'output' => 'UTF-8' + 'output' => 'UTF-8', ], @@ -511,7 +511,7 @@ | Date columns |-------------------------------------------------------------------------- */ - 'columns' => [] + 'columns' => [], ], /* @@ -532,11 +532,11 @@ 'test' => [ - 'firstname' => 'A2' + 'firstname' => 'A2', - ] + ], - ] + ], ], 'views' => [ @@ -561,7 +561,7 @@ 'font' => [ 'bold' => true, 'size' => 12, - ] + ], ], /* @@ -573,7 +573,7 @@ 'font' => [ 'bold' => true, 'size' => 12, - ] + ], ], /* @@ -585,7 +585,7 @@ 'font' => [ 'bold' => true, 'size' => 12, - ] + ], ], /* @@ -597,7 +597,7 @@ 'font' => [ 'italic' => true, 'size' => 12, - ] + ], ], /* @@ -609,7 +609,7 @@ 'font' => [ 'bold' => true, 'size' => 24, - ] + ], ], /* @@ -621,7 +621,7 @@ 'font' => [ 'bold' => true, 'size' => 18, - ] + ], ], /* @@ -633,7 +633,7 @@ 'font' => [ 'bold' => true, 'size' => 13.5, - ] + ], ], /* @@ -645,7 +645,7 @@ 'font' => [ 'bold' => true, 'size' => 12, - ] + ], ], /* @@ -657,7 +657,7 @@ 'font' => [ 'bold' => true, 'size' => 10, - ] + ], ], /* @@ -669,7 +669,7 @@ 'font' => [ 'bold' => true, 'size' => 7.5, - ] + ], ], /* @@ -681,7 +681,7 @@ 'font' => [ 'underline' => true, 'color' => ['argb' => 'FF0000FF'], - ] + ], ], /* @@ -693,12 +693,12 @@ 'borders' => [ 'bottom' => [ 'style' => 'thin', - 'color' => ['FF000000'] + 'color' => ['FF000000'], ], - ] - ] - ] + ], + ], + ], - ] + ], -); +]; diff --git a/config/snappy.php b/config/snappy.php index 259fe66fa91..ec18914c737 100644 --- a/config/snappy.php +++ b/config/snappy.php @@ -13,23 +13,21 @@ * Link: https://rinvex.com */ -return array( +return [ - - 'pdf' => array( + 'pdf' => [ 'enabled' => true, 'binary' => '/usr/local/bin/wkhtmltopdf-amd64', 'timeout' => false, - 'options' => array(), - 'env' => array(), - ), - 'image' => array( + 'options' => [], + 'env' => [], + ], + 'image' => [ 'enabled' => true, 'binary' => '/usr/local/bin/wkhtmltoimage-amd64', 'timeout' => false, - 'options' => array(), - 'env' => array(), - ), - + 'options' => [], + 'env' => [], + ], -); +]; diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 486dc271a38..8fbf3706760 100755 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -3,9 +3,6 @@ namespace Tests\Feature; use Tests\TestCase; -use Illuminate\Foundation\Testing\WithoutMiddleware; -use Illuminate\Foundation\Testing\DatabaseMigrations; -use Illuminate\Foundation\Testing\DatabaseTransactions; class ExampleTest extends TestCase { diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index 5663bb49f82..06ece2c2c0a 100755 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -3,8 +3,6 @@ namespace Tests\Unit; use Tests\TestCase; -use Illuminate\Foundation\Testing\DatabaseMigrations; -use Illuminate\Foundation\Testing\DatabaseTransactions; class ExampleTest extends TestCase {