mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
apply php-cs-fixer
This commit is contained in:
parent
3198ef3352
commit
0bbd910490
@ -13,11 +13,11 @@
|
||||
/**
|
||||
* Simple helper function that will log into "invoiceninja.log" file
|
||||
* only when extended logging is enabled.
|
||||
*
|
||||
* @param mixed $output
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
* @param mixed $output
|
||||
* @param array $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function nlog($output, $context = []): void
|
||||
{
|
||||
|
@ -41,13 +41,13 @@ class Helpers
|
||||
|
||||
/**
|
||||
* A centralised method to format the custom fields content.
|
||||
*
|
||||
*
|
||||
* @param mixed|null $custom_fields
|
||||
* @param mixed $field
|
||||
* @param mixed $value
|
||||
* @param \App\Models\Client|null $client
|
||||
*
|
||||
* @return null|string
|
||||
* @param mixed $field
|
||||
* @param mixed $value
|
||||
* @param \App\Models\Client|null $client
|
||||
*
|
||||
* @return null|string
|
||||
*/
|
||||
public function formatCustomFieldValue($custom_fields = null, $field, $value, Client $client = null): ?string
|
||||
{
|
||||
@ -79,10 +79,10 @@ class Helpers
|
||||
|
||||
/**
|
||||
* A centralised method to make custom field.
|
||||
* @param mixed|null $custom_fields
|
||||
* @param mixed $field
|
||||
*
|
||||
* @return string
|
||||
* @param mixed|null $custom_fields
|
||||
* @param mixed $field
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function makeCustomField($custom_fields = null, $field): string
|
||||
{
|
||||
|
@ -102,7 +102,7 @@ return [
|
||||
|
||||
'invoiceninja' => [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/invoiceninja.log'),
|
||||
'path' => storage_path('logs/invoiceninja.log'),
|
||||
],
|
||||
],
|
||||
|
||||
|
@ -56,7 +56,7 @@ class ImportCsvTest extends TestCase
|
||||
|
||||
public function testInvoiceCsvImport()
|
||||
{
|
||||
$this->markTestSkipped();
|
||||
$this->markTestSkipped();
|
||||
|
||||
$csv = file_get_contents(base_path().'/tests/Feature/Import/invoice.csv');
|
||||
$hash = Str::random(32);
|
||||
@ -132,7 +132,7 @@ class ImportCsvTest extends TestCase
|
||||
|
||||
public function testProductCsvImport()
|
||||
{
|
||||
$this->markTestSkipped();
|
||||
$this->markTestSkipped();
|
||||
|
||||
|
||||
$csv = file_get_contents(base_path().'/tests/Feature/Import/products.csv');
|
||||
|
Loading…
x
Reference in New Issue
Block a user