Add newline to files

This commit is contained in:
James Cole
2019-08-17 12:09:03 +02:00
parent b53cbbe469
commit fc78c32fca
153 changed files with 243 additions and 125 deletions

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CorrectDatabaseTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -96,4 +97,4 @@ class CreateAccessTokensTest extends TestCase
->expectsOutput('All access tokens OK!')
->assertExitCode(0);
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateLinkTypesTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -78,4 +79,4 @@ class CreateLinkTypesTest extends TestCase
$this->assertCount(4, LinkType::get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteEmptyGroupsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -70,4 +71,4 @@ class DeleteEmptyGroupsTest extends TestCase
// should not be able to find it:
$this->assertCount(0, TransactionGroup::where('id', $group->id)->whereNull('deleted_at')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteEmptyJournalsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -120,4 +121,4 @@ class DeleteEmptyJournalsTest extends TestCase
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteOrphanedTransactionsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -144,4 +145,4 @@ class DeleteOrphanedTransactionsTest extends TestCase
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNull('deleted_at')->get());
$this->assertCount(0, Transaction::where('id', $transaction->id)->whereNull('deleted_at')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteZeroAmountTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -91,4 +92,4 @@ class DeleteZeroAmountTest extends TestCase
$this->assertCount(0, Transaction::where('id', $transaction->id)->whereNull('deleted_at')->get());
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNull('deleted_at')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EnableCurrenciesTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -82,4 +83,4 @@ class EnableCurrenciesTest extends TestCase
$this->assertCount($count + 1, TransactionCurrency::where('enabled', 1)->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* FixAccountTypesTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -371,4 +372,4 @@ class FixAccountTypesTest extends TestCase
$two->forceDelete();
$journal->forceDelete();
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* FixPiggiesTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -130,4 +131,4 @@ class FixPiggiesTest extends TestCase
$this->assertCount(0, PiggyBankEvent::where('id', $event->id)->where('transaction_journal_id', $transfer->id)->get());
$event->forceDelete();
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* FixUnevenAmountTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -101,4 +102,4 @@ class FixUnevenAmountTest extends TestCase
$this->assertCount(1, Transaction::where('id', $two->id)->where('amount', '10')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RemoveBillsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -75,4 +76,4 @@ class RemoveBillsTest extends TestCase
// verify change
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNotNull('bill_id')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RenameMetaFieldsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -76,4 +77,4 @@ class RenameMetaFieldsTest extends TestCase
$this->assertCount(1, TransactionJournalMeta::where('id', $entry->id)->where('name', 'import_hash_v2')->get());
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransferBudgetsTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@@ -71,4 +72,4 @@ class TransferBudgetsTest extends TestCase
$this->assertCount(0, $deposit->budgets()->get());
}
}
}