mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Add newline to files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* DecryptDatabaseTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -139,4 +140,4 @@ class DecryptDatabaseTest extends TestCase
|
||||
$this->assertCount(1, Account::where('id', $account->id)->where('iban', $iban)->get());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* CreateCSVImportTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -433,4 +434,4 @@ class CreateCSVImportTest extends TestCase
|
||||
|
||||
// this method imports nothing so there is nothing to verify.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* ReportEmptyObjectsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -148,4 +149,4 @@ class ReportEmptyObjectsTest extends TestCase
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* ReportSumTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -85,4 +86,4 @@ class ReportSumTest extends TestCase
|
||||
|
||||
// this method changes no objects so there is nothing to verify.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* ApplyRulesTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -463,4 +464,4 @@ class ApplyRulesTest extends TestCase
|
||||
->assertExitCode(1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* AccountCurrenciesTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -350,4 +351,4 @@ class AccountCurrenciesTest extends TestCase
|
||||
->assertExitCode(0);
|
||||
// nothing changed, so nothing to verify.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* BackToJournalsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -244,4 +245,4 @@ class BackToJournalsTest extends TestCase
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* BudgetLimitCurrencyTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -97,4 +98,4 @@ class BudgetLimitCurrencyTest extends TestCase
|
||||
// assume currency is filled in.
|
||||
$this->assertCount(1, BudgetLimit::where('id', $limit->id)->where('transaction_currency_id', 1)->get());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* CCLiabilitiesTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -129,4 +130,4 @@ class CCLiabilitiesTest extends TestCase
|
||||
$type->forceDelete();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* MigrateAttachmentsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -96,4 +97,4 @@ class MigrateAttachmentsTest extends TestCase
|
||||
$attachment->forceDelete();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* MigrateJournalNotesTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -98,4 +99,4 @@ class MigrateJournalNotesTest extends TestCase
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -258,4 +258,4 @@ class MigrateToGroupsTest extends TestCase
|
||||
|
||||
// the calls above let me know it's OK.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* MigrateToRulesTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -322,4 +323,4 @@ class MigrateToRulesTest extends TestCase
|
||||
->assertExitCode(0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* OtherCurrenciesCorrectionsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -270,4 +271,4 @@ class OtherCurrenciesCorrectionsTest extends TestCase
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* RenameAccountMetaTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -100,4 +101,4 @@ class RenameAccountMetaTest extends TestCase
|
||||
$meta->forceDelete();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* TransactionIdentifierTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -153,4 +154,4 @@ class TransactionIdentifierTest extends TestCase
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* TransferCurrenciesCorrectionsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -561,4 +562,4 @@ class TransferCurrenciesCorrectionsTest extends TestCase
|
||||
$this->assertCount(1, Transaction::where('id', $destination->id)->where('transaction_currency_id', $euro->id)->get());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* FinTSJobConfigurationTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -167,4 +168,4 @@ class FinTSJobConfigurationTest extends TestCase
|
||||
}
|
||||
$this->assertEquals('import.fints.choose_account', $res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* FinTSRoutineTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -87,4 +88,4 @@ class FinTSRoutineTest extends TestCase
|
||||
$this->assertTrue(false, $e->getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* CreateRecurringTransactionsTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -584,4 +585,4 @@ class CreateRecurringTransactionsTest extends TestCase
|
||||
$this->assertEquals(1, $job->submitted);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* BelongsUserTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -346,4 +347,4 @@ class BelongsUserTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* IsAssetAccountIdTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -83,4 +84,4 @@ class IsAssetAccountIdTest extends TestCase
|
||||
$this->assertFalse($engine->passes($attribute, $value));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* IsBooleanTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -78,4 +79,4 @@ class IsBooleanTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* IsDateOrTimeTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -74,4 +75,4 @@ class IsDateOrTimeTest extends TestCase
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* IsValidAttachmentModelTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -165,4 +166,4 @@ class IsValidAttachmentModelTest extends TestCase
|
||||
$this->assertFalse($engine->passes($attribute, $value));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* UniqueIbanTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -150,4 +151,4 @@ class UniqueIbanTest extends TestCase
|
||||
$revenue->save();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* RecurringCronjobTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -142,4 +143,4 @@ class RecurringCronjobTest extends TestCase
|
||||
$job->fire();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -318,4 +318,4 @@ class NavigationTest extends TestCase
|
||||
$this->assertEquals($expected->format('Y-m-d H:i:s'), $result->format('Y-m-d H:i:s'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* LinkToBillTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -95,4 +96,4 @@ class LinkToBillTest extends TestCase
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* TransactionGroupTransformerTest.php
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
@@ -120,4 +121,4 @@ class TransactionGroupTransformerTest extends TestCase
|
||||
$result = $transformer->transformObject($group);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user