Valinor/tests/Unit/Mapper/Tree/Builder
Romain Canon 69ebd19ee8 feat: add support for wildcard in enumeration type
This notation can be used when several cases in an enum share a common
prefix.

```php
enum SomeEnum: string
{
    case FOO = 'foo';
    case BAR = 'bar';
    case BAZ = 'baz';
}

$mapper = (new MapperBuilder())->mapper();

$mapper->map('SomeEnum::BA*', 'foo'); // error
$mapper->map('SomeEnum::BA*', 'bar'); // ok
$mapper->map('SomeEnum::BA*', 'baz'); // ok
```
2022-10-04 20:44:55 +02:00
..
ArrayNodeBuilderTest.php fix: improve scalar values casting 2022-09-29 13:52:06 +02:00
CasterNodeBuilderTest.php misc: remove types stringable behavior 2022-07-13 21:44:07 +02:00
ListNodeBuilderTest.php fix: improve scalar values casting 2022-09-29 13:52:06 +02:00
ScalarNodeBuilderTest.php feat!: make mapper more strict and allow flexible mode 2022-06-23 10:30:36 +02:00
ShapedArrayNodeBuilderTest.php fix: improve scalar values casting 2022-09-29 13:52:06 +02:00
TreeNodeTest.php fix: fetch correct node value for children 2022-09-26 20:03:47 +02:00