Skip to content

Commit 0a230b5

Browse files
committed
- new strategy for list of enum values
- new strategy for map of enum values - rework of strategies and validators for handling query string scalars and query string scalar arrays - dev dependencies update
1 parent 4f5ec32 commit 0a230b5

30 files changed

+6124
-2292
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- php: '8.2'
1616
- php: '8.3'
1717
upload_coverage: true
18-
container: ghcr.io/articus/phpdbg-coveralls:${{ matrix.php }}_2.7.0_2024-01-08
18+
container: ghcr.io/articus/phpdbg-coveralls:${{ matrix.php }}_2.7.0_2025-01-03
1919
steps:
2020
- name: Workaround for https://git-scm.com/docs/git-config/2.39.2#Documentation/git-config.txt-safedirectory
2121
run: chown root:root ./

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "library",
66
"require": {
77
"php": "^7.4|^8.0",
8-
"articus/data-transfer": "^0.6"
8+
"articus/data-transfer": "^0.6.3"
99
},
1010
"suggest": {
1111
"ext-mbstring": "It (or corresonding polyfill) is required for OpenAPIGenerator\\Common\\Validator\\StringLength"
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"require-dev": {
24-
"kahlan/kahlan": "^5.2",
24+
"kahlan/kahlan": "^6.0",
2525
"mockery/mockery": "^1.3",
2626
"symfony/polyfill-mbstring": "^1.27"
2727
}

composer.lock

Lines changed: 45 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.phar

196 KB
Binary file not shown.

spec/Example/TestEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ enum TestEnum: string
99
{
1010
case ABC = 'abc';
1111
case DEF = 'def';
12+
case GHI = 'ghi';
1213

1314
public static function values(): array
1415
{

0 commit comments

Comments
 (0)