@@ -99,46 +99,46 @@ public function invalidValuesForCompositionDataProvider(): array
99
99
'matching both composition elements ' => [
100
100
6 ,
101
101
<<<ERROR
102
- Invalid value for (.*?) declined by composition constraint\.
103
- Requires to match one composition element but matched 2 elements\.
104
- - Composition element #1: Valid
105
- - Composition element #2: Valid
106
- ERROR
102
+ Invalid value for (.*?) declined by composition constraint\.
103
+ Requires to match one composition element but matched 2 elements\.
104
+ - Composition element #1: Valid
105
+ - Composition element #2: Valid
106
+ ERROR
107
107
],
108
108
'too low number both ' => [
109
109
0 ,
110
110
<<<ERROR
111
- Invalid value for (.*?) declined by composition constraint\.
112
- Requires to match one composition element but matched 0 elements\.
113
- - Composition element #1: Failed
114
- \* Value for integerProperty must not be smaller than 2
115
- - Composition element #2: Failed
116
- \* Value for integerProperty must not be smaller than 3
117
- ERROR
111
+ Invalid value for (.*?) declined by composition constraint\.
112
+ Requires to match one composition element but matched 0 elements\.
113
+ - Composition element #1: Failed
114
+ \* Value for integerProperty must not be smaller than 2
115
+ - Composition element #2: Failed
116
+ \* Value for integerProperty must not be smaller than 3
117
+ ERROR
118
118
],
119
119
'nothing matches ' => [
120
120
1 ,
121
121
<<<ERROR
122
- Invalid value for (.*?) declined by composition constraint\.
123
- Requires to match one composition element but matched 0 elements\.
124
- - Composition element #1: Failed
125
- \* Value for integerProperty must not be smaller than 2
126
- \* Value for integerProperty must be a multiple of 2
127
- - Composition element #2: Failed
128
- \* Value for integerProperty must not be smaller than 3
129
- \* Value for integerProperty must be a multiple of 3
130
- ERROR
122
+ Invalid value for (.*?) declined by composition constraint\.
123
+ Requires to match one composition element but matched 0 elements\.
124
+ - Composition element #1: Failed
125
+ \* Value for integerProperty must not be smaller than 2
126
+ \* Value for integerProperty must be a multiple of 2
127
+ - Composition element #2: Failed
128
+ \* Value for integerProperty must not be smaller than 3
129
+ \* Value for integerProperty must be a multiple of 3
130
+ ERROR
131
131
],
132
132
'invalid type ' => [
133
133
"4 " ,
134
134
<<<ERROR
135
- Invalid value for (.*?) declined by composition constraint\.
136
- Requires to match one composition element but matched 0 elements\.
137
- - Composition element #1: Failed
138
- \* Invalid type for integerProperty. Requires int, got string
139
- - Composition element #2: Failed
140
- \* Invalid type for integerProperty. Requires int, got string
141
- ERROR
135
+ Invalid value for (.*?) declined by composition constraint\.
136
+ Requires to match one composition element but matched 0 elements\.
137
+ - Composition element #1: Failed
138
+ \* Invalid type for integerProperty. Requires int, got string
139
+ - Composition element #2: Failed
140
+ \* Invalid type for integerProperty. Requires int, got string
141
+ ERROR
142
142
],
143
143
];
144
144
}
0 commit comments