Commit ca4e2a7
(fix): CI — define Query::LOGICAL_TYPES/TYPE_ELEM_MATCH, drop Database::VAR_STRING in MirrorTest
Two undefined-constant errors from the main-branch merge surfaced in run 24884705670:
1) Query::shape() referenced self::LOGICAL_TYPES with no declaration,
causing testShape/testFingerprint/testFingerprintNestedLogicalQueries
to error. Added the constant plus TYPE_ELEM_MATCH (which the test
uses to construct elemMatch queries), and stringified $method via
->value since Method is a backed enum and cannot concat directly.
2) MirrorTest::testCreateDocumentsSkipDuplicatesBackfillsDestination used
the removed Database::VAR_STRING constant. Replaced with the current
Attribute(key:, type: ColumnType::String, ...) form that the rest of
the file already uses.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 997093a commit ca4e2a7
2 files changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
174 | 184 | | |
175 | 185 | | |
176 | 186 | | |
177 | | - | |
| 187 | + | |
178 | 188 | | |
179 | 189 | | |
180 | 190 | | |
| |||
186 | 196 | | |
187 | 197 | | |
188 | 198 | | |
189 | | - | |
| 199 | + | |
190 | 200 | | |
191 | 201 | | |
192 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
| 328 | + | |
334 | 329 | | |
335 | 330 | | |
336 | 331 | | |
| |||
0 commit comments