File tree Expand file tree Collapse file tree 1 file changed +10
-28
lines changed Expand file tree Collapse file tree 1 file changed +10
-28
lines changed Original file line number Diff line number Diff line change @@ -189,40 +189,22 @@ public function getValidTests(): array
189189 "additionalProperties": true
190190 } '
191191 ],
192- [
193- '{
194- "prop1": {
195- "prop2": "a"
196- }
197- } ' ,
192+ 'additional property casted into int when actually is numeric string (#784) ' => [
198193 '{
199- "type": "object",
200- "additionalProperties": {
201- "type": "object",
202- "properties": {
203- "prop2": {
204- "type": "string"
205- }
194+ "prop1": {
195+ "123": "a"
206196 }
207- }
208- } '
209- ],
210- [
211- '{
212- "prop1": {
213- "123": "a"
214- }
215197 } ' ,
216198 '{
217- "type": "object",
218- "additionalProperties": {
219199 "type": "object",
220- "properties": {
221- "123": {
222- "type": "string"
223- }
200+ "additionalProperties": {
201+ "type": "object",
202+ "properties": {
203+ "123": {
204+ "type": "string"
205+ }
206+ }
224207 }
225- }
226208 } '
227209 ],
228210 ];
You can’t perform that action at this time.
0 commit comments