mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 19:01:58 +00:00
🤖 Auto commit for release 'develop' on 2025-07-07
This commit is contained in:
12
.ci/php-cs-fixer/composer.lock
generated
12
.ci/php-cs-fixer/composer.lock
generated
@@ -406,16 +406,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "friendsofphp/php-cs-fixer",
|
"name": "friendsofphp/php-cs-fixer",
|
||||||
"version": "v3.78.1",
|
"version": "v3.80.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
|
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
|
||||||
"reference": "112604bc6af045394a729d377707def4bf474bee"
|
"reference": "e49ed46b8f7adcc451d4cd2ed34eaae33372bc60"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/112604bc6af045394a729d377707def4bf474bee",
|
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/e49ed46b8f7adcc451d4cd2ed34eaae33372bc60",
|
||||||
"reference": "112604bc6af045394a729d377707def4bf474bee",
|
"reference": "e49ed46b8f7adcc451d4cd2ed34eaae33372bc60",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
|
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
|
||||||
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.78.1"
|
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.80.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -507,7 +507,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-07-06T14:13:37+00:00"
|
"time": "2025-07-06T21:00:51+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/container",
|
"name": "psr/container",
|
||||||
|
@@ -78,8 +78,8 @@ return [
|
|||||||
'running_balance_column' => env('USE_RUNNING_BALANCE', false),
|
'running_balance_column' => env('USE_RUNNING_BALANCE', false),
|
||||||
// see cer.php for exchange rates feature flag.
|
// see cer.php for exchange rates feature flag.
|
||||||
],
|
],
|
||||||
'version' => 'develop/2025-07-06',
|
'version' => 'develop/2025-07-07',
|
||||||
'build_time' => 1751823230,
|
'build_time' => 1751859127,
|
||||||
'api_version' => '2.1.0', // field is no longer used.
|
'api_version' => '2.1.0', // field is no longer used.
|
||||||
'db_version' => 25,
|
'db_version' => 25,
|
||||||
|
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@@ -4449,9 +4449,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001726",
|
"version": "1.0.30001727",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001726.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz",
|
||||||
"integrity": "sha512-VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==",
|
"integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"firefly": {
|
"firefly": {
|
||||||
"administrations_page_title": "Financial administrations",
|
"administrations_page_title": "Administraciones financieras",
|
||||||
"administrations_index_menu": "Financial administrations",
|
"administrations_index_menu": "Administraciones financieras",
|
||||||
"expires_at": "Expires at",
|
"expires_at": "Expira el",
|
||||||
"temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.",
|
"temp_administrations_introduction": "Firefly III pronto tendr\u00e1 la capacidad de gestionar m\u00faltiples administraciones financieras. Ahora mismo, solo tienes uno. Puedes establecer el t\u00edtulo de esta administraci\u00f3n y su moneda nativa. Esto reemplaza la configuraci\u00f3n anterior donde establecer\u00eda su \"moneda predeterminada\". Esta situaci\u00f3n est\u00e1 vinculada ahora a la administraci\u00f3n financiera y puede ser diferente por administraci\u00f3n.",
|
||||||
"administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.",
|
"administration_currency_form_help": "Puede tardar mucho tiempo en cargar la p\u00e1gina si cambia la moneda nativa porque la transacci\u00f3n puede necesitar ser convertida a su (nueva) moneda nativa.",
|
||||||
"administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"",
|
"administrations_page_edit_sub_title_js": "Editar administraci\u00f3n financiera \"{title}\"",
|
||||||
"table": "Mesa",
|
"table": "Mesa",
|
||||||
"welcome_back": "\u00bfQu\u00e9 est\u00e1 pasando?",
|
"welcome_back": "\u00bfQu\u00e9 est\u00e1 pasando?",
|
||||||
"flash_error": "\u00a1Error!",
|
"flash_error": "\u00a1Error!",
|
||||||
@@ -16,11 +16,11 @@
|
|||||||
"select_source_account": "Por favor, seleccione o escriba un nombre de cuenta de origen v\u00e1lido",
|
"select_source_account": "Por favor, seleccione o escriba un nombre de cuenta de origen v\u00e1lido",
|
||||||
"split_transaction_title": "Descripci\u00f3n de la transacci\u00f3n dividida",
|
"split_transaction_title": "Descripci\u00f3n de la transacci\u00f3n dividida",
|
||||||
"errors_submission": "Hubo un problema con su env\u00edo. Por favor, compruebe los siguientes errores.",
|
"errors_submission": "Hubo un problema con su env\u00edo. Por favor, compruebe los siguientes errores.",
|
||||||
"is_reconciled": "Is reconciled",
|
"is_reconciled": "Est\u00e1 reconciliado",
|
||||||
"split": "Separar",
|
"split": "Separar",
|
||||||
"single_split": "Divisi\u00f3n",
|
"single_split": "Divisi\u00f3n",
|
||||||
"not_enough_currencies": "Not enough currencies",
|
"not_enough_currencies": "No hay suficientes monedas",
|
||||||
"not_enough_currencies_enabled": "If you have just one currency enabled, there is no need to add exchange rates.",
|
"not_enough_currencies_enabled": "Si solo tiene una divisa habilitada, no es necesario a\u00f1adir tipos de cambio.",
|
||||||
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">La transacci\u00f3n #{ID} (\"{title}\")<\/a> ha sido almacenada.",
|
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">La transacci\u00f3n #{ID} (\"{title}\")<\/a> ha sido almacenada.",
|
||||||
"webhook_stored_link": "<a href=\"webhooks\/show\/{ID}\">El webhook #{ID} (\"{title}\")<\/a> ha sido almacenado.",
|
"webhook_stored_link": "<a href=\"webhooks\/show\/{ID}\">El webhook #{ID} (\"{title}\")<\/a> ha sido almacenado.",
|
||||||
"webhook_updated_link": "<a href=\"webhooks\/show\/{ID}\">El webhook #{ID} (\"{title}\")<\/a> ha sido actualizado.",
|
"webhook_updated_link": "<a href=\"webhooks\/show\/{ID}\">El webhook #{ID} (\"{title}\")<\/a> ha sido actualizado.",
|
||||||
@@ -43,10 +43,10 @@
|
|||||||
"submit": "Enviar",
|
"submit": "Enviar",
|
||||||
"amount": "Cantidad",
|
"amount": "Cantidad",
|
||||||
"date": "Fecha",
|
"date": "Fecha",
|
||||||
"is_reconciled_fields_dropped": "Because this transaction is reconciled, you will not be able to update the accounts, nor the amount(s) unless you remove the reconciliation flag.",
|
"is_reconciled_fields_dropped": "Debido a que esta transacci\u00f3n est\u00e1 reconciliada, no podr\u00e1 actualizar las cuentas, ni la cantidad(es) a menos que elimine la bandera de reconciliaci\u00f3n.",
|
||||||
"tags": "Etiquetas",
|
"tags": "Etiquetas",
|
||||||
"no_budget": "(sin presupuesto)",
|
"no_budget": "(sin presupuesto)",
|
||||||
"no_bill": "(no subscription)",
|
"no_bill": "(sin suscripci\u00f3n)",
|
||||||
"category": "Categor\u00eda",
|
"category": "Categor\u00eda",
|
||||||
"attachments": "Archivos adjuntos",
|
"attachments": "Archivos adjuntos",
|
||||||
"notes": "Notas",
|
"notes": "Notas",
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
"destination_account_reconciliation": "No puedes editar la cuenta de destino de una transacci\u00f3n de reconciliaci\u00f3n.",
|
"destination_account_reconciliation": "No puedes editar la cuenta de destino de una transacci\u00f3n de reconciliaci\u00f3n.",
|
||||||
"source_account_reconciliation": "No puedes editar la cuenta de origen de una transacci\u00f3n de reconciliaci\u00f3n.",
|
"source_account_reconciliation": "No puedes editar la cuenta de origen de una transacci\u00f3n de reconciliaci\u00f3n.",
|
||||||
"budget": "Presupuesto",
|
"budget": "Presupuesto",
|
||||||
"bill": "Subscription",
|
"bill": "Suscripci\u00f3n",
|
||||||
"you_create_withdrawal": "Est\u00e1 creando un gasto.",
|
"you_create_withdrawal": "Est\u00e1 creando un gasto.",
|
||||||
"you_create_transfer": "Est\u00e1 creando una transferencia.",
|
"you_create_transfer": "Est\u00e1 creando una transferencia.",
|
||||||
"you_create_deposit": "Est\u00e1 creando un ingreso.",
|
"you_create_deposit": "Est\u00e1 creando un ingreso.",
|
||||||
@@ -140,11 +140,11 @@
|
|||||||
"response": "Respuesta",
|
"response": "Respuesta",
|
||||||
"visit_webhook_url": "Visita la URL del webhook",
|
"visit_webhook_url": "Visita la URL del webhook",
|
||||||
"reset_webhook_secret": "Restablecer secreto del webhook",
|
"reset_webhook_secret": "Restablecer secreto del webhook",
|
||||||
"header_exchange_rates": "Exchange rates",
|
"header_exchange_rates": "Tipos de cambio",
|
||||||
"exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/explanation\/financial-concepts\/exchange-rates\/\">the documentation<\/a>.",
|
"exchange_rates_intro": "Firefly III soporta la descarga y el uso de tipos de cambio. Lee m\u00e1s sobre esto en <a href=\"https:\/\/docs.firefly-iii.org\/explanation\/financial-concepts\/exchange-rates\/\">la documentaci\u00f3n<\/a>.",
|
||||||
"exchange_rates_from_to": "Entre {from} y {to} (y viceversa)",
|
"exchange_rates_from_to": "Entre {from} y {to} (y viceversa)",
|
||||||
"exchange_rates_intro_rates": "Firefly III utiliza los siguientes tipos de cambio. El inverso se calcula autom\u00e1ticamente cuando no se proporciona. Si no existe un tipo de cambio para la fecha de la transacci\u00f3n, Firefly III retroceder\u00e1 en el tiempo para encontrar uno. Si no hay ninguno presente, se usar\u00e1 la tasa \"1\".",
|
"exchange_rates_intro_rates": "Firefly III utiliza los siguientes tipos de cambio. El inverso se calcula autom\u00e1ticamente cuando no se proporciona. Si no existe un tipo de cambio para la fecha de la transacci\u00f3n, Firefly III retroceder\u00e1 en el tiempo para encontrar uno. Si no hay ninguno presente, se usar\u00e1 la tasa \"1\".",
|
||||||
"header_exchange_rates_rates": "Exchange rates",
|
"header_exchange_rates_rates": "Tipos de cambio",
|
||||||
"header_exchange_rates_table": "Tabla con tipos de cambio",
|
"header_exchange_rates_table": "Tabla con tipos de cambio",
|
||||||
"help_rate_form": "En este d\u00eda, \u00bfcu\u00e1nto {to} conseguir\u00e1s por un {from}?",
|
"help_rate_form": "En este d\u00eda, \u00bfcu\u00e1nto {to} conseguir\u00e1s por un {from}?",
|
||||||
"add_new_rate": "Agregar un nuevo tipo de cambio",
|
"add_new_rate": "Agregar un nuevo tipo de cambio",
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
"list": {
|
"list": {
|
||||||
"title": "T\u00edtulo",
|
"title": "T\u00edtulo",
|
||||||
"active": "\u00bfEst\u00e1 Activo?",
|
"active": "\u00bfEst\u00e1 Activo?",
|
||||||
"native_currency": "Native currency",
|
"native_currency": "Moneda nativa",
|
||||||
"trigger": "Disparador",
|
"trigger": "Disparador",
|
||||||
"response": "Respuesta",
|
"response": "Respuesta",
|
||||||
"delivery": "Entrega",
|
"delivery": "Entrega",
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\integration\Support\Models;
|
namespace Tests\integration\Support\Models;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Models\BillDateCalculator;
|
use FireflyIII\Support\Models\BillDateCalculator;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
@@ -59,7 +58,7 @@ final class BillDateCalculatorTest extends TestCase
|
|||||||
$this->assertSame($expected, $result);
|
$this->assertSame($expected, $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideDates(): Iterator
|
public static function provideDates(): iterable
|
||||||
{
|
{
|
||||||
// Carbon $earliest, Carbon $latest, Carbon $billStart, string $period, int $skip, ?Carbon $lastPaid
|
// Carbon $earliest, Carbon $latest, Carbon $billStart, string $period, int $skip, ?Carbon $lastPaid
|
||||||
// basic monthly bill.x
|
// basic monthly bill.x
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Calendar\Periodicity;
|
use FireflyIII\Support\Calendar\Periodicity;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
@@ -111,7 +110,7 @@ final class NavigationAddPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function providePeriods(): Iterator
|
public static function providePeriods(): iterable
|
||||||
{
|
{
|
||||||
yield '1D' => ['1D', Carbon::now(), Carbon::tomorrow()];
|
yield '1D' => ['1D', Carbon::now(), Carbon::tomorrow()];
|
||||||
|
|
||||||
@@ -161,7 +160,7 @@ final class NavigationAddPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideFrequencies(): Iterator
|
public static function provideFrequencies(): iterable
|
||||||
{
|
{
|
||||||
yield Periodicity::Daily->name => [Periodicity::Daily, Carbon::now(), Carbon::tomorrow()];
|
yield Periodicity::Daily->name => [Periodicity::Daily, Carbon::now(), Carbon::tomorrow()];
|
||||||
|
|
||||||
@@ -215,7 +214,7 @@ final class NavigationAddPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideMonthPeriods(): Iterator
|
public static function provideMonthPeriods(): iterable
|
||||||
{
|
{
|
||||||
yield '1M' => ['1M', Carbon::parse('2023-06-25'), Carbon::parse('2023-06-25')->addMonthsNoOverflow(1)];
|
yield '1M' => ['1M', Carbon::parse('2023-06-25'), Carbon::parse('2023-06-25')->addMonthsNoOverflow(1)];
|
||||||
|
|
||||||
|
@@ -24,7 +24,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
@@ -58,7 +57,7 @@ final class NavigationEndOfPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideDates(): Iterator
|
public static function provideDates(): iterable
|
||||||
{
|
{
|
||||||
yield '1D' => ['1D', Carbon::now(), Carbon::now()->endOfDay()];
|
yield '1D' => ['1D', Carbon::now(), Carbon::now()->endOfDay()];
|
||||||
|
|
||||||
@@ -122,7 +121,7 @@ final class NavigationEndOfPeriodTest extends TestCase
|
|||||||
Log::shouldHaveReceived('error', [$expectedMessage]);
|
Log::shouldHaveReceived('error', [$expectedMessage]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideUnknownFrequencies(): Iterator
|
public static function provideUnknownFrequencies(): iterable
|
||||||
{
|
{
|
||||||
yield '1day' => ['1day', Carbon::now(), Carbon::now()];
|
yield '1day' => ['1day', Carbon::now(), Carbon::now()];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
use Tests\integration\TestCase;
|
use Tests\integration\TestCase;
|
||||||
@@ -57,7 +56,7 @@ final class NavigationPreferredCarbonFormatByPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected, $formatPeriod);
|
$this->assertSame($expected, $formatPeriod);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function providePeriods(): Iterator
|
public static function providePeriods(): iterable
|
||||||
{
|
{
|
||||||
yield 'unknown' => ['1day', 'Y-m-d'];
|
yield 'unknown' => ['1day', 'Y-m-d'];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
@@ -58,7 +57,7 @@ final class NavigationPreferredCarbonFormatTest extends TestCase
|
|||||||
$this->assertSame($expected, $carbonFormat);
|
$this->assertSame($expected, $carbonFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function providePeriods(): Iterator
|
public static function providePeriods(): iterable
|
||||||
{
|
{
|
||||||
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), 'Y-m-d'];
|
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), 'Y-m-d'];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
@@ -58,7 +57,7 @@ final class NavigationPreferredEndOfPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected, $formatPeriod);
|
$this->assertSame($expected, $formatPeriod);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function providePeriods(): Iterator
|
public static function providePeriods(): iterable
|
||||||
{
|
{
|
||||||
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), 'endOfDay'];
|
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), 'endOfDay'];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
@@ -58,7 +57,7 @@ final class NavigationPreferredRangeFormatTest extends TestCase
|
|||||||
$this->assertSame($expected, $formatPeriod);
|
$this->assertSame($expected, $formatPeriod);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function providePeriods(): Iterator
|
public static function providePeriods(): iterable
|
||||||
{
|
{
|
||||||
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), '1D'];
|
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), '1D'];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use PHPUnit\Framework\Attributes\DataProvider;
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
@@ -58,7 +57,7 @@ final class NavigationPreferredSqlFormatTest extends TestCase
|
|||||||
$this->assertSame($expected, $formatPeriod);
|
$this->assertSame($expected, $formatPeriod);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideDates(): Iterator
|
public static function provideDates(): iterable
|
||||||
{
|
{
|
||||||
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), '%Y-%m-%d'];
|
yield '1 week' => [Carbon::now(), Carbon::now()->addWeek(), '%Y-%m-%d'];
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ declare(strict_types=1);
|
|||||||
namespace Tests\unit\Support;
|
namespace Tests\unit\Support;
|
||||||
|
|
||||||
use Override;
|
use Override;
|
||||||
use Iterator;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use FireflyIII\Support\Navigation;
|
use FireflyIII\Support\Navigation;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
@@ -59,7 +58,7 @@ final class NavigationStartOfPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideDates(): Iterator
|
public static function provideDates(): iterable
|
||||||
{
|
{
|
||||||
yield 'custom' => ['custom', Carbon::now(), Carbon::now()];
|
yield 'custom' => ['custom', Carbon::now(), Carbon::now()];
|
||||||
|
|
||||||
@@ -124,7 +123,7 @@ final class NavigationStartOfPeriodTest extends TestCase
|
|||||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function provideUnknownFrequencies(): Iterator
|
public static function provideUnknownFrequencies(): iterable
|
||||||
{
|
{
|
||||||
yield '1day' => ['1day', Carbon::now(), Carbon::now()];
|
yield '1day' => ['1day', Carbon::now(), Carbon::now()];
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Tests\unit\Support\Search\QueryParser;
|
namespace Tests\unit\Support\Search\QueryParser;
|
||||||
|
|
||||||
use Iterator;
|
|
||||||
use FireflyIII\Support\Search\QueryParser\FieldNode;
|
use FireflyIII\Support\Search\QueryParser\FieldNode;
|
||||||
use FireflyIII\Support\Search\QueryParser\QueryParserInterface;
|
use FireflyIII\Support\Search\QueryParser\QueryParserInterface;
|
||||||
use FireflyIII\Support\Search\QueryParser\StringNode;
|
use FireflyIII\Support\Search\QueryParser\StringNode;
|
||||||
@@ -30,7 +29,7 @@ abstract class AbstractQueryParserInterfaceParseQueryTester extends TestCase
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function queryDataProvider(): Iterator
|
public static function queryDataProvider(): iterable
|
||||||
{
|
{
|
||||||
yield 'empty query' => [
|
yield 'empty query' => [
|
||||||
'',
|
'',
|
||||||
|
Reference in New Issue
Block a user