forked from EvergreenCrypto/docker-finance
container: fetch: refactor for php
- Refactors locations for internal `fetch` impl and deps (composer) * A softer hardcoding without the need for a new autoloader * A restructured solution to silence the linter (phpstan) NOTE: variables are prepended with *_PHP_* as to not bring confusion with any other `dfi` dependencies or the `dfi` `root` module (C++).
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// docker-finance | modern accounting for the power-user
|
||||
//
|
||||
// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@@ -27,9 +27,9 @@
|
||||
|
||||
namespace docker_finance\prices
|
||||
{
|
||||
require_once('prices/internal/base.php');
|
||||
require_once('prices/internal/prices/crypto.php');
|
||||
require_once('utils/utils.php');
|
||||
require_once(__DFI_PHP_ROOT__ . 'prices/internal/base.php');
|
||||
require_once(__DFI_PHP_ROOT__ . 'prices/internal/prices/crypto.php');
|
||||
require_once(__DFI_PHP_ROOT__ . 'utils/utils.php');
|
||||
|
||||
use docker_finance\utils as utils;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user