From f74b9ba7abb3e73e0c34fdb03c4154d6f2efb969 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 5 May 2018 16:51:32 +0200 Subject: [PATCH] Add strict types and newlines. --- app/Api/V1/Requests/CurrencyRequest.php | 2 +- .../JobConfiguration/FakeJobConfiguration.php | 2 +- .../JobConfiguration/FileJobConfiguration.php | 89 ++++++ .../Prerequisites/BunqPrerequisites.php | 295 +++++++++--------- .../Prerequisites/FilePrerequisites.php | 169 +++++----- .../Prerequisites/SpectrePrerequisites.php | 14 +- app/Import/Routine/FakeRoutine.php | 2 +- app/Import/Storage/ImportArrayStorage.php | 3 +- app/Services/IP/IPRetrievalInterface.php | 2 +- app/Services/IP/IpifyOrg.php | 2 +- .../Exception/WrongRequestFormatException.php | 2 +- app/Support/Binder/SimpleJournalList.php | 2 +- .../Import/Routine/Fake/StageAhoyHandler.php | 2 +- .../Import/Routine/Fake/StageFinalHandler.php | 3 +- .../Import/Routine/Fake/StageNewHandler.php | 2 +- .../2018_04_07_210913_changes_for_v473.php | 1 + .../2018_04_29_174524_changes_for_v474.php | 1 + .../V1/Controllers/CurrencyControllerTest.php | 2 +- .../Import/JobConfigurationControllerTest.php | 2 +- .../Events/VersionCheckEventHandlerTest.php | 2 +- .../FakeJobConfigurationTest.php | 2 +- .../Prerequisites/FakePrerequisitesTest.php | 2 +- tests/Unit/Import/Routine/FakeRoutineTest.php | 2 +- .../Specifics/AbnAmroDescriptionTest.php | 2 +- .../Import/Specifics/IngDescriptionTest.php | 2 +- .../Import/Specifics/PresidentsChoiceTest.php | 2 +- .../Specifics/RabobankDescriptionTest.php | 2 +- .../Import/Specifics/SnsDescriptionTest.php | 2 +- .../Import/Storage/ImportArrayStorageTest.php | 2 +- 29 files changed, 347 insertions(+), 270 deletions(-) create mode 100644 app/Import/JobConfiguration/FileJobConfiguration.php diff --git a/app/Api/V1/Requests/CurrencyRequest.php b/app/Api/V1/Requests/CurrencyRequest.php index 72666a3a77..8e2edfeda9 100644 --- a/app/Api/V1/Requests/CurrencyRequest.php +++ b/app/Api/V1/Requests/CurrencyRequest.php @@ -80,4 +80,4 @@ class CurrencyRequest extends Request return $rules; } -} \ No newline at end of file +} diff --git a/app/Import/JobConfiguration/FakeJobConfiguration.php b/app/Import/JobConfiguration/FakeJobConfiguration.php index f4d8e6e772..657546944e 100644 --- a/app/Import/JobConfiguration/FakeJobConfiguration.php +++ b/app/Import/JobConfiguration/FakeJobConfiguration.php @@ -163,4 +163,4 @@ class FakeJobConfiguration implements JobConfigurationInterface $this->job = $job; $this->repository->setUser($job->user); } -} \ No newline at end of file +} diff --git a/app/Import/JobConfiguration/FileJobConfiguration.php b/app/Import/JobConfiguration/FileJobConfiguration.php new file mode 100644 index 0000000000..6229bee3de --- /dev/null +++ b/app/Import/JobConfiguration/FileJobConfiguration.php @@ -0,0 +1,89 @@ +. + */ + +namespace FireflyIII\Import\JobConfiguration; + + +use FireflyIII\Models\ImportJob; +use Illuminate\Support\MessageBag; + +class FileJobConfiguration implements JobConfigurationInterface +{ + + /** + * ConfiguratorInterface constructor. + */ + public function __construct() + { + } + + /** + * Store any data from the $data array into the job. Anything in the message bag will be flashed + * as an error to the user, regardless of its content. + * + * @param array $data + * + * @return MessageBag + */ + public function configureJob(array $data): MessageBag + { + // TODO: Implement configureJob() method. + } + + /** + * Return the data required for the next step in the job configuration. + * + * @return array + */ + public function getNextData(): array + { + // TODO: Implement getNextData() method. + } + + /** + * Returns the view of the next step in the job configuration. + * + * @return string + */ + public function getNextView(): string + { + // TODO: Implement getNextView() method. + } + + /** + * Returns true when the initial configuration for this job is complete. + * + * @return bool + */ + public function configurationComplete(): bool + { + // TODO: Implement configurationComplete() method. + } + + /** + * @param ImportJob $job + */ + public function setJob(ImportJob $job): void + { + // TODO: Implement setJob() method. + } +} diff --git a/app/Import/Prerequisites/BunqPrerequisites.php b/app/Import/Prerequisites/BunqPrerequisites.php index fe6d46c0f9..ac4056fe7c 100644 --- a/app/Import/Prerequisites/BunqPrerequisites.php +++ b/app/Import/Prerequisites/BunqPrerequisites.php @@ -36,146 +36,146 @@ use Preferences; */ class BunqPrerequisites implements PrerequisitesInterface { -// /** @var User */ -// private $user; -// -// /** -// * Returns view name that allows user to fill in prerequisites. Currently asks for the API key. -// * -// * @return string -// */ -// public function getView(): string -// { -// Log::debug('Now in BunqPrerequisites::getView()'); -// -// return 'import.bunq.prerequisites'; -// } -// -// /** -// * Returns any values required for the prerequisites-view. -// * -// * @return array -// */ -// public function getViewParameters(): array -// { -// Log::debug('Now in BunqPrerequisites::getViewParameters()'); -// $key = ''; -// $serverIP = ''; -// if ($this->hasApiKey()) { -// $key = Preferences::getForUser($this->user, 'bunq_api_key', null)->data; -// } -// if ($this->hasServerIP()) { -// $serverIP = Preferences::getForUser($this->user, 'external_ip', null)->data; -// } -// if (!$this->hasServerIP()) { -// /** @var IPRetrievalInterface $service */ -// $service = app(IPRetrievalInterface::class); -// $serverIP = (string)$service->getIP(); -// } -// -// -// // get IP address -// return ['key' => $key, 'ip' => $serverIP]; -// } -// -// /** -// * Returns if this import method has any special prerequisites such as config -// * variables or other things. The only thing we verify is the presence of the API key. Everything else -// * tumbles into place: no installation token? Will be requested. No device server? Will be created. Etc. -// * -// * @return bool -// */ -// public function hasPrerequisites(): bool -// { -// $hasApiKey = $this->hasApiKey(); -// $hasServerIP = $this->hasServerIP(); -// -// return !$hasApiKey || !$hasServerIP; -// } -// -// /** -// * Indicate if all prerequisites have been met. -// * -// * @return bool -// */ -// public function isComplete(): bool -// { -// // is complete when user has entered both the API key -// // and his IP address. -// -// $hasApiKey = $this->hasApiKey(); -// $hasServerIP = $this->hasServerIP(); -// -// return $hasApiKey && $hasServerIP; -// } -// -// /** -// * Set the user for this Prerequisites-routine. Class is expected to implement and save this. -// * -// * @param User $user -// */ -// public function setUser(User $user): void -// { -// Log::debug(sprintf('Now in setUser(#%d)', $user->id)); -// $this->user = $user; -// } -// -// /** -// * This method responds to the user's submission of an API key. It tries to register this instance as a new Firefly III device. -// * If this fails, the error is returned in a message bag and the user is notified (this is fairly friendly). -// * -// * @param Request $request -// * -// * @return MessageBag -// */ -// public function storePrerequisites(Request $request): MessageBag -// { -// $apiKey = $request->get('api_key'); -// $serverIP = $request->get('external_ip'); -// Log::debug('Storing bunq API key'); -// Preferences::setForUser($this->user, 'bunq_api_key', $apiKey); -// Preferences::setForUser($this->user, 'external_ip', $serverIP); -// -// return new MessageBag; -// } -// -// /** -// * @return bool -// */ -// private function hasApiKey(): bool -// { -// $apiKey = Preferences::getForUser($this->user, 'bunq_api_key', false); -// if (null === $apiKey) { -// return false; -// } -// if (null === $apiKey->data) { -// return false; -// } -// if (\strlen((string)$apiKey->data) === 64) { -// return true; -// } -// -// return false; -// } -// -// /** -// * @return bool -// */ -// private function hasServerIP(): bool -// { -// $serverIP = Preferences::getForUser($this->user, 'external_ip', false); -// if (null === $serverIP) { -// return false; -// } -// if (null === $serverIP->data) { -// return false; -// } -// if (\strlen((string)$serverIP->data) > 6) { -// return true; -// } -// -// return false; -// } + /** @var User */ + private $user; + // + // /** + // * Returns view name that allows user to fill in prerequisites. Currently asks for the API key. + // * + // * @return string + // */ + // public function getView(): string + // { + // Log::debug('Now in BunqPrerequisites::getView()'); + // + // return 'import.bunq.prerequisites'; + // } + // + // /** + // * Returns any values required for the prerequisites-view. + // * + // * @return array + // */ + // public function getViewParameters(): array + // { + // Log::debug('Now in BunqPrerequisites::getViewParameters()'); + // $key = ''; + // $serverIP = ''; + // if ($this->hasApiKey()) { + // $key = Preferences::getForUser($this->user, 'bunq_api_key', null)->data; + // } + // if ($this->hasServerIP()) { + // $serverIP = Preferences::getForUser($this->user, 'external_ip', null)->data; + // } + // if (!$this->hasServerIP()) { + // /** @var IPRetrievalInterface $service */ + // $service = app(IPRetrievalInterface::class); + // $serverIP = (string)$service->getIP(); + // } + // + // + // // get IP address + // return ['key' => $key, 'ip' => $serverIP]; + // } + // + // /** + // * Returns if this import method has any special prerequisites such as config + // * variables or other things. The only thing we verify is the presence of the API key. Everything else + // * tumbles into place: no installation token? Will be requested. No device server? Will be created. Etc. + // * + // * @return bool + // */ + // public function hasPrerequisites(): bool + // { + // $hasApiKey = $this->hasApiKey(); + // $hasServerIP = $this->hasServerIP(); + // + // return !$hasApiKey || !$hasServerIP; + // } + // + // /** + // * Indicate if all prerequisites have been met. + // * + // * @return bool + // */ + // public function isComplete(): bool + // { + // // is complete when user has entered both the API key + // // and his IP address. + // + // $hasApiKey = $this->hasApiKey(); + // $hasServerIP = $this->hasServerIP(); + // + // return $hasApiKey && $hasServerIP; + // } + // + // /** + // * Set the user for this Prerequisites-routine. Class is expected to implement and save this. + // * + // * @param User $user + // */ + // public function setUser(User $user): void + // { + // Log::debug(sprintf('Now in setUser(#%d)', $user->id)); + // $this->user = $user; + // } + // + // /** + // * This method responds to the user's submission of an API key. It tries to register this instance as a new Firefly III device. + // * If this fails, the error is returned in a message bag and the user is notified (this is fairly friendly). + // * + // * @param Request $request + // * + // * @return MessageBag + // */ + // public function storePrerequisites(Request $request): MessageBag + // { + // $apiKey = $request->get('api_key'); + // $serverIP = $request->get('external_ip'); + // Log::debug('Storing bunq API key'); + // Preferences::setForUser($this->user, 'bunq_api_key', $apiKey); + // Preferences::setForUser($this->user, 'external_ip', $serverIP); + // + // return new MessageBag; + // } + // + // /** + // * @return bool + // */ + // private function hasApiKey(): bool + // { + // $apiKey = Preferences::getForUser($this->user, 'bunq_api_key', false); + // if (null === $apiKey) { + // return false; + // } + // if (null === $apiKey->data) { + // return false; + // } + // if (\strlen((string)$apiKey->data) === 64) { + // return true; + // } + // + // return false; + // } + // + // /** + // * @return bool + // */ + // private function hasServerIP(): bool + // { + // $serverIP = Preferences::getForUser($this->user, 'external_ip', false); + // if (null === $serverIP) { + // return false; + // } + // if (null === $serverIP->data) { + // return false; + // } + // if (\strlen((string)$serverIP->data) > 6) { + // return true; + // } + // + // return false; + // } /** * Returns view name that allows user to fill in prerequisites. * @@ -183,8 +183,7 @@ class BunqPrerequisites implements PrerequisitesInterface */ public function getView(): string { - // TODO: Implement getView() method. - throw new NotImplementedException; + return 'todo'; } /** @@ -194,8 +193,7 @@ class BunqPrerequisites implements PrerequisitesInterface */ public function getViewParameters(): array { - // TODO: Implement getViewParameters() method. - throw new NotImplementedException; + return []; } /** @@ -205,8 +203,7 @@ class BunqPrerequisites implements PrerequisitesInterface */ public function isComplete(): bool { - // TODO: Implement isComplete() method. - throw new NotImplementedException; + return false; } /** @@ -216,8 +213,7 @@ class BunqPrerequisites implements PrerequisitesInterface */ public function setUser(User $user): void { - // TODO: Implement setUser() method. - throw new NotImplementedException; + $this->user = $user; } /** @@ -231,7 +227,6 @@ class BunqPrerequisites implements PrerequisitesInterface */ public function storePrerequisites(array $data): MessageBag { - // TODO: Implement storePrerequisites() method. - throw new NotImplementedException; + return new MessageBag; } } diff --git a/app/Import/Prerequisites/FilePrerequisites.php b/app/Import/Prerequisites/FilePrerequisites.php index 7e9ee6becc..07e236af14 100644 --- a/app/Import/Prerequisites/FilePrerequisites.php +++ b/app/Import/Prerequisites/FilePrerequisites.php @@ -34,83 +34,83 @@ use Illuminate\Support\MessageBag; */ class FilePrerequisites implements PrerequisitesInterface { -// /** @var User */ -// private $user; -// -// /** -// * Returns view name that allows user to fill in prerequisites. Currently asks for the API key. -// * -// * @return string -// */ -// public function getView(): string -// { -// return ''; -// } -// -// /** -// * Returns any values required for the prerequisites-view. -// * -// * @return array -// */ -// public function getViewParameters(): array -// { -// return []; -// } -// -// /** -// * Returns if this import method has any special prerequisites such as config -// * variables or other things. The only thing we verify is the presence of the API key. Everything else -// * tumbles into place: no installation token? Will be requested. No device server? Will be created. Etc. -// * -// * True if prerequisites. False if not. -// * -// * @return bool -// * -// * @throws FireflyException -// */ -// public function hasPrerequisites(): bool -// { -// if ($this->user->hasRole('demo')) { -// throw new FireflyException('Apologies, the demo user cannot import files.'); -// } -// -// return false; -// } -// -// /** -// * Indicate if all prerequisites have been met. -// * -// * @return bool -// */ -// public function isComplete(): bool -// { -// // has no prerequisites, so always return true. -// return true; -// } -// -// /** -// * Set the user for this Prerequisites-routine. Class is expected to implement and save this. -// * -// * @param User $user -// */ -// public function setUser(User $user): void -// { -// $this->user = $user; -// -// } -// -// /** -// * This method responds to the user's submission of an API key. It tries to register this instance as a new Firefly III device. -// * If this fails, the error is returned in a message bag and the user is notified (this is fairly friendly). -// * -// * @param Request $request -// * -// * @return MessageBag -// */ -// public function storePrerequisites(Request $request): MessageBag -// { -// return new MessageBag; -// } + // /** @var User */ + // private $user; + // + // /** + // * Returns view name that allows user to fill in prerequisites. Currently asks for the API key. + // * + // * @return string + // */ + // public function getView(): string + // { + // return ''; + // } + // + // /** + // * Returns any values required for the prerequisites-view. + // * + // * @return array + // */ + // public function getViewParameters(): array + // { + // return []; + // } + // + // /** + // * Returns if this import method has any special prerequisites such as config + // * variables or other things. The only thing we verify is the presence of the API key. Everything else + // * tumbles into place: no installation token? Will be requested. No device server? Will be created. Etc. + // * + // * True if prerequisites. False if not. + // * + // * @return bool + // * + // * @throws FireflyException + // */ + // public function hasPrerequisites(): bool + // { + // if ($this->user->hasRole('demo')) { + // throw new FireflyException('Apologies, the demo user cannot import files.'); + // } + // + // return false; + // } + // + // /** + // * Indicate if all prerequisites have been met. + // * + // * @return bool + // */ + // public function isComplete(): bool + // { + // // has no prerequisites, so always return true. + // return true; + // } + // + // /** + // * Set the user for this Prerequisites-routine. Class is expected to implement and save this. + // * + // * @param User $user + // */ + // public function setUser(User $user): void + // { + // $this->user = $user; + // + // } + // + // /** + // * This method responds to the user's submission of an API key. It tries to register this instance as a new Firefly III device. + // * If this fails, the error is returned in a message bag and the user is notified (this is fairly friendly). + // * + // * @param Request $request + // * + // * @return MessageBag + // */ + // public function storePrerequisites(Request $request): MessageBag + // { + // return new MessageBag; + // } /** * Returns view name that allows user to fill in prerequisites. * @@ -118,8 +118,7 @@ class FilePrerequisites implements PrerequisitesInterface */ public function getView(): string { - // TODO: Implement getView() method. - throw new NotImplementedException; + return ''; } /** @@ -129,8 +128,7 @@ class FilePrerequisites implements PrerequisitesInterface */ public function getViewParameters(): array { - // TODO: Implement getViewParameters() method. - throw new NotImplementedException; + return []; } /** @@ -140,8 +138,7 @@ class FilePrerequisites implements PrerequisitesInterface */ public function isComplete(): bool { - // TODO: Implement isComplete() method. - throw new NotImplementedException; + return true; } /** @@ -151,8 +148,7 @@ class FilePrerequisites implements PrerequisitesInterface */ public function setUser(User $user): void { - // TODO: Implement setUser() method. - throw new NotImplementedException; + } /** @@ -166,7 +162,6 @@ class FilePrerequisites implements PrerequisitesInterface */ public function storePrerequisites(array $data): MessageBag { - // TODO: Implement storePrerequisites() method. - throw new NotImplementedException; + return new MessageBag; } } diff --git a/app/Import/Prerequisites/SpectrePrerequisites.php b/app/Import/Prerequisites/SpectrePrerequisites.php index 80bd702b4f..35ef68b989 100644 --- a/app/Import/Prerequisites/SpectrePrerequisites.php +++ b/app/Import/Prerequisites/SpectrePrerequisites.php @@ -196,8 +196,7 @@ class SpectrePrerequisites implements PrerequisitesInterface */ public function getView(): string { - // TODO: Implement getView() method. - throw new NotImplementedException; + return ''; } /** @@ -207,8 +206,7 @@ class SpectrePrerequisites implements PrerequisitesInterface */ public function getViewParameters(): array { - // TODO: Implement getViewParameters() method. - throw new NotImplementedException; + return []; } /** @@ -218,8 +216,7 @@ class SpectrePrerequisites implements PrerequisitesInterface */ public function isComplete(): bool { - // TODO: Implement isComplete() method. - throw new NotImplementedException; + return false; } /** @@ -229,8 +226,6 @@ class SpectrePrerequisites implements PrerequisitesInterface */ public function setUser(User $user): void { - // TODO: Implement setUser() method. - throw new NotImplementedException; } /** @@ -244,7 +239,6 @@ class SpectrePrerequisites implements PrerequisitesInterface */ public function storePrerequisites(array $data): MessageBag { - // TODO: Implement storePrerequisites() method. - throw new NotImplementedException; + return new MessageBag; } } diff --git a/app/Import/Routine/FakeRoutine.php b/app/Import/Routine/FakeRoutine.php index ea626e3e19..5d392dcd8a 100644 --- a/app/Import/Routine/FakeRoutine.php +++ b/app/Import/Routine/FakeRoutine.php @@ -108,4 +108,4 @@ class FakeRoutine implements RoutineInterface $this->job = $job; $this->repository->setUser($job->user); } -} \ No newline at end of file +} diff --git a/app/Import/Storage/ImportArrayStorage.php b/app/Import/Storage/ImportArrayStorage.php index 1f1add01cd..35b49cfe80 100644 --- a/app/Import/Storage/ImportArrayStorage.php +++ b/app/Import/Storage/ImportArrayStorage.php @@ -1,4 +1,5 @@ = $requiredHits; } -} \ No newline at end of file +} diff --git a/app/Services/IP/IPRetrievalInterface.php b/app/Services/IP/IPRetrievalInterface.php index 69ca1132a9..5bd2966e4a 100644 --- a/app/Services/IP/IPRetrievalInterface.php +++ b/app/Services/IP/IPRetrievalInterface.php @@ -37,4 +37,4 @@ interface IPRetrievalInterface * @return null|string */ public function getIP(): ?string; -} \ No newline at end of file +} diff --git a/app/Services/IP/IpifyOrg.php b/app/Services/IP/IpifyOrg.php index 89256e9024..2e72e23c9c 100644 --- a/app/Services/IP/IpifyOrg.php +++ b/app/Services/IP/IpifyOrg.php @@ -57,4 +57,4 @@ class IpifyOrg implements IPRetrievalInterface return (string)$response->body; } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Exception/WrongRequestFormatException.php b/app/Services/Spectre/Exception/WrongRequestFormatException.php index ac0469f068..dea494a798 100644 --- a/app/Services/Spectre/Exception/WrongRequestFormatException.php +++ b/app/Services/Spectre/Exception/WrongRequestFormatException.php @@ -29,4 +29,4 @@ namespace FireflyIII\Services\Spectre\Exception; class WrongRequestFormatException extends SpectreException { -} \ No newline at end of file +} diff --git a/app/Support/Binder/SimpleJournalList.php b/app/Support/Binder/SimpleJournalList.php index 0b3dadf344..c356331b48 100644 --- a/app/Support/Binder/SimpleJournalList.php +++ b/app/Support/Binder/SimpleJournalList.php @@ -108,4 +108,4 @@ class SimpleJournalList implements BinderInterface } throw new NotFoundHttpException; } -} \ No newline at end of file +} diff --git a/app/Support/Import/Routine/Fake/StageAhoyHandler.php b/app/Support/Import/Routine/Fake/StageAhoyHandler.php index d26f3db8c4..8c4bb211c0 100644 --- a/app/Support/Import/Routine/Fake/StageAhoyHandler.php +++ b/app/Support/Import/Routine/Fake/StageAhoyHandler.php @@ -43,4 +43,4 @@ class StageAhoyHandler } } -} \ No newline at end of file +} diff --git a/app/Support/Import/Routine/Fake/StageFinalHandler.php b/app/Support/Import/Routine/Fake/StageFinalHandler.php index b16c74ac0c..94f48ce3f9 100644 --- a/app/Support/Import/Routine/Fake/StageFinalHandler.php +++ b/app/Support/Import/Routine/Fake/StageFinalHandler.php @@ -1,4 +1,5 @@ assertHeader('Content-Type', 'application/vnd.api+json'); $response->assertSee($currency->name); } -} \ No newline at end of file +} diff --git a/tests/Feature/Controllers/Import/JobConfigurationControllerTest.php b/tests/Feature/Controllers/Import/JobConfigurationControllerTest.php index e10de14b87..dd04607562 100644 --- a/tests/Feature/Controllers/Import/JobConfigurationControllerTest.php +++ b/tests/Feature/Controllers/Import/JobConfigurationControllerTest.php @@ -225,4 +225,4 @@ class JobConfigurationControllerTest extends TestCase } -} \ No newline at end of file +} diff --git a/tests/Unit/Handlers/Events/VersionCheckEventHandlerTest.php b/tests/Unit/Handlers/Events/VersionCheckEventHandlerTest.php index cc00e06c22..5f289b62c3 100644 --- a/tests/Unit/Handlers/Events/VersionCheckEventHandlerTest.php +++ b/tests/Unit/Handlers/Events/VersionCheckEventHandlerTest.php @@ -169,4 +169,4 @@ class VersionCheckEventHandlerTest extends TestCase $handler->checkForUpdates($event); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/JobConfiguration/FakeJobConfigurationTest.php b/tests/Unit/Import/JobConfiguration/FakeJobConfigurationTest.php index 10027d3dbe..a6111b24cb 100644 --- a/tests/Unit/Import/JobConfiguration/FakeJobConfigurationTest.php +++ b/tests/Unit/Import/JobConfiguration/FakeJobConfigurationTest.php @@ -590,4 +590,4 @@ class FakeJobConfigurationTest extends TestCase $view = $configurator->getNextView(); $this->assertEquals('import.fake.enter-song', $view); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Prerequisites/FakePrerequisitesTest.php b/tests/Unit/Import/Prerequisites/FakePrerequisitesTest.php index dd15107619..7aa2d9d289 100644 --- a/tests/Unit/Import/Prerequisites/FakePrerequisitesTest.php +++ b/tests/Unit/Import/Prerequisites/FakePrerequisitesTest.php @@ -171,4 +171,4 @@ class FakePrerequisitesTest extends TestCase $this->assertCount(0, $messages); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Routine/FakeRoutineTest.php b/tests/Unit/Import/Routine/FakeRoutineTest.php index 70d21d4e21..9f2abdc9f3 100644 --- a/tests/Unit/Import/Routine/FakeRoutineTest.php +++ b/tests/Unit/Import/Routine/FakeRoutineTest.php @@ -144,4 +144,4 @@ class FakeRoutineTest extends TestCase } } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Specifics/AbnAmroDescriptionTest.php b/tests/Unit/Import/Specifics/AbnAmroDescriptionTest.php index 97ace313bb..4f6ebad8c4 100644 --- a/tests/Unit/Import/Specifics/AbnAmroDescriptionTest.php +++ b/tests/Unit/Import/Specifics/AbnAmroDescriptionTest.php @@ -165,4 +165,4 @@ class AbnAmroDescriptionTest extends TestCase } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Specifics/IngDescriptionTest.php b/tests/Unit/Import/Specifics/IngDescriptionTest.php index 70638e13a3..f9e142f773 100644 --- a/tests/Unit/Import/Specifics/IngDescriptionTest.php +++ b/tests/Unit/Import/Specifics/IngDescriptionTest.php @@ -135,4 +135,4 @@ class IngDescriptionTest extends TestCase $this->assertEquals($row, $result); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Specifics/PresidentsChoiceTest.php b/tests/Unit/Import/Specifics/PresidentsChoiceTest.php index d6e509f880..e2ba5bd6e6 100644 --- a/tests/Unit/Import/Specifics/PresidentsChoiceTest.php +++ b/tests/Unit/Import/Specifics/PresidentsChoiceTest.php @@ -58,4 +58,4 @@ class PresidentsChoiceTest extends TestCase } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Specifics/RabobankDescriptionTest.php b/tests/Unit/Import/Specifics/RabobankDescriptionTest.php index b3f437b030..1e881ef85b 100644 --- a/tests/Unit/Import/Specifics/RabobankDescriptionTest.php +++ b/tests/Unit/Import/Specifics/RabobankDescriptionTest.php @@ -72,4 +72,4 @@ class RabobankDescriptionTest extends TestCase $this->assertEquals($row, $result); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Specifics/SnsDescriptionTest.php b/tests/Unit/Import/Specifics/SnsDescriptionTest.php index 9069784627..30b985a920 100644 --- a/tests/Unit/Import/Specifics/SnsDescriptionTest.php +++ b/tests/Unit/Import/Specifics/SnsDescriptionTest.php @@ -69,4 +69,4 @@ class SnsDescriptionTest extends TestCase $this->assertEquals('Some text', $result[17]); } -} \ No newline at end of file +} diff --git a/tests/Unit/Import/Storage/ImportArrayStorageTest.php b/tests/Unit/Import/Storage/ImportArrayStorageTest.php index e3e66d6f93..6392ec730f 100644 --- a/tests/Unit/Import/Storage/ImportArrayStorageTest.php +++ b/tests/Unit/Import/Storage/ImportArrayStorageTest.php @@ -632,4 +632,4 @@ class ImportArrayStorageTest extends TestCase ], ]; } -} \ No newline at end of file +}