Skip to content

Commit ae9d7a8

Browse files
committed
preapared for debianization
1 parent b09f480 commit ae9d7a8

62 files changed

Lines changed: 1509 additions & 1737 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.10.0
1+
7.11.0

.php-cs-fixer.dist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
declare(strict_types=1);
44

55
/**
6-
* This file is part of the CsasWebApi package
6+
* This file is part of the MultiFlexi package
77
*
8-
* https://github.com/Spoje-NET/php-csas-webapi
8+
* https://multiflexi.eu/
99
*
10-
* (c) SpojeNetIT <http://spoje.net/>
10+
* (c) Vítězslav Dvořák <http://vitexsoftware.com>
1111
*
1212
* For the full copyright and license information, please view the LICENSE
1313
* file that was distributed with this source code.

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ vendor: composer.json composer.lock ## Installs composer dependencies
2323
cs: ## Update Coding Standards
2424
vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --diff --verbose --allow-risky=yes
2525

26-
clean: ## Removes all generated files
26+
reset: ## Removes all generated files
2727
rm -rf vendor
2828
rm -f composer.lock
2929
rm -f README.md
3030
rm -rf lib docs
31-
32-
33-

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# dh_install --list-missing -X.pyc -X.pyo
1616

1717
override_dh_install:
18-
jq '.version = "'`dpkg-parsechangelog | sed -n 's/^Version: //p'| sed 's/~.*//'`'"' debian/composer.json |sponge debian/composer.json
1918
dh_install
19+
jq '.version = "'`dpkg-parsechangelog | sed -n 's/^Version: //p'| sed 's/~.*//'`'"' debian/composer.json |sponge debian/php-spojenet-csas-accountsapi/usr/share/php/CSas/composer.json

test/Api/DefaultApiTest.php

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
<?php
2-
3-
declare(strict_types=1);
4-
52
/**
6-
* This file is part of the CsasWebApi package
7-
*
8-
* https://github.com/Spoje-NET/php-csas-webapi
9-
*
10-
* (c) SpojeNetIT <http://spoje.net/>
3+
* DefaultApiTest
4+
* PHP version 7.4
115
*
12-
* For the full copyright and license information, please view the LICENSE
13-
* file that was distributed with this source code.
6+
* @category Class
7+
* @package SpojeNET\Csas
8+
* @author OpenAPI Generator team
9+
* @link https://openapi-generator.tech
1410
*/
1511

1612
/**
17-
* Production Accounts API V3.
13+
* Production Accounts API V3
1814
*
1915
* API for managing production accounts.
2016
*
2117
* The version of the OpenAPI document: 1.0.0
2218
* Contact: vitezslav.dvorak@spojenet.cz
2319
* Generated by: https://openapi-generator.tech
24-
* Generator version: 7.10.0
20+
* Generator version: 7.11.0
2521
*/
2622

2723
/**
@@ -32,86 +28,93 @@
3228

3329
namespace SpojeNET\Csas\Test\Api;
3430

31+
use \SpojeNET\Csas\Configuration;
32+
use \SpojeNET\Csas\ApiException;
33+
use \SpojeNET\Csas\ObjectSerializer;
3534
use PHPUnit\Framework\TestCase;
3635

3736
/**
38-
* DefaultApiTest Class Doc Comment.
37+
* DefaultApiTest Class Doc Comment
3938
*
4039
* @category Class
41-
*
40+
* @package SpojeNET\Csas
4241
* @author OpenAPI Generator team
43-
*
44-
* @see https://openapi-generator.tech
42+
* @link https://openapi-generator.tech
4543
*/
4644
class DefaultApiTest extends TestCase
4745
{
46+
4847
/**
49-
* Setup before running any test cases.
48+
* Setup before running any test cases
5049
*/
5150
public static function setUpBeforeClass(): void
5251
{
5352
}
5453

5554
/**
56-
* Clean up after running all test cases.
55+
* Setup before running each test case
5756
*/
58-
public static function tearDownAfterClass(): void
57+
public function setUp(): void
5958
{
6059
}
6160

6261
/**
63-
* Setup before running each test case.
62+
* Clean up after running each test case
6463
*/
65-
protected function setUp(): void
64+
public function tearDown(): void
6665
{
6766
}
6867

6968
/**
70-
* Clean up after running each test case.
69+
* Clean up after running all test cases
7170
*/
72-
protected function tearDown(): void
71+
public static function tearDownAfterClass(): void
7372
{
7473
}
7574

7675
/**
77-
* Test case for getAccountBalance.
76+
* Test case for getAccountBalance
7877
*
7978
* Get account balance.
79+
*
8080
*/
81-
public function testGetAccountBalance(): void
81+
public function testGetAccountBalance()
8282
{
8383
// TODO: implement
8484
self::markTestIncomplete('Not implemented');
8585
}
8686

8787
/**
88-
* Test case for getAccountStatements.
88+
* Test case for getAccountStatements
8989
*
9090
* Get account statements.
91+
*
9192
*/
92-
public function testGetAccountStatements(): void
93+
public function testGetAccountStatements()
9394
{
9495
// TODO: implement
9596
self::markTestIncomplete('Not implemented');
9697
}
9798

9899
/**
99-
* Test case for getAccounts.
100+
* Test case for getAccounts
100101
*
101102
* Get account details.
103+
*
102104
*/
103-
public function testGetAccounts(): void
105+
public function testGetAccounts()
104106
{
105107
// TODO: implement
106108
self::markTestIncomplete('Not implemented');
107109
}
108110

109111
/**
110-
* Test case for getTransactions.
112+
* Test case for getTransactions
111113
*
112114
* Overview of transactions.
115+
*
113116
*/
114-
public function testGetTransactions(): void
117+
public function testGetTransactions()
115118
{
116119
// TODO: implement
117120
self::markTestIncomplete('Not implemented');

test/Model/AccountBalanceTest.php

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
<?php
2-
3-
declare(strict_types=1);
4-
52
/**
6-
* This file is part of the CsasWebApi package
7-
*
8-
* https://github.com/Spoje-NET/php-csas-webapi
3+
* AccountBalanceTest
94
*
10-
* (c) SpojeNetIT <http://spoje.net/>
5+
* PHP version 7.4
116
*
12-
* For the full copyright and license information, please view the LICENSE
13-
* file that was distributed with this source code.
7+
* @category Class
8+
* @package SpojeNET\Csas
9+
* @author OpenAPI Generator team
10+
* @link https://openapi-generator.tech
1411
*/
1512

1613
/**
17-
* Production Accounts API V3.
14+
* Production Accounts API V3
1815
*
1916
* API for managing production accounts.
2017
*
2118
* The version of the OpenAPI document: 1.0.0
2219
* Contact: vitezslav.dvorak@spojenet.cz
2320
* Generated by: https://openapi-generator.tech
24-
* Generator version: 7.10.0
21+
* Generator version: 7.11.0
2522
*/
2623

2724
/**
@@ -35,77 +32,76 @@
3532
use PHPUnit\Framework\TestCase;
3633

3734
/**
38-
* AccountBalanceTest Class Doc Comment.
35+
* AccountBalanceTest Class Doc Comment
3936
*
4037
* @category Class
41-
*
4238
* @description AccountBalance
43-
*
39+
* @package SpojeNET\Csas
4440
* @author OpenAPI Generator team
45-
*
46-
* @see https://openapi-generator.tech
41+
* @link https://openapi-generator.tech
4742
*/
4843
class AccountBalanceTest extends TestCase
4944
{
45+
5046
/**
51-
* Setup before running any test case.
47+
* Setup before running any test case
5248
*/
5349
public static function setUpBeforeClass(): void
5450
{
5551
}
5652

5753
/**
58-
* Clean up after running all test cases.
54+
* Setup before running each test case
5955
*/
60-
public static function tearDownAfterClass(): void
56+
public function setUp(): void
6157
{
6258
}
6359

6460
/**
65-
* Setup before running each test case.
61+
* Clean up after running each test case
6662
*/
67-
protected function setUp(): void
63+
public function tearDown(): void
6864
{
6965
}
7066

7167
/**
72-
* Clean up after running each test case.
68+
* Clean up after running all test cases
7369
*/
74-
protected function tearDown(): void
70+
public static function tearDownAfterClass(): void
7571
{
7672
}
7773

7874
/**
79-
* Test "AccountBalance".
75+
* Test "AccountBalance"
8076
*/
81-
public function testAccountBalance(): void
77+
public function testAccountBalance()
8278
{
8379
// TODO: implement
8480
self::markTestIncomplete('Not implemented');
8581
}
8682

8783
/**
88-
* Test attribute "id".
84+
* Test attribute "id"
8985
*/
90-
public function testPropertyId(): void
86+
public function testPropertyId()
9187
{
9288
// TODO: implement
9389
self::markTestIncomplete('Not implemented');
9490
}
9591

9692
/**
97-
* Test attribute "balance".
93+
* Test attribute "balance"
9894
*/
99-
public function testPropertyBalance(): void
95+
public function testPropertyBalance()
10096
{
10197
// TODO: implement
10298
self::markTestIncomplete('Not implemented');
10399
}
104100

105101
/**
106-
* Test attribute "currency".
102+
* Test attribute "currency"
107103
*/
108-
public function testPropertyCurrency(): void
104+
public function testPropertyCurrency()
109105
{
110106
// TODO: implement
111107
self::markTestIncomplete('Not implemented');

0 commit comments

Comments
 (0)