repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Db.php
GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Db.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * ...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Gateway.php
GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Gateway.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * ...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
true
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Context.php
GatewayWorker/vendor/workerman/gateway-worker/src/Lib/Context.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * ...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/vendor/workerman/gateway-worker/src/Lib/DbConnection.php
GatewayWorker/vendor/workerman/gateway-worker/src/Lib/DbConnection.php
<?php namespace GatewayWorker\Lib; use Exception; use PDO; use PDOException; /** * 数据库连接类,依赖 PDO_MYSQL 扩展 * 在 https://github.com/auraphp/Aura.SqlQuery 的基础上修改而成 */ class DbConnection { /** * SELECT * * @var array */ protected $union = array(); /** * 是否是更新 * * @var boo...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
true
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/githubT/start_sync.php
GatewayWorker/Applications/githubT/start_sync.php
<?php use \Workerman\Worker; $task_worker = new Worker('text://127.0.0.1:16345'); // task进程数可以根据需要多开一些 $task_worker->count = 10; $task_worker->name = 'TaskWorker_github'; $datatime = date("Ymd"); $webDir = dirname(dirname(dirname(dirname(__FILE__)))) . "/staticweb/source/" . $datatime; $task_worker->onMessage = func...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/githubT/Events.php
GatewayWorker/Applications/githubT/Events.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * @li...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/githubT/start_gateway.php
GatewayWorker/Applications/githubT/start_gateway.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * @l...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/githubT/start_register.php
GatewayWorker/Applications/githubT/start_register.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * @l...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/githubT/start_businessworker.php
GatewayWorker/Applications/githubT/start_businessworker.php
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * @l...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
xiaoxinda/github-proxy
https://github.com/xiaoxinda/github-proxy/blob/b5131a8fa22dcbf3c0026526210fae2d913468e5/GatewayWorker/Applications/autoReload/start.php
GatewayWorker/Applications/autoReload/start.php
<?php use Workerman\Worker; use Workerman\Lib\Timer; // worker $webDirSource = dirname(dirname(dirname(__FILE__))); $worker = new Worker(); $worker->name = 'FileMonitor'; $worker->reloadable = false; $worker->onWorkerStart = function () { global $webDirSource; Timer::add(300, 'check_files_remove', $webDirSour...
php
MIT
b5131a8fa22dcbf3c0026526210fae2d913468e5
2026-01-05T04:13:41.776260Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/.php-cs-fixer.php
.php-cs-fixer.php
<?php // This is based on the `@Symfony` rule set documented in `vendor/friendsofphp/php-cs-fixer/doc/ruleSets/Symfony.rst`. $finder = PhpCsFixer\Finder::create() ->in(__DIR__ . '/lib'); return (new PhpCsFixer\Config()) ->setRules([ // We essentially use the Symfony style guide. '@Symfony' =>...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/prettify_segment.php
prettify_segment.php
<?php $classLoader = require(__DIR__ . '/vendor/autoload.php'); // Read a message from stdin. echo "Please enter a serialized FinTS segment:\n"; $line = trim(fgets(STDIN)); // Parse it. $segment = \Fhp\Syntax\Parser::detectAndParseSegment($line); // Print it. Tip: Put a breakpoint here to inspect it in your IDE. pr...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/prettify_message.php
prettify_message.php
<?php $classLoader = require(__DIR__ . '/vendor/autoload.php'); // Read a message from stdin. echo "Please enter a serialized FinTS message:\n"; $line = trim(fgets(STDIN)); // Parse it. $message = \Fhp\Protocol\Message::parse($line); // Print it. Tip: Put a breakpoint here to inspect it in your IDE. print_r($messag...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/phpunit_bootstrap.php
lib/Tests/phpunit_bootstrap.php
<?php use SebastianBergmann\Comparator\Factory; use Tests\Fhp\Segment\SegmentComparator; Factory::getInstance()->register(new SegmentComparator());
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/CLILogger.php
lib/Tests/Fhp/CLILogger.php
<?php namespace Tests\Fhp; /** * A logger that prints log messages to the console (just PHP `echo`). This class is designed to be used only for * testing purposes. */ class CLILogger extends \Psr\Log\AbstractLogger { public function log($level, $message, array $context = []): void { $message .= cou...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/FinTsPeer.php
lib/Tests/Fhp/FinTsPeer.php
<?php namespace Tests\Fhp; use Fhp\Connection; use Fhp\FinTs; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Protocol\ServerException; /** * Sub-classes {@link FinTs} to expose some of the protected functions, and also to inject the Connection mock. */ class FinTsPeer extends FinTs { public...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/BaseActionTanSerializationTest.php
lib/Tests/Fhp/BaseActionTanSerializationTest.php
<?php namespace Fhp; use Tests\Fhp\Integration\DKB\SendSEPATransferTest as DKBSendSEPATransferTest; class BaseActionTanSerializationTest extends DKBSendSEPATransferTest { /** * @throws \Throwable */ public function testSerializesTanRequest() { // We piggy-back on the DKB integration tes...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/BaseActionVopSerializationTest.php
lib/Tests/Fhp/BaseActionVopSerializationTest.php
<?php namespace Fhp; use Tests\Fhp\Integration\Atruvia\SendTransferVoPTest; class BaseActionVopSerializationTest extends SendTransferVoPTest { /** * @throws \Throwable */ public function testSerializesPollingInfo() { // We piggy-back on the Atruvia integration test to provide an action ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/FinTsTestCase.php
lib/Tests/Fhp/FinTsTestCase.php
<?php /** @noinspection PhpUndefinedClassInspection */ namespace Tests\Fhp; use Fhp\Connection; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Segment\HNHBK\HNHBKv3; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; abstract class FinTsTestCase extends TestCase { us...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Options/SanitizingLoggerTest.php
lib/Tests/Fhp/Options/SanitizingLoggerTest.php
<?php namespace Tests\Fhp\Options; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Options\SanitizingLogger; class SanitizingLoggerTest extends \PHPUnit\Framework\TestCase { public function testSanitize() { $credentials = Credentials::create('USER123', 'pw+?123'); $options ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Model/FlickerTan/TanRequestChallengeFlickerTest.php
lib/Tests/Fhp/Model/FlickerTan/TanRequestChallengeFlickerTest.php
<?php namespace Tests\Fhp\Model\FlickerTan; use Fhp\Model\FlickerTan\TanRequestChallengeFlicker; use Fhp\Syntax\Bin; use PHPUnit\Framework\TestCase; class TanRequestChallengeFlickerTest extends TestCase { /** * the startcodes with expected hex values */ private const SC_OLD_VERSION = '11 04 871 495...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/InitializationErrorTest.php
lib/Tests/Fhp/Integration/InitializationErrorTest.php
<?php namespace Tests\Fhp\Integration; use Fhp\Protocol\ServerException; use Tests\Fhp\FinTsTestCase; class InitializationErrorTest extends FinTsTestCase { /** * @throws \Throwable */ public function testInitializationErrorMissingField() { $this->expectMessage( "HNHBK:1:3+00...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/DKBIntegrationTestBase.php
lib/Tests/Fhp/Integration/DKB/DKBIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\DKB; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class DKBIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '12030000'; public const TEST_TAN_MODE = '921'; // Anonymous dialog to fetch BPD (HKVVB, then HKEND). public const ANO...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/GetBalanceTest.php
lib/Tests/Fhp/Integration/DKB/GetBalanceTest.php
<?php namespace Tests\Fhp\Integration\DKB; use Fhp\Action\GetBalance; class GetBalanceTest extends DKBIntegrationTestBase { public const GET_BALANCE_REQUEST = "HKSAL:3:5+1234567890::280:12030000+J'"; public const GET_BALANCE_RESPONSE = "HIRMG:3:2+3060::Bitte beachten Sie die enthaltenen Warnungen/Hinweise.'H...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/InitEndDialogTest.php
lib/Tests/Fhp/Integration/DKB/InitEndDialogTest.php
<?php namespace Tests\Fhp\Integration\DKB; class InitEndDialogTest extends DKBIntegrationTestBase { // Dialog initialization with synchronization (HKSYN) and no TAN mode (instead 999) in order to request allowed TAN modes. public const SYNC_WEAK_REQUEST = "HNHBK:1:3+000000000387+300+0+1'HNVSK:998:3+PIN:1+998+...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/GetStatementOfAccountTest.php
lib/Tests/Fhp/Integration/DKB/GetStatementOfAccountTest.php
<?php namespace Tests\Fhp\Integration\DKB; use Fhp\Action\GetStatementOfAccount; use Fhp\Model\StatementOfAccount\Statement; use Fhp\Model\StatementOfAccount\StatementOfAccount; use Tests\Fhp\FinTsPeer; class GetStatementOfAccountTest extends DKBIntegrationTestBase { // Statement request (HKKAZ). Note that DKB's...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/GetSEPAAccountsTest.php
lib/Tests/Fhp/Integration/DKB/GetSEPAAccountsTest.php
<?php namespace Tests\Fhp\Integration\DKB; class GetSEPAAccountsTest extends DKBIntegrationTestBase { public const GET_ACCOUNTS_REQUEST = "HKSPA:3:2'"; public const GET_ACCOUNTS_RESPONSE = "HIRMG:3:2+0010::Nachricht entgegengenommen.'HIRMS:4:2:3+0020::Der Auftrag wurde ausgefuhrt.'HISPA:5:2:3+J:DExxABCDEFGH12...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/DKB/SendSEPATransferTest.php
lib/Tests/Fhp/Integration/DKB/SendSEPATransferTest.php
<?php namespace Tests\Fhp\Integration\DKB; use Fhp\Action\SendSEPATransfer; use Tests\Fhp\FinTsPeer; class SendSEPATransferTest extends DKBIntegrationTestBase { // The XML payload. public const PAIN_MESSAGE = '<?xml version="1.0" encoding="UTF-8"?> <!--suppress HtmlUnknownTarget --> <Document...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/KSK/KSKIntegrationTestBase.php
lib/Tests/Fhp/Integration/KSK/KSKIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\KSK; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class KSKIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '71152570'; public const TEST_TAN_MODE = '910'; // Anonymous dialog to fetch BPD (HKVVB, then HKEND). public const ANO...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/KSK/InitDialogWithBlockedPinTest.php
lib/Tests/Fhp/Integration/KSK/InitDialogWithBlockedPinTest.php
<?php namespace Tests\Fhp\Integration\KSK; use Fhp\Protocol\ServerException; class InitDialogWithBlockedPinTest extends KSKIntegrationTestBase { // Note that this overrides the SYNC_RESPONSE in the super class. // This is what the bank sends when the PIN was wrong, note the 3938 warning. public const INI...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/KSK/Biberach/KskBiberachIntegrationTestBase.php
lib/Tests/Fhp/Integration/KSK/Biberach/KskBiberachIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\KSK\Biberach; use Tests\Fhp\FinTsTestCase; class KskBiberachIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '65450070'; public const TEST_TAN_MODE = '910'; // Anonymous dialog to fetch BPD (HKVVB, then HKEND). public const ANONYMOUS_INI...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/KSK/Biberach/GetBPDTest.php
lib/Tests/Fhp/Integration/KSK/Biberach/GetBPDTest.php
<?php namespace Tests\Fhp\Integration\KSK\Biberach; use Tests\Fhp\FinTsPeer; class GetBPDTest extends KskBiberachIntegrationTestBase { /** * @throws \Throwable */ public function testGetBpd() { // For this test, only the BPD should be requested in an anonymous dialog. $this->exp...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Atruvia/SendTransferVoPTest.php
lib/Tests/Fhp/Integration/Atruvia/SendTransferVoPTest.php
<?php namespace Tests\Fhp\Integration\Atruvia; use Fhp\Action\SendSEPATransfer; use Fhp\Model\VopVerificationResult; use Fhp\Segment\VPP\HIVPPv1; use Fhp\Syntax\Bin; use Fhp\Syntax\Parser; use Fhp\Syntax\Serializer; class SendTransferVoPTest extends AtruviaIntegrationTestBase { public const XML_PAYLOAD = ( ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Atruvia/AtruviaIntegrationTestBase.php
lib/Tests/Fhp/Integration/Atruvia/AtruviaIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\Atruvia; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class AtruviaIntegrationTestBase extends FinTsTestCase { public const TEST_URL = 'https://fints2.atruvia.de/cgi-bin/hbciservlet'; public const TEST_PRODUCT_NAME = 'PRIVATE__________________'; public c...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Postbank/PostbankIntegrationTestBase.php
lib/Tests/Fhp/Integration/Postbank/PostbankIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\Postbank; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class PostbankIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '20010020'; public const TEST_TAN_MODE = 930; public const TEST_USERNAME = 'PRIVATE____'; public const TEST_P...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Postbank/InitEndDialogTest.php
lib/Tests/Fhp/Integration/Postbank/InitEndDialogTest.php
<?php namespace Tests\Fhp\Integration\Postbank; class InitEndDialogTest extends PostbankIntegrationTestBase { /** * @throws \Fhp\Protocol\ServerException * @throws \Throwable */ public function testInitAndEndDialog() { $this->initDialog(); $this->assertNotNull($this->fints->...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Postbank/GetSEPAAccountsTest.php
lib/Tests/Fhp/Integration/Postbank/GetSEPAAccountsTest.php
<?php namespace Tests\Fhp\Integration\Postbank; class GetSEPAAccountsTest extends PostbankIntegrationTestBase { public const GET_ACCOUNTS_REQUEST = "HKSPA:3:1'"; public const EMPTY_ACCOUNTS_RESPONSE = "HIRMG:2:2+3060::Teilweise liegen Warnungen/Hinweise vor.'HIRMS:3:2:3+3010::Es liegen keine Eintrage vor.'"; ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Postbank/InitDialogWithBlockedPinTest.php
lib/Tests/Fhp/Integration/Postbank/InitDialogWithBlockedPinTest.php
<?php namespace Tests\Fhp\Integration\Postbank; use Fhp\Protocol\ServerException; class InitDialogWithBlockedPinTest extends PostbankIntegrationTestBase { // Note that this overrides the SYNC_RESPONSE in the super class. // This is what the bank sends when the PIN was wrong, note the 3931 warning. The bank e...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/GLS/InitEndDialogTest.php
lib/Tests/Fhp/Integration/GLS/InitEndDialogTest.php
<?php namespace Tests\Fhp\Integration\GLS; class InitEndDialogTest extends GLSIntegrationTestBase { /** * @throws \Fhp\Protocol\ServerException * @throws \Throwable */ public function testInitAnonymous() { $this->InitAnonymous(); } public function testInitAndEndDialog() ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/GLS/GLSIntegrationTestBase.php
lib/Tests/Fhp/Integration/GLS/GLSIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\GLS; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class GLSIntegrationTestBase extends FinTsTestCase { public const TEST_USERNAME = 'PRIVATE__'; public const TEST_PIN = 'PRIVATE_____________'; public const TEST_BANK_CODE = '43060967'; public const TEST...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/GLS/GetStatementOfAccountXMLTest.php
lib/Tests/Fhp/Integration/GLS/GetStatementOfAccountXMLTest.php
<?php namespace Tests\Fhp\Integration\GLS; use Fhp\Action\GetStatementOfAccount; use Fhp\Action\GetStatementOfAccountXML; use Fhp\BaseAction; use Tests\Fhp\FinTsPeer; class GetStatementOfAccountXMLTest extends GLSIntegrationTestBase { public const GET_STATEMENT_REQUEST = "HKCAZ:3:1+DExxABCDEFGH1234567890:GENODEM...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/IngDiba/InitEndDialogTest.php
lib/Tests/Fhp/Integration/IngDiba/InitEndDialogTest.php
<?php namespace Tests\Fhp\Integration\IngDiba; class InitEndDialogTest extends IngDibaIntegrationTestBase { /** * @throws \Throwable */ public function testInitAndEndDialog() { $this->initDialog(); $this->assertNotNull($this->fints->getDialogId()); $this->expectMessage(st...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/IngDiba/GetStatementOfAccountTest.php
lib/Tests/Fhp/Integration/IngDiba/GetStatementOfAccountTest.php
<?php namespace Tests\Fhp\Integration\IngDiba; use Fhp\Action\GetStatementOfAccount; class GetStatementOfAccountTest extends IngDibaIntegrationTestBase { // Statement request (HKKAZ). Note: We don't actually have a real response here, so this integration test does not // cover ING-DiBa's MT940 format. pu...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/IngDiba/GetSEPAAccountsTest.php
lib/Tests/Fhp/Integration/IngDiba/GetSEPAAccountsTest.php
<?php namespace Tests\Fhp\Integration\IngDiba; class GetSEPAAccountsTest extends IngDibaIntegrationTestBase { public const GET_ACCOUNTS_REQUEST = "HNHBK:1:3+000000000389+300+FAKEDIALOGIDabcdefghijklmnopqr+2'HNVSK:998:3+PIN:1+998+1+1::FAKEKUNDENSYSTEMIDabcdefghijkl+1:20190102:030405+2:2:13:@8@00000000:5:1+280:5001...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/IngDiba/InitDialogWithBlockedPinTest.php
lib/Tests/Fhp/Integration/IngDiba/InitDialogWithBlockedPinTest.php
<?php namespace Tests\Fhp\Integration\IngDiba; use Fhp\Protocol\ServerException; class InitDialogWithBlockedPinTest extends IngDibaIntegrationTestBase { // Note that this overrides the SYNC_RESPONSE in the super class. It's what the bank sends when the PIN was wrong. public const SYNC_RESPONSE = "HNHBK:1:3+0...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/IngDiba/IngDibaIntegrationTestBase.php
lib/Tests/Fhp/Integration/IngDiba/IngDibaIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\IngDiba; use Fhp\Model\NoPsd2TanMode; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class IngDibaIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '50010517'; public const TEST_PIN = '123456'; public const TEST_KUNDENSYSTEM_ID = 'FAK...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Consors/InitEndDialogTest.php
lib/Tests/Fhp/Integration/Consors/InitEndDialogTest.php
<?php namespace Tests\Fhp\Integration\Consors; use Fhp\CurlException; use Fhp\Protocol\ServerException; class InitEndDialogTest extends ConsorsIntegrationTestBase { // Dialog initialization with synchronization (HKSYN) and no TAN mode (instead 999) in order to request allowed TAN modes. public const SYNC_WEA...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Consors/GetStatementOfAccountTest.php
lib/Tests/Fhp/Integration/Consors/GetStatementOfAccountTest.php
<?php namespace Tests\Fhp\Integration\Consors; use Fhp\Model\StatementOfAccount\Statement; class GetStatementOfAccountTest extends ConsorsIntegrationTestBase { // Statement request (HKKAZ). public const GET_STATEMENT_REQUEST = "HKKAZ:3:7+DExxABCDEFGH1234567890:CSDBDE71XXX:1234567890::280:50220500+N+20190601+...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Consors/ConsorsIntegrationTestBase.php
lib/Tests/Fhp/Integration/Consors/ConsorsIntegrationTestBase.php
<?php namespace Tests\Fhp\Integration\Consors; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsPeer; use Tests\Fhp\FinTsTestCase; class ConsorsIntegrationTestBase extends FinTsTestCase { public const TEST_BANK_CODE = '76030080'; public const TEST_TAN_MODE = '900'; // Anonymous dialog to fetch BPD (HKVVB, ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Consors/GetSEPAAccountsTest.php
lib/Tests/Fhp/Integration/Consors/GetSEPAAccountsTest.php
<?php namespace Tests\Fhp\Integration\Consors; class GetSEPAAccountsTest extends ConsorsIntegrationTestBase { public const GET_ACCOUNTS_REQUEST = "HKSPA:3:1'"; public const GET_ACCOUNTS_RESPONSE = "HIRMG:2:2:+0010::Die Nachricht wurde entgegengenommen.'HIRMS:3:2:3+0020::Der Auftrag wurde ausgefuhrt.'HISPA:4:1...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Integration/Consors/GetBPDTest.php
lib/Tests/Fhp/Integration/Consors/GetBPDTest.php
<?php namespace Tests\Fhp\Integration\Consors; use Tests\Fhp\FinTsPeer; class GetBPDTest extends ConsorsIntegrationTestBase { /** * @throws \Throwable */ public function testGetBpd() { // For this test, only the BPD should be requested in an anonymous dialog. $this->expectMessag...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Action/SendSEPATransferTest.php
lib/Tests/Fhp/Action/SendSEPATransferTest.php
<?php namespace Tests\Fhp\Action; use Fhp\Protocol\Message; use Fhp\Syntax\Serializer; use Tests\Fhp\Integration\DKB\SendSEPATransferTest as DKBSendSEPATransferTest; class SendSEPATransferTest extends DKBSendSEPATransferTest { /** * @throws \Throwable */ public function testSerializesRequest() ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Syntax/SerializerTest.php
lib/Tests/Fhp/Syntax/SerializerTest.php
<?php /** @noinspection PhpDocSignatureInspection */ namespace Tests\Fhp\Syntax; use Fhp\Syntax\Serializer; class SerializerTest extends \PHPUnit\Framework\TestCase { public function escapeProvider(): array { return [ // expected, input ['ABC?+DEF', 'ABC+DEF'], ['ABC???+DEF', ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Syntax/ParserTest.php
lib/Tests/Fhp/Syntax/ParserTest.php
<?php namespace Tests\Fhp\Syntax; use Fhp\Syntax\Parser; class ParserTest extends \PHPUnit\Framework\TestCase { public function testSplitEscapedStringEmpty() { $this->assertEquals([], Parser::splitEscapedString('+', '')); $this->assertEquals(['', ''], Parser::splitEscapedString('+', '+')); ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Syntax/BinTest.php
lib/Tests/Fhp/Syntax/BinTest.php
<?php namespace Tests\Fhp\Syntax; use Fhp\Syntax\Bin; class BinTest extends \PHPUnit\Framework\TestCase { public function testToString() { $string = md5(uniqid()); $string2 = md5(uniqid()); $d = new Bin($string); $this->assertEquals('@32@' . $string, (string) $d); $th...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Unit/SendSEPADirectDebitTest.php
lib/Tests/Fhp/Unit/SendSEPADirectDebitTest.php
<?php namespace Tests\Fhp\Unit; use Fhp\Action\SendSEPADirectDebit; use Fhp\Model\SEPAAccount; use Tests\Fhp\FinTsTestCase; class SendSEPADirectDebitTest extends FinTsTestCase { public function testCanSendLargeFiles() { $account = new SEPAAccount(); $painString = file_get_contents(__DIR__ . ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Protocol/DialogInitializationTest.php
lib/Tests/Fhp/Protocol/DialogInitializationTest.php
<?php namespace Tests\Fhp\Protocol; use Fhp\Protocol\DialogInitialization; class DialogInitializationTest extends \PHPUnit\Framework\TestCase { public function testSerializableInterfaceMigration() { $kundensystemId = 'kunden-system-id'; $needTanForSegment = 'test-segment'; $object = ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Protocol/ServerExceptionTest.php
lib/Tests/Fhp/Protocol/ServerExceptionTest.php
<?php namespace Tests\Fhp\Protocol; use Fhp\Protocol\Message; use Fhp\Protocol\ServerException; class ServerExceptionTest extends \PHPUnit\Framework\TestCase { public const RESPONSE_WITH_WARNINGS = "HNHBK:1:3+000000000489+300+0+1+0:1'HIRMG:2:2:+3060::Teilweise liegen Warnungen/Hinweise vor.'HIRMS:3:2:3+0020::Ang...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Protocol/DialogInitializationTestModel.php
lib/Tests/Fhp/Protocol/DialogInitializationTestModel.php
<?php namespace Tests\Fhp\Protocol; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Protocol\DialogInitialization; class DialogInitializationTestModel extends DialogInitialization { public function __construct(string $kundensystemId, string $needTanForSegment) { parent::__construct...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HITANSTest.php
lib/Tests/Fhp/Segment/HITANSTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\BaseSegment; use Fhp\Segment\TAN\HITANSv6; class HITANSTest extends \PHPUnit\Framework\TestCase { /** * Real response from DKB (Deutsche Kreditbank). */ public const REAL_DKB_RESPONSE = [ "HITANS:165:1:4+1+1+1+J:N:0:0:920:2:smsTAN:smsTAN:6:...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HITABTest.php
lib/Tests/Fhp/Segment/HITABTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\TAB\HITABv4; class HITABTest extends \PHPUnit\Framework\TestCase { public const REAL_DKB_RESPONSE = "HITAB:1:4:3+0+A:1:::::::::::pushtan::::::::+A:1:::::::::::SomePhone1::::::::'"; public function testParseDKB() { // NOTE: Among the many colons,...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HIUPATest.php
lib/Tests/Fhp/Segment/HIUPATest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\HIUPA\HIUPAv4; class HIUPATest extends \PHPUnit\Framework\TestCase { public const TEST_HIUPA = "HIUPA:6:4:4+4567890123+0+0++PERSNR00101231234123'"; public const PARTIAL_HIUPD = "HIUPD:7:6:4+1234567890::280:'"; public function testParseBroken() { ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/AnonymousSegmentTest.php
lib/Tests/Fhp/Segment/AnonymousSegmentTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\AnonymousSegment; use Fhp\Syntax\Parser; class AnonymousSegmentTest extends \PHPUnit\Framework\TestCase { public const RAW_SEGMENT = "HNXXX:4:3+A++C:D:E+F+'"; private static function getElements($segment) { try { $class = new \Reflec...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/SegmentComparator.php
lib/Tests/Fhp/Segment/SegmentComparator.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\BaseDeg; use Fhp\Segment\BaseSegment; use SebastianBergmann\Comparator\ObjectComparator; /** * Comparator for sub-classes of {@link BaseSegment} and {@link BaseDeg} that ignores the descriptor private field. */ class SegmentComparator extends ObjectComparator { ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HNVSDTest.php
lib/Tests/Fhp/Segment/HNVSDTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\HNVSD\HNVSDv1; use PHPUnit\Framework\TestCase; class HNVSDTest extends TestCase { /** * Note: On the immediate syntactic level, this string only contains a single segment, namely HNVSD. All the other * segments are just nested inside of its `datenVersc...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HKVPPTest.php
lib/Tests/Fhp/Segment/HKVPPTest.php
<?php namespace Fhp\Segment; use Fhp\Segment\VPP\HKVPPv1; use Fhp\Syntax\Parser; use PHPUnit\Framework\TestCase; /** * Among other things, this test covers the serialization of arrays with @Max annotation. */ class HKVPPTest extends TestCase { public function testSerialize() { $hkvpp = HKVPPv1::cre...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/UpdSerializationTest.php
lib/Tests/Fhp/Segment/UpdSerializationTest.php
<?php namespace Fhp\Segment; use Fhp\Segment\HIUPD\HIUPDv6; use Fhp\Syntax\Parser; use Fhp\Syntax\Serializer; use PHPUnit\Framework\TestCase; class UpdSerializationTest extends TestCase { private const HIUPD = "HIUPD:7:6:4+PRIVAT::280:11223344+DE00112233440000000000+PRIVATE_______+1+EUR+PRIVATE__________________...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HIUPDTest.php
lib/Tests/Fhp/Segment/HIUPDTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\HIUPD\HIUPDv4; class HIUPDTest extends \PHPUnit\Framework\TestCase { /** * @link https://www.hbci-zka.de/dokumente/spezifikation_deutsch/archiv/HBCI_V2.x_FV.zip * File: HBCI22 Final.pdf * Search for: "HIUPD:" */ public const HBCI22_EXAMPL...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HKSPATest.php
lib/Tests/Fhp/Segment/HKSPATest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\SPA\HKSPAv2; use PHPUnit\Framework\TestCase; /** * Among other things, this test covers the serialization of Bin values. */ class HKSPATest extends TestCase { public function testSerialize() { $hkspa = HKSPAv2::createEmpty(); $hkspa->setSeg...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HKCCSTest.php
lib/Tests/Fhp/Segment/HKCCSTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\CCS\HKCCSv1; use PHPUnit\Framework\TestCase; class HKCCSTest extends TestCase { // This lacks a bank code (BLZ) after the 280, so the Kik is incomplete. public const INVALID_HKCCS = "HKCCS:3:1+PRIVATE_______________:GENODEM1GLS:::280+urn?:iso?:std?:iso?:2002...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/FindRueckmeldungTraitTest.php
lib/Tests/Fhp/Segment/FindRueckmeldungTraitTest.php
<?php namespace Fhp\Segment; use Fhp\Protocol\Message; use Fhp\Protocol\MessageBuilder; use Fhp\Segment\HIRMG\HIRMGv2; use Fhp\Segment\HIRMS\HIRMSv2; use Fhp\Syntax\Parser; use PHPUnit\Framework\TestCase; class FindRueckmeldungTraitTest extends TestCase { private const TEST_RESPONSE = "HIRMG:2:2:+3060::Teilweise...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HICAZTest.php
lib/Tests/Fhp/Segment/HICAZTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\CAZ\HICAZv1; class HICAZTest extends \PHPUnit\Framework\TestCase { // Example from FinTS_3.0_Messages_Geschaeftsvorfaelle_2015-08-07_final_version.pdf, Chapter E.7.1 (SIMPLIFIED) // First example: two segments seperated by + // Second example: two segmen...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HISALTest.php
lib/Tests/Fhp/Segment/HISALTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Segment\Common\Kti; use Fhp\Segment\Common\Sdo; use Fhp\Segment\SAL\HISALv7; class HISALTest extends \PHPUnit\Framework\TestCase { public const REAL_DKB_RESPONSE = "HITAB:1:4:3+0+A:1:::::::::::pushtan::::::::+A:1:::::::::::SomePhone1::::::::'"; public function test...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HIVPPSTest.php
lib/Tests/Fhp/Segment/HIVPPSTest.php
<?php namespace Fhp\Segment; use Fhp\Segment\VPP\HIVPPSv1; use Fhp\Segment\VPP\ParameterNamensabgleichPruefauftragV1; use Fhp\Syntax\Parser; use PHPUnit\Framework\TestCase; /** * Among other things, this test covers the serialization of arrays with @Max annotation. */ class HIVPPSTest extends TestCase { privat...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/HNVSKTest.php
lib/Tests/Fhp/Segment/HNVSKTest.php
<?php namespace Tests\Fhp\Segment; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Segment\HNVSK\HNVSKv3; use Fhp\Segment\HNVSK\SchluesselnameV3; use PHPUnit\Framework\TestCase; /** * Among other things, this test covers the serialization of Bin values. */ class HNVSKTest extends TestCase { ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Tests/Fhp/Segment/Common/TspTest.php
lib/Tests/Fhp/Segment/Common/TspTest.php
<?php namespace Tests\Fhp\Segment\Common; use Fhp\Segment\Common\Tsp; class TspTest extends \PHPUnit\Framework\TestCase { public function testParseWithoutTime() { $this->assertEquals(new \DateTime('2020-01-02T00:00:00'), Tsp::parse('20200102')->asDateTime()); $this->assertEquals(new \DateTime...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Connection.php
lib/Fhp/Connection.php
<?php namespace Fhp; /** * Thin wrapper around curl that does base64 encoding/decoding and converts errors to {@link CurlException}s. */ class Connection { protected string $url; protected ?\CurlHandle $curlHandle = null; protected int $timeoutConnect = 15; protected int $timeoutResponse = 30; ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/CurlException.php
lib/Fhp/CurlException.php
<?php namespace Fhp; class CurlException extends \Exception { /** * @var array */ protected $curlInfo; /** * @var string|null */ protected $response; /** * @var string|null */ protected $curlMessage; public function __construct(string $message, ?string $res...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/FinTs.php
lib/Fhp/FinTs.php
<?php namespace Fhp; use Fhp\Model\NoPsd2TanMode; use Fhp\Model\TanMedium; use Fhp\Model\TanMode; use Fhp\Model\VopConfirmationRequest; use Fhp\Model\VopConfirmationRequestImpl; use Fhp\Model\VopPollingInfo; use Fhp\Model\VopVerificationResult; use Fhp\Options\Credentials; use Fhp\Options\FinTsOptions; use Fhp\Option...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
true
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/PaginateableAction.php
lib/Fhp/PaginateableAction.php
<?php namespace Fhp; use Fhp\Protocol\BPD; use Fhp\Protocol\Message; use Fhp\Protocol\UnexpectedResponseException; use Fhp\Protocol\UPD; use Fhp\Segment\HIRMS\Rueckmeldungscode; use Fhp\Segment\Paginateable; /** * Represents actions that need to support pagination, this means that the bank can split the result into...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/UnsupportedException.php
lib/Fhp/UnsupportedException.php
<?php namespace Fhp; /** * Thrown when trying to use a feature/variant that is not implemented in this library. */ class UnsupportedException extends \RuntimeException { public function __construct(string $message, int $code = 0, ?\Exception $previous = null) { parent::__construct($message, $code, $...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/BaseAction.php
lib/Fhp/BaseAction.php
<?php /** @noinspection PhpUnused */ namespace Fhp; use Fhp\Model\PollingInfo; use Fhp\Model\TanRequest; use Fhp\Model\VopConfirmationRequest; use Fhp\Protocol\ActionIncompleteException; use Fhp\Protocol\ActionPendingException; use Fhp\Protocol\BPD; use Fhp\Protocol\Message; use Fhp\Protocol\TanRequiredException; us...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Options/Credentials.php
lib/Fhp/Options/Credentials.php
<?php namespace Fhp\Options; /** * Login information for a user. */ class Credentials { /** @var string */ protected $benutzerkennung; /** @var string */ protected $pin; private function __construct() { } /** * Creates credentials for a German bank. * @param string $benut...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Options/SanitizingLogger.php
lib/Fhp/Options/SanitizingLogger.php
<?php namespace Fhp\Options; use Fhp\Model\Account; use Fhp\Model\SEPAAccount; use Fhp\Syntax\Serializer; use Psr\Log\LoggerInterface; /** * A logger that forwards to another PSR logger, but attempts to remove confidential information * like usernames, passwords/PINs and so on. * * Note: This is internally used ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Options/FinTsOptions.php
lib/Fhp/Options/FinTsOptions.php
<?php namespace Fhp\Options; /** * Holds options for FinTS connections and operations. These options are independent of the user and depend only on the * bank system and the client system that uses this library. This class mostly serves to pass the data around internally * within the library. */ class FinTsOption...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/PollingInfo.php
lib/Fhp/Model/PollingInfo.php
<?php namespace Fhp\Model; /** * Provides information that the client application should use to poll for the completion of a long-running operation on * the server. */ interface PollingInfo { /** * @return ?int The number of seconds (measured from the time when the client received this {@link PollingInfo}...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/Account.php
lib/Fhp/Model/Account.php
<?php /** @noinspection PhpUnused */ namespace Fhp\Model; /** * Note: This account information is obtained from the HIUPD contained in the UPD data, but it lacks the BIC. */ class Account { /** @var string|null */ protected $id; /** @var string|null */ protected $accountNumber; /** @var string|n...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/VopPollingInfo.php
lib/Fhp/Model/VopPollingInfo.php
<?php namespace Fhp\Model; use Fhp\Syntax\Bin; /** * Application code should not interact directly with this type, see {@link PollingInfo instead}. * * When we send a request to the bank that requires a Verification of Payee, this means that the bank server has to * contact another bank's server and compare paye...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/VopVerificationResult.php
lib/Fhp/Model/VopVerificationResult.php
<?php namespace Fhp\Model; use Fhp\Protocol\UnexpectedResponseException; /** * Possible outcomes of the Verification of Payee check that the bank did on a transfer we want to execute. * TODO Once we have PHP8.1, turn this into an enum. That's why we use UpperCamelCase below (Symfony style for enums). * @see FinTS...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/TanRequest.php
lib/Fhp/Model/TanRequest.php
<?php namespace Fhp\Model; use Fhp\Model\FlickerTan\TanRequestChallengeFlicker; use Fhp\Syntax\Bin; /** * Provides information that can be used to display a TAN request to the user, plus identifiers to track the TAN request * and match the TAN to the request once the user entered it. Note that some additional info...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/VopConfirmationRequest.php
lib/Fhp/Model/VopConfirmationRequest.php
<?php namespace Fhp\Model; /** * Provides information (about the payee) that the client application should present to the user and then ask for their * confirmation that the transfer (to this payee) should be executed. */ interface VopConfirmationRequest { /** An HTML-formatted text that (if present) the appli...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/SEPAAccount.php
lib/Fhp/Model/SEPAAccount.php
<?php namespace Fhp\Model; /** * Note: This account information is obtained from the HISPA response to a HKSPA request. */ class SEPAAccount { // All fields are nullable, but the overall SEPAAccount is only valid if at least {IBAN,BIC} or {accountNumber,blz} are present. /** @var string|null */ protect...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/TanMode.php
lib/Fhp/Model/TanMode.php
<?php /** @noinspection PhpUnused */ namespace Fhp\Model; use Fhp\Segment\BaseSegment; use Fhp\Segment\TAN\HKTAN; /** * For two-step authentication, users need to enter a TAN, which can be obtained in various ways (SMS, TAN generator * device, and so on). Users regularly have multiple ways to obtain a TAN even for...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/NoPsd2TanMode.php
lib/Fhp/Model/NoPsd2TanMode.php
<?php namespace Fhp\Model; use Fhp\Segment\TAN\HKTAN; /** * This is a placeholder used instead of a real {@link TanMode} in order to signal that the bank's HBCI interface * supports no strong authentication whatsoever and thus also no TAN modes. While it should still support the * PIN/TAN authentication scheme (t...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/TanRequestChallengeImage.php
lib/Fhp/Model/TanRequestChallengeImage.php
<?php namespace Fhp\Model; use Fhp\Syntax\Bin; class TanRequestChallengeImage { private $mimeType; private $data; public function __construct(Bin $bin) { $data = $bin->getData(); // Documentation: https://www.hbci-zka.de/dokumente/spezifikation_deutsch/hhd/Belegungsrichtlinien%20TAN...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/TanMedium.php
lib/Fhp/Model/TanMedium.php
<?php /** @noinspection PhpUnused */ namespace Fhp\Model; /** * For two-step authentication, users need to enter a TAN, which can be obtained in various ways. After choosing one of * these ways, i.e. choosing a a {@link TanMode} (SMS, TAN generator device, and so on), the user might have to choose * which of their...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/VopConfirmationRequestImpl.php
lib/Fhp/Model/VopConfirmationRequestImpl.php
<?php namespace Fhp\Model; use Fhp\Syntax\Bin; /** Application code should not interact directly with this type, see {@link VopConfirmationRequest instead}. */ class VopConfirmationRequestImpl implements VopConfirmationRequest { private Bin $vopId; private ?\DateTime $expiration; private ?string $informa...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/StatementOfAccount/Transaction.php
lib/Fhp/Model/StatementOfAccount/Transaction.php
<?php /** @noinspection PhpUnused */ namespace Fhp\Model\StatementOfAccount; class Transaction { public const CD_CREDIT = 'credit'; public const CD_DEBIT = 'debit'; protected ?\DateTime $bookingDate = null; protected ?\DateTime $valutaDate = null; protected float $amount; protected string $cr...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/StatementOfAccount/StatementOfAccount.php
lib/Fhp/Model/StatementOfAccount/StatementOfAccount.php
<?php namespace Fhp\Model\StatementOfAccount; use Fhp\MT940\MT940; class StatementOfAccount { /** @var Statement[] */ protected array $statements = []; /** * Get statements * * @return Statement[] */ public function getStatements(): array { return $this->statements; ...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false
nemiah/phpFinTS
https://github.com/nemiah/phpFinTS/blob/0a3cd9a568133d9cc87680875803a458d3f09765/lib/Fhp/Model/StatementOfAccount/Statement.php
lib/Fhp/Model/StatementOfAccount/Statement.php
<?php namespace Fhp\Model\StatementOfAccount; class Statement { public const CD_CREDIT = 'credit'; public const CD_DEBIT = 'debit'; /** @var Transaction[] */ protected array $transactions = []; protected float $startBalance = 0.0; protected ?float $endBalance = null; protected ?string $cr...
php
MIT
0a3cd9a568133d9cc87680875803a458d3f09765
2026-01-05T04:13:49.930366Z
false