Valinor/tests/Unit
Romain Canon 1244c2d68f feat: add support for class constant type
This notation is mainly useful when several cases in constants of a
class share a common prefix.

```php
final class SomeClassWithConstants
{
    public const FOO = 1337;

    public const BAR = 'bar';

    public const BAZ = 'baz';
}

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

$mapper->map('SomeClassWithConstants::BA*', 1337); // error
$mapper->map('SomeClassWithConstants::BA*', 'bar'); // ok
$mapper->map('SomeClassWithConstants::BA*', 'baz'); // ok
```
2022-10-04 22:15:02 +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 fix: correctly handle type inferring during mapping 2022-10-04 22:15:02 +02:00
Type feat: add support for class constant type 2022-10-04 22:15:02 +02:00
Utility feat: add support for class constant type 2022-10-04 22:15:02 +02:00
MapperBuilderTest.php test: add missing test assertion 2022-08-31 01:01:16 +02:00