Valinor/tests/Unit/Definition
Romain Canon b6b3296638 feat: handle variadic parameters in constructors
Using variadic parameters is now handled properly by the library,
meaning the following example will run:

```php
final class SomeClass
{
    /** @var string[] */
    private array $values;

    public function __construct(string ...$values)
    {
        $this->values = $values;
    }
}

(new \CuyZ\Valinor\MapperBuilder())
    ->mapper()
    ->map(SomeClass::class, ['foo', 'bar', 'baz']);
```
2022-02-19 20:17:03 +01:00
..
Repository feat: introduce function definition repository 2022-02-19 19:58:28 +01:00
AttributesContainerTest.php feat: initial release 2021-11-28 18:21:56 +01:00
ClassDefinitionTest.php refactor: remove unnecessary ClassSignature 2022-01-25 18:32:28 +01:00
CombinedAttributesTest.php feat: initial release 2021-11-28 18:21:56 +01:00
DoctrineAnnotationsTest.php feat: initial release 2021-11-28 18:21:56 +01:00
EmptyAttributesTest.php feat: initial release 2021-11-28 18:21:56 +01:00
MethodDefinitionTest.php feat: initial release 2021-11-28 18:21:56 +01:00
MethodsTest.php feat: initial release 2021-11-28 18:21:56 +01:00
NativeAttributesTest.php feat: initial release 2021-11-28 18:21:56 +01:00
ParameterDefinitionTest.php feat: handle variadic parameters in constructors 2022-02-19 20:17:03 +01:00
ParametersTest.php feat: introduce method to get parameter by index 2022-02-19 19:58:28 +01:00
PropertiesTest.php feat: initial release 2021-11-28 18:21:56 +01:00
PropertyDefinitionTest.php feat: initial release 2021-11-28 18:21:56 +01:00