Valinor/tests/Unit
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
..
Cache fix: prevent illegal characters in PSR-16 cache keys 2022-08-31 01:01:16 +02:00
Definition misc: fetch attributes for function definition 2022-08-29 23:09:15 +02:00
Mapper feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
Type feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
Utility feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
MapperBuilderTest.php test: add missing test assertion 2022-08-31 01:01:16 +02:00