Merge branch '5.2' into 5.x

* 5.2:
  [VarDumper] Fix tests
This commit is contained in:
Nicolas Grekas 2021-01-14 21:47:39 +01:00
commit f7a09262cd

View File

@ -1,28 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\VarDumper\Tests\Fixtures;
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS_CONST | \Attribute::TARGET_PROPERTY)]
final class RepeatableAttribute
{
private string $string;
public function __construct(string $string = 'default')
{
$this->string = $string;
}
public function getString(): string
{
return $this->string;
}
}