mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 13:25:41 +00:00
Add PHPUnit attributes alongside annotations to silence doc-comment metadata deprecations on PHPUnit 11
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Twig\Tests\Extension;
|
||||
|
||||
use PHPUnit\Framework\Attributes\Group;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Twig\Environment;
|
||||
use Twig\Extension\StringLoaderExtension;
|
||||
@@ -19,6 +20,7 @@ use Twig\Loader\ArrayLoader;
|
||||
/**
|
||||
* @group legacy
|
||||
*/
|
||||
#[Group('legacy')]
|
||||
class LegacyStringLoaderFunctionsTest extends TestCase
|
||||
{
|
||||
public function testTemplateFromString()
|
||||
|
||||
Reference in New Issue
Block a user