Skip to content

Commit

Permalink
Allow empty enumeration strings
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Apr 2, 2024
1 parent 60a6631 commit bc9afe5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"azjezz/psl": "^2.1",
"laminas/laminas-code": "^4.8.0",
"php-soap/engine": "^2.4",
"php-soap/engine": "^2.7",
"php-soap/ext-soap-engine": "^1.4",
"php-soap/psr18-transport": "^1.3",
"php-soap/wsdl-reader": "~0.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public function it_fails_on_empty_enumerations(): void

public function provideExpectations()
{
yield 'empty' => [
(new TypeMeta())->withEnums(['']),
"''",
];
yield 'single' => [
(new TypeMeta())->withEnums(['a']),
"'a'",
Expand Down

0 comments on commit bc9afe5

Please sign in to comment.