Skip to content

Commit 9117fbc

Browse files
committed
Update dependencies and improve API error handling
Upgrades library dependencies to newer versions for enhanced stability. Introduces support for additional error cases in API responses, including "INVALID_REQUEST" in the 401 response model. Removes redundant `@no-named-arguments` annotations throughout the project. Simplifies VS Code workspace settings by removing unnecessary customizations. Updates OpenAPI schema version to 1.1.20251142 and adjusts tests to align with the new changes.
1 parent 3de786b commit 9117fbc

127 files changed

Lines changed: 726 additions & 294 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/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ docs/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransaction
5555
docs/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformation.md
5656
docs/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformationCreditorReferenceInformation.md
5757
docs/Model/GetTransactionList400Response.md
58+
docs/Model/GetTransactionList401Response.md
5859
docs/Model/ImportPayments200Response.md
5960
docs/Model/ImportPayments400Response.md
6061
docs/Model/ImportPayments413Response.md
@@ -106,6 +107,7 @@ lib/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionD
106107
lib/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformation.php
107108
lib/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformationCreditorReferenceInformation.php
108109
lib/Model/GetTransactionList400Response.php
110+
lib/Model/GetTransactionList401Response.php
109111
lib/Model/ImportPayments200Response.php
110112
lib/Model/ImportPayments400Response.php
111113
lib/Model/ImportPayments413Response.php
@@ -174,6 +176,7 @@ test/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransaction
174176
test/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsTest.php
175177
test/Model/GetTransactionList200ResponseTransactionsInnerTest.php
176178
test/Model/GetTransactionList400ResponseTest.php
179+
test/Model/GetTransactionList401ResponseTest.php
177180
test/Model/ImportPayments200ResponseTest.php
178181
test/Model/ImportPayments400ResponseTest.php
179182
test/Model/ImportPayments413ResponseTest.php

.openapi-generator/templates/composer.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"ext-curl": "*",
2929
"ext-json": "*",
3030
"ext-mbstring": "*",
31-
"guzzlehttp/guzzle": "^7.9",
32-
"guzzlehttp/psr7": "^1.8 || ^2.7",
33-
"vitexsoftware/ease-core": "^1.48"
31+
"guzzlehttp/guzzle": "^7.10",
32+
"guzzlehttp/psr7": "^2.8.0",
33+
"vitexsoftware/ease-core": "^1.49"
3434
},
3535
"require-dev": {
3636
"phpunit/phpunit": "^8.0 || ^9.6",
37-
"friendsofphp/php-cs-fixer": "^3.75",
38-
"ergebnis/composer-normalize": "^2.47",
39-
"ergebnis/php-cs-fixer-config": "^6.46",
37+
"friendsofphp/php-cs-fixer": "^3.88",
38+
"ergebnis/composer-normalize": "^2.48",
39+
"ergebnis/php-cs-fixer-config": "^6.55",
4040
"phpstan/phpstan-phpunit": "^2.0"
4141
},
4242
"autoload": {

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
'php_unit_test_case_static_method_calls' => false,
9292
]));
9393

94-
$config = Factory::fromRuleSet($ruleSet);
94+
$config = Factory::fromRuleSet($ruleSet)->setUnsupportedPhpVersionAllowed(true);
9595

9696
$config->getFinder()
9797
->append([

.vscode/settings.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
11
{
22
"workbench.colorCustomizations": {
3-
"activityBar.background": "#eade56",
4-
"titleBar.activeBackground": "#eade56",
5-
"titleBar.activeForeground": "#000000",
6-
"titleBar.inactiveBackground": "#eade56",
7-
"titleBar.inactiveForeground": "#000000",
8-
"titleBar.border": "#eade56",
9-
"activityBar.foreground": "#000000",
10-
"statusBar.background": "#eade56",
11-
"statusBar.foreground": "#000000",
12-
"statusBar.debuggingBackground": "#eade56",
13-
"statusBar.debuggingForeground": "#000000",
14-
"tab.activeBorder": "#eade56",
153
"iLoveWorkSpaceColors": true,
164
"iLoveWorkSpaceRandom": false,
17-
"activityBar.inactiveForeground": "#161622",
185
"activityBar.activeBorder": "#1cbdcb",
19-
"activityBar.activeBackground": "#F2F1E8",
20-
"activityBar.border": "#F2F1E8",
21-
"statusBar.border": "#F2F1E8"
6+
"activityBar.border": "#F2F1E8"
227
}
238
}

01rbczpremiumapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ x-headmatter:
22
readable_by: []
33
swagger: '2.0'
44
info:
5-
version: 1.1.20240910
5+
version: 1.1.20251142
66
title: Production
77
description: |
88
##### API Overview
@@ -148,6 +148,7 @@ paths:
148148
type: string
149149
enum:
150150
- UNAUTHORISED
151+
- INVALID_REQUEST
151152
error_description:
152153
type: string
153154
'403':

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ Class | Method | HTTP request | Description
148148
- [GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformation](docs/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformation.md)
149149
- [GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformationCreditorReferenceInformation](docs/Model/GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformationCreditorReferenceInformation.md)
150150
- [GetTransactionList400Response](docs/Model/GetTransactionList400Response.md)
151+
- [GetTransactionList401Response](docs/Model/GetTransactionList401Response.md)
151152
- [ImportPayments200Response](docs/Model/ImportPayments200Response.md)
152153
- [ImportPayments400Response](docs/Model/ImportPayments400Response.md)
153154
- [ImportPayments413Response](docs/Model/ImportPayments413Response.md)

WARP.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# WARP.md - Working AI Reference for php-vitexsoftware-rbczpremiumapi
2+
3+
## Project Overview
4+
**Type**: Node.js Project/Debian Package
5+
**Purpose**: ![Library Logo](library-logo.svg?raw=true)
6+
**Status**: Active
7+
**Repository**: git@github.com:VitexSoftware/php-vitexsoftware-rbczpremiumapi.git
8+
9+
## Key Technologies
10+
- PHP
11+
- Composer
12+
- Node.js
13+
- npm/yarn
14+
- Debian Packaging
15+
16+
## Architecture & Structure
17+
```
18+
php-vitexsoftware-rbczpremiumapi/
19+
├── src/ # Source code
20+
├── tests/ # Test files
21+
├── docs/ # Documentation
22+
└── ...
23+
```
24+
25+
## Development Workflow
26+
27+
### Prerequisites
28+
- Development environment setup
29+
- Required dependencies
30+
31+
### Setup Instructions
32+
```bash
33+
# Clone the repository
34+
git clone git@github.com:VitexSoftware/php-vitexsoftware-rbczpremiumapi.git
35+
cd php-vitexsoftware-rbczpremiumapi
36+
37+
# Install dependencies
38+
composer install\nnpm install
39+
```
40+
41+
### Build & Run
42+
```bash
43+
npm run build\ndpkg-buildpackage -b -uc
44+
```
45+
46+
### Testing
47+
```bash
48+
composer test\nnpm test
49+
```
50+
51+
## Key Concepts
52+
- **Main Components**: Core functionality and modules
53+
- **Configuration**: Configuration files and environment variables
54+
- **Integration Points**: External services and dependencies
55+
56+
## Common Tasks
57+
58+
### Development
59+
- Review code structure
60+
- Implement new features
61+
- Fix bugs and issues
62+
63+
### Deployment
64+
- Build and package
65+
- Deploy to target environment
66+
- Monitor and maintain
67+
68+
## Troubleshooting
69+
- **Common Issues**: Check logs and error messages
70+
- **Debug Commands**: Use appropriate debugging tools
71+
- **Support**: Check documentation and issue tracker
72+
73+
## Additional Notes
74+
- Project-specific conventions
75+
- Development guidelines
76+
- Related documentation

debian/changelog

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
php-vitexsoftware-rbczpremiumapi (1.4.1) UNRELEASED; urgency=medium
1+
php-vitexsoftware-rbczpremiumapi (1.4.2) UNRELEASED; urgency=medium
2+
3+
* schema updated for blocked certificate response
4+
5+
-- vitex <info@vitexsoftware.cz> Wed, 22 Oct 2025 11:51:37 +0200
6+
7+
php-vitexsoftware-rbczpremiumapi (1.4.1) unstable; urgency=medium
28

39
* Statementor update
410

5-
-- vitex <info@vitexsoftware.cz> Fri, 06 Jun 2025 23:45:44 +0200
11+
-- vitex <info@vitexsoftware.cz> Wed, 22 Oct 2025 11:50:59 +0200
612

713
php-vitexsoftware-rbczpremiumapi (1.4.0) unstable; urgency=medium
814

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# # GetTransactionList401Response
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**error** | **string** | | [optional]
8+
**errorDescription** | **string** | | [optional]
9+
10+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

lib/ApiClient.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* Description of ApiClient.
2020
*
2121
* @author vitex
22-
*
23-
* @no-named-arguments
2422
*/
2523
class ApiClient extends \GuzzleHttp\Client
2624
{

0 commit comments

Comments
 (0)