Repository navigation
✨ TestBootstrap: dump canonical-data - #1072
Merged
Merged
Conversation
homersimpsons
commented
Nov 17, 2026
homersimpsons
commented
Nov 17, 2026
Contributor
Author
|
Follow-up of #1071 |
mk-mxp
approved these changes
Nov 20, 2026
mk-mxp
left a comment
Contributor
There was a problem hiding this comment.
Nice! Thanks a lot for your contribution.
Test properties excluded:
- `uuid`, `description`: already outputted
- `reimplements`: does not make sense
- `comments`: usually provided for reimplements
- `scenarios`: seems mostly empty
Use of `VarExporter`:
1. It allows the contributor to copy-paste the code directly
2. `json_encode` was too verbose (pretty print) or too hard to read (normal)
3. `VarExporter` is already used by the generator
Output:
```php
/** uuid: 64d97c14-36dd-44a8-9621-2cecebd6ed23 */
#[PHPUnit\Framework\Attributes\TestDox('Accumulate empty')]
public function testAccumulateEmpty(): void
{
// [
// 'property' => 'accumulate',
// 'input' => [
// 'list' => [],
// 'accumulator' => '(x) => x * x',
// ],
// 'expected' => [],
// ]
$this->markTestIncomplete('This test has not been implemented yet.');
}
```
homersimpsons
force-pushed
the
chore/bootstrap-improvements
branch
from
November 20, 2026 23:08
cf64879 to
354151f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test properties excluded:
uuid,description: already outputtedreimplements: does not make sensecomments: usually provided for reimplementsscenarios: seems mostly emptyUse of
VarExporter:json_encodewas too verbose (pretty print) or too hard to read (normal)VarExporteris already used by the generatorOutput: