Skip to content

Commit

Permalink
Merge pull request mathiasbynens#3 from rinvex/analysis-zRojGM
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Omranic authored Feb 11, 2017
2 parents c17ffc6 + 897540d commit 6a719a7
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 52 deletions.
70 changes: 35 additions & 35 deletions config/excel.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Link: https://rinvex.com
*/

return array(
return [

'cache' => [

Expand Down Expand Up @@ -45,7 +45,7 @@
'settings' => [

'memoryCacheSize' => '32MB',
'cacheTime' => 600
'cacheTime' => 600,

],

Expand All @@ -67,7 +67,7 @@
|--------------------------------------------------------------------------
*/

'dir' => storage_path('cache')
'dir' => storage_path('cache'),
],

'properties' => [
Expand Down Expand Up @@ -155,7 +155,7 @@
|--------------------------------------------------------------------------
*/

'use_bom' => false
'use_bom' => false,
],

'export' => [
Expand Down Expand Up @@ -266,7 +266,7 @@
| Apply strict comparison when testing for null values in the array
|--------------------------------------------------------------------------
*/
'strictNullComparison' => false
'strictNullComparison' => false,
],

/*
Expand Down Expand Up @@ -295,7 +295,7 @@
| Whether we want to return information about the stored file or not
|
*/
'returnInfo' => false
'returnInfo' => false,

],

Expand Down Expand Up @@ -327,7 +327,7 @@
|--------------------------------------------------------------------------
*/
'DomPDF' => [
'path' => base_path('vendor/dompdf/dompdf/')
'path' => base_path('vendor/dompdf/dompdf/'),
],

/*
Expand All @@ -336,7 +336,7 @@
|--------------------------------------------------------------------------
*/
'tcPDF' => [
'path' => base_path('vendor/tecnick.com/tcpdf/')
'path' => base_path('vendor/tecnick.com/tcpdf/'),
],

/*
Expand All @@ -345,10 +345,10 @@
|--------------------------------------------------------------------------
*/
'mPDF' => [
'path' => base_path('vendor/mpdf/mpdf/')
'path' => base_path('vendor/mpdf/mpdf/'),
],
]
]
],
],
],

'filters' => [
Expand All @@ -359,7 +359,7 @@
*/

'registered' => [
'chunk' => 'Maatwebsite\Excel\Filters\ChunkReadFilter'
'chunk' => 'Maatwebsite\Excel\Filters\ChunkReadFilter',
],

/*
Expand All @@ -368,7 +368,7 @@
|--------------------------------------------------------------------------
*/

'enabled' => []
'enabled' => [],
],

'import' => [
Expand Down Expand Up @@ -439,7 +439,7 @@
'encoding' => [

'input' => 'UTF-8',
'output' => 'UTF-8'
'output' => 'UTF-8',

],

Expand Down Expand Up @@ -511,7 +511,7 @@
| Date columns
|--------------------------------------------------------------------------
*/
'columns' => []
'columns' => [],
],

/*
Expand All @@ -532,11 +532,11 @@

'test' => [

'firstname' => 'A2'
'firstname' => 'A2',

]
],

]
],
],

'views' => [
Expand All @@ -561,7 +561,7 @@
'font' => [
'bold' => true,
'size' => 12,
]
],
],

/*
Expand All @@ -573,7 +573,7 @@
'font' => [
'bold' => true,
'size' => 12,
]
],
],

/*
Expand All @@ -585,7 +585,7 @@
'font' => [
'bold' => true,
'size' => 12,
]
],
],

/*
Expand All @@ -597,7 +597,7 @@
'font' => [
'italic' => true,
'size' => 12,
]
],
],

/*
Expand All @@ -609,7 +609,7 @@
'font' => [
'bold' => true,
'size' => 24,
]
],
],

/*
Expand All @@ -621,7 +621,7 @@
'font' => [
'bold' => true,
'size' => 18,
]
],
],

/*
Expand All @@ -633,7 +633,7 @@
'font' => [
'bold' => true,
'size' => 13.5,
]
],
],

/*
Expand All @@ -645,7 +645,7 @@
'font' => [
'bold' => true,
'size' => 12,
]
],
],

/*
Expand All @@ -657,7 +657,7 @@
'font' => [
'bold' => true,
'size' => 10,
]
],
],

/*
Expand All @@ -669,7 +669,7 @@
'font' => [
'bold' => true,
'size' => 7.5,
]
],
],

/*
Expand All @@ -681,7 +681,7 @@
'font' => [
'underline' => true,
'color' => ['argb' => 'FF0000FF'],
]
],
],

/*
Expand All @@ -693,12 +693,12 @@
'borders' => [
'bottom' => [
'style' => 'thin',
'color' => ['FF000000']
'color' => ['FF000000'],
],
]
]
]
],
],
],

]
],

);
];
22 changes: 10 additions & 12 deletions config/snappy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [],
],

);
];
3 changes: 0 additions & 3 deletions tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace Tests\Unit;

use Tests\TestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class ExampleTest extends TestCase
{
Expand Down

0 comments on commit 6a719a7

Please sign in to comment.