🤖 Auto commit for release 'develop' on 2025-10-05

This commit is contained in:
JC5
2025-10-05 13:03:51 +02:00
parent 50279d623c
commit b0033cf9ed
180 changed files with 285 additions and 455 deletions

View File

@@ -132,8 +132,6 @@ class CreateController extends Controller
/**
* Store the new account.
*
* @param AccountFormRequest $request
*
* @return Redirector|RedirectResponse
*
* @throws ContainerExceptionInterface

View File

@@ -67,9 +67,6 @@ class IndexController extends Controller
}
/**
* @param Request $request
* @param string $objectType
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -141,9 +138,6 @@ class IndexController extends Controller
/**
* Show list of accounts.
*
* @param Request $request
* @param string $objectType
*
* @return Factory|View
*
* @throws ContainerExceptionInterface

View File

@@ -78,11 +78,6 @@ class ShowController extends Controller
/**
* Show an account.
*
* @param Request $request
* @param Account $account
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|Redirector|RedirectResponse|View
*
* @throws ContainerExceptionInterface
@@ -202,9 +197,6 @@ class ShowController extends Controller
/**
* Show an account.
*
* @param Request $request
* @param Account $account
*
* @return Factory|Redirector|RedirectResponse|View
*
* @throws ContainerExceptionInterface

View File

@@ -49,6 +49,7 @@ class HomeController extends Controller
* Index of the admin.
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -154,6 +154,7 @@ class UserController extends Controller
* Show index of user manager.
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws FireflyException
* @throws NotFoundExceptionInterface

View File

@@ -36,6 +36,7 @@ use Illuminate\View\View;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use Safe\Exceptions\UrlException;
use function Safe\parse_url;
/**
@@ -61,10 +62,8 @@ class ForgotPasswordController extends Controller
/**
* Send a reset link to the given user.
*
* @param Request $request
* @param UserRepositoryInterface $repository
*
* @return Factory|RedirectResponse|View
*
* @throws FireflyException
*/
public function sendResetLinkEmail(Request $request, UserRepositoryInterface $repository)

View File

@@ -221,8 +221,6 @@ class LoginController extends Controller
/**
* Show the application's login form.
*
* @param Request $request
*
* @return Application|Factory|Redirector|RedirectResponse|View
*
* @throws FireflyException

View File

@@ -140,9 +140,6 @@ class RegisterController extends Controller
/**
* Show the application registration form if the invitation code is valid.
*
* @param Request $request
* @param string $code
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -177,8 +174,6 @@ class RegisterController extends Controller
/**
* Show the application registration form.
*
* @param Request|null $request
*
* @return Factory|View
*
* @throws ContainerExceptionInterface

View File

@@ -114,8 +114,7 @@ class ResetPasswordController extends Controller
*
* If no token is present, display the link request form.
*
* @param Request $request
* @param null $token
* @param null $token
*
* @return Factory|View
*

View File

@@ -61,9 +61,8 @@ class TwoFactorController extends Controller
}
/**
* @param Request $request
*
* @return Redirector|RedirectResponse
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -147,8 +147,6 @@ class IndexController extends Controller
return view('bills.index', compact('bills', 'sums', 'total', 'totals', 'today'));
}
/**
*/
private function getSums(array $bills): array
{
$sums = [];

View File

@@ -115,10 +115,8 @@ class ShowController extends Controller
/**
* Show a bill.
*
* @param Request $request
* @param Bill $bill
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -75,10 +75,6 @@ class ShowController extends Controller
/**
* Show transactions without a budget.
*
* @param Request $request
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -118,9 +114,8 @@ class ShowController extends Controller
/**
* Shows ALL transactions without a budget.
*
* @param Request $request
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
@@ -147,10 +142,8 @@ class ShowController extends Controller
/**
* Show a single budget.
*
* @param Request $request
* @param Budget $budget
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
@@ -183,10 +176,6 @@ class ShowController extends Controller
/**
* Show a single budget by a budget limit.
*
* @param Request $request
* @param Budget $budget
* @param BudgetLimit $budgetLimit
*
* @return Factory|View
*
* @throws FireflyException

View File

@@ -64,9 +64,8 @@ class IndexController extends Controller
/**
* Show all categories.
*
* @param Request $request
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -71,10 +71,6 @@ class NoCategoryController extends Controller
/**
* Show transactions without a category.
*
* @param Request $request
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -114,9 +110,8 @@ class NoCategoryController extends Controller
/**
* Show all transactions without a category.
*
* @param Request $request
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -70,11 +70,6 @@ class ShowController extends Controller
/**
* Show a single category.
*
* @param Request $request
* @param Category $category
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -120,10 +115,8 @@ class ShowController extends Controller
/**
* Show all transactions within a category.
*
* @param Request $request
* @param Category $category
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -45,6 +45,7 @@ use Illuminate\Http\JsonResponse;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
use Safe\Exceptions\JsonException;
use function Safe\json_encode;
/**
@@ -482,11 +483,6 @@ class AccountController extends Controller
/**
* Shows overview of account during a single period.
*
* @param Account $account
* @param Carbon $start
* @param Carbon $end
*
* @return JsonResponse
* @throws FireflyException
* @throws JsonException
*/

View File

@@ -66,7 +66,6 @@ class CategoryController extends Controller
/**
* Show an overview for a category for all time, per month/week/year.
* TODO test method, for category refactor.
*
*/
public function all(Category $category): JsonResponse
{
@@ -256,10 +255,6 @@ class CategoryController extends Controller
* Chart for a specific period.
* TODO test me, for category refactor.
*
* @param Category $category
* @param Carbon $date
*
* @return JsonResponse
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -57,7 +57,6 @@ class PiggyBankController extends Controller
* Shows the piggy bank history.
*
* TODO this chart is not multi currency aware.
*
*/
public function history(PiggyBankRepositoryInterface $repository, PiggyBank $piggyBank): JsonResponse
{

View File

@@ -38,6 +38,7 @@ use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\View;
use function Safe\ini_get;
use function Safe\realpath;

View File

@@ -51,8 +51,10 @@ use Illuminate\View\View;
use Monolog\Handler\RotatingFileHandler;
use Safe\Exceptions\FilesystemException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use function Safe\file_get_contents;
use function Safe\ini_get;
use const PHP_INT_SIZE;
use const PHP_SAPI;

View File

@@ -92,10 +92,6 @@ class JavascriptController extends Controller
/**
* Show some common variables to be used in scripts.
*
* @param Request $request
* @param AccountRepositoryInterface $repository
*
* @return Response
* @throws FireflyException
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface

View File

@@ -87,7 +87,6 @@ class IntroController extends Controller
/**
* Enable the boxes for a specific page again.
*
*/
public function postEnable(string $route, ?string $specialPage = null): JsonResponse
{
@@ -106,7 +105,6 @@ class IntroController extends Controller
/**
* Set that you saw them.
*
*/
public function postFinished(string $route, ?string $specialPage = null): JsonResponse
{

View File

@@ -85,7 +85,6 @@ class NewUserController extends Controller
* Store his new settings.
*
* @return Redirector|RedirectResponse
*
*/
public function submit(NewUserFormRequest $request, CurrencyRepositoryInterface $currencyRepository)
{

View File

@@ -76,7 +76,6 @@ class IndexController extends Controller
* TODO very complicated function.
*
* @return Factory|View
*
*/
public function index()
{

View File

@@ -43,6 +43,7 @@ use Illuminate\Support\Facades\Log;
use Illuminate\View\View;
use JsonException;
use Safe\Exceptions\FilesystemException;
use function Safe\file_get_contents;
use function Safe\json_decode;
@@ -71,8 +72,6 @@ class PreferencesController extends Controller
/**
* Show overview of preferences.
*
* @param AccountRepositoryInterface $repository
*
* @return Factory|View
*
* @throws FireflyException

View File

@@ -84,8 +84,6 @@ class MfaController extends Controller
}
/**
*/
public function backupCodes(Request $request): Factory|RedirectResponse|View
{
if (!$this->internalAuth) {
@@ -230,8 +228,6 @@ class MfaController extends Controller
/**
* Submit 2FA for the first time.
*
* @param TokenFormRequest $request
*
* @return Redirector|RedirectResponse
*
* @throws ContainerExceptionInterface
@@ -293,8 +289,6 @@ class MfaController extends Controller
/**
* TODO duplicate code.
*
* @param string $mfaCode
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -138,7 +138,6 @@ class ProfileController extends Controller
/**
* Index for profile.
*
* @return Factory|View
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -73,8 +73,6 @@ class IndexController extends Controller
* TODO the notes of a recurrence are pretty pointless at this moment.
* Show all recurring transactions.
*
* @param Request $request
*
* @return Factory|View
*
* @throws FireflyException

View File

@@ -227,9 +227,8 @@ class ReportController extends Controller
/**
* Show index.
*
* @param AccountRepositoryInterface $repository
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -37,6 +37,7 @@ use Illuminate\Support\Facades\Cache;
use Illuminate\View\View;
use Laravel\Passport\Passport;
use phpseclib3\Crypt\RSA;
use function Safe\file_put_contents;
/**

View File

@@ -220,11 +220,6 @@ class TagController extends Controller
/**
* Show a single tag.
*
* @param Request $request
* @param Tag $tag
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -270,10 +265,8 @@ class TagController extends Controller
/**
* Show a single tag over all time.
*
* @param Request $request
* @param Tag $tag
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -38,6 +38,7 @@ use Illuminate\Http\Request;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use Safe\Exceptions\UrlException;
use function Safe\parse_url;
/**
@@ -99,8 +100,6 @@ class CreateController extends Controller
/**
* Create a new transaction group.
*
* @param string|null $objectType
*
* @return Factory|View
*
* @throws ContainerExceptionInterface

View File

@@ -37,6 +37,7 @@ use Illuminate\View\View;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use Safe\Exceptions\UrlException;
use function Safe\parse_url;
/**
@@ -67,9 +68,8 @@ class EditController extends Controller
}
/**
* @param TransactionGroup $transactionGroup
*
* @return Factory|Redirector|RedirectResponse|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws UrlException

View File

@@ -69,11 +69,6 @@ class IndexController extends Controller
/**
* Index for a range of transactions.
*
* @param Request $request
* @param string $objectType
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
@@ -132,10 +127,8 @@ class IndexController extends Controller
/**
* Index for ALL transactions.
*
* @param Request $request
* @param string $objectType
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/

View File

@@ -67,10 +67,8 @@ class DeleteController extends Controller
/**
* Deletes a currency.
*
* @param Request $request
* @param TransactionCurrency $currency
*
* @return Factory|Redirector|RedirectResponse|View
*
* @throws FireflyException
*/
public function delete(Request $request, TransactionCurrency $currency)
@@ -104,10 +102,8 @@ class DeleteController extends Controller
/**
* Destroys a currency.
*
* @param Request $request
* @param TransactionCurrency $currency
*
* @return Redirector|RedirectResponse
*
* @throws FireflyException
*/
public function destroy(Request $request, TransactionCurrency $currency)

View File

@@ -107,10 +107,8 @@ class EditController extends Controller
/**
* Updates a currency.
*
* @param CurrencyFormRequest $request
* @param TransactionCurrency $currency
*
* @return Redirector|RedirectResponse
*
* @throws FireflyException
*/
public function update(CurrencyFormRequest $request, TransactionCurrency $currency)

View File

@@ -63,9 +63,8 @@ class IndexController extends Controller
/**
* Show overview of currencies.
*
* @param Request $request
*
* @return Factory|View
*
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/