commit melhorias compras1
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-21 21:04:40 +02:00
parent 976271f948
commit 12dd6df28a
108 changed files with 4391 additions and 408 deletions
+106
View File
@@ -0,0 +1,106 @@
<?php
// Static analysis declarations for already approved optional package APIs.
// No implementation; never loaded by Composer or the application.
// Source signatures are recorded below; no SGF checkout is needed to analyse Compras.
namespace Tempo\SgcInvoiceClient {
// sgc-invoice-client/src/InvoiceClient.php SHA-256 64572c1630f4ed05086241ed519abf02b6e16b508af5b71f2f099df1ed5a72d8
final class InvoiceClient
{
/** @param array<array-key,mixed> $sourceScope
* @param array<array-key,mixed> $targetScope */
public function __construct(string $client, string $token, string $context, array $sourceScope, array $targetScope, \Closure $transport, string $origin = 'http://127.0.0.1:8085') { throw new \LogicException('Static analysis declaration only.'); }
/** @return array<array-key,mixed> */
public function __debugInfo(): array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $mapping
* @param array<array-key,mixed> $draft
* @return array<array-key,mixed> */
public function intent(array $mapping, array $draft, string $key, string $reason): array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $mapping */
public static function mappingHash(array $mapping): string { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $intent
* @return array<array-key,mixed> */
public function preview(array $intent, string $currentSourceVersion, string $currentMappingHash): array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $state
* @return array<array-key,mixed> */
public function confirm(array $state, string $approvedHash, string $currentSourceVersion, string $currentMappingHash): array { throw new \LogicException('Static analysis declaration only.'); }
}
}
namespace Tempo\Finance\Composition {
// finance-bundle/Bundle.php SHA-256 621f4ab4899b9595f15492fe6981d23b280bf623db127e95c434da7bfc821f06
final class Bundle
{
/** @return array<array-key,mixed> */
public static function verify(string $root, string $expected): array { throw new \LogicException('Static analysis declaration only.'); }
}
}
namespace Tempo\Finance\GeneralLedger {
// general-ledger/src/LedgerSchema.php SHA-256 d9c203286b3a04121c265dffe412d2e86726ec4bb9222a2ed654d0296d86b5d8
final class LedgerSchema
{
public const TABLES = array (
0 => 'gl_accounts',
1 => 'gl_periods',
2 => 'gl_rules',
3 => 'gl_proposals',
4 => 'gl_reviews',
5 => 'gl_journals',
6 => 'gl_lines',
7 => 'gl_commands',
8 => 'gl_events',
);
public static function assertSynthetic(\Illuminate\Database\ConnectionInterface $db): void { throw new \LogicException('Static analysis declaration only.'); }
public static function externalHostComposition(\Illuminate\Database\ConnectionInterface $db): bool { throw new \LogicException('Static analysis declaration only.'); }
public static function install(\Illuminate\Database\ConnectionInterface $db): void { throw new \LogicException('Static analysis declaration only.'); }
}
}
namespace Tempo\Finance\GeneralLedger {
// general-ledger/src/PayableJournal.php SHA-256 2c45e2c5635d4ae60577f6261bf749f9ca91bb09435fcbe373d58a265583c1be
final class PayableJournal
{
public const POLICY = 'QA-PAYABLE-JOURNAL-v1';
/** @param array<array-key,mixed> $scope
* @param array<array-key,mixed>|null $financialScope */
public function __construct(\Illuminate\Database\ConnectionInterface $db, array $scope, int $actor, string $person, \Closure $authorize, \Closure $readAuthorize, \Closure $source, ?\Closure $checkpoint = NULL, ?\Closure $additionalSource = NULL, ?\Closure $additionalPeriod = NULL, ?array $financialScope = NULL) { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $data
* @return array<array-key,mixed> */
public function command(string $action, array $data, string $key): array { throw new \LogicException('Static analysis declaration only.'); }
/** @return array<array-key,mixed> */
public function receipt(string $key): ?array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $options
* @return array<array-key,mixed> */
public function listing(array $options = array (
), bool $withAccounts = true): array { throw new \LogicException('Static analysis declaration only.'); }
/** @return array<array-key,mixed> */
public function cycleListing(int $page = 1, ?int $costOrder = NULL, ?int $industrialLot = NULL): array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $options
* @return array<array-key,mixed> */
public function trialBalance(array $options): array { throw new \LogicException('Static analysis declaration only.'); }
/** @param array<array-key,mixed> $options
* @return array<array-key,mixed> */
public function accountLedger(array $options): array { throw new \LogicException('Static analysis declaration only.'); }
}
}
namespace Tempo\Finance\GeneralLedger {
// general-ledger/src/ReportsWorkspace.php SHA-256 46238afbb708b6c111b90a8bb79f5dd6ae9b1189e926746efefeef497ff1fc33
final class ReportsWorkspace
{
/** @param array<array-key,mixed> $data
* @param array<array-key,mixed> $settings */
public static function render(array $data, array $settings): string { throw new \LogicException('Static analysis declaration only.'); }
}
}
namespace Tempo\Finance\GeneralLedger {
// general-ledger/src/CycleWorkspace.php SHA-256 a76bf1b4c18c3a0585de744d58e38e736777831a019200150deb1615b6fe5010
final class CycleWorkspace
{
/** @param array<array-key,mixed> $data
* @param array<array-key,mixed> $settings */
public static function render(array $data, array $settings): string { throw new \LogicException('Static analysis declaration only.'); }
}
}