Skip to content

Firefly III: a personal finances manager

Fix data provider.

James Cole73104aae1f95
diff --git a/app/Handlers/Observer/BillObserver.php b/app/Handlers/Observer/BillObserver.php
index 3dcc1ac5a5..8ef64f80a0 100644
--- a/app/Handlers/Observer/BillObserver.php
+++ b/app/Handlers/Observer/BillObserver.php
@@ -35,13 +35,13 @@ class BillObserver
{
public function created(Bill $bill): void
{
- Log::debug('Observe "created" of a bill.');
+// Log::debug('Observe "created" of a bill.');
$this->updateNativeAmount($bill);
}
public function deleting(Bill $bill): void
{
- app('log')->debug('Observe "deleting" of a bill.');
+// app('log')->debug('Observe "deleting" of a bill.');
foreach ($bill->attachments()->get() as $attachment) {
$attachment->delete();
}
@@ -50,7 +50,7 @@ class BillObserver
public function updated(Bill $bill): void
{
- Log::debug('Observe "updated" of a bill.');
+// Log::debug('Observe "updated" of a bill.');
$this->updateNativeAmount($bill);
}
diff --git a/app/Support/Navigation.php b/app/Support/Navigation.php
index 5e66d680fc..8a1b2db1df 100644
--- a/app/Support/Navigation.php
+++ b/app/Support/Navigation.php
@@ -505,7 +505,7 @@ class Navigation
{
$format = 'Y-m-d';
$diff = $start->diffInMonths($end, true);
- Log::debug(sprintf('preferredCarbonFormat(%s, %s) = %f', $start->format('Y-m-d'), $end->format('Y-m-d'), $diff));
+ //Log::debug(sprintf('preferredCarbonFormat(%s, %s) = %f', $start->format('Y-m-d'), $end->format('Y-m-d'), $diff));
if ($diff >= 1.001) {
// Log::debug(sprintf('Return Y-m because %s', $diff));
$format = 'Y-m';
diff --git a/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTest.php b/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTest.php
index f324a8661a..785fd3c2cb 100644
--- a/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTest.php
+++ b/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTest.php
@@ -15,7 +15,7 @@ abstract class AbstractQueryParserInterfaceParseQueryTest extends TestCase
{
abstract protected function createParser(): QueryParserInterface;
- public function queryDataProvider(): array
+ public static function queryDataProvider(): array
{
return [
'empty query' => [