/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ExpressionLanguage/Tests/Node/NameNodeTest.php
38 строк
825 B
Oskar Stark
[PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/`
07 фев 2023, 12:30
07 фев 2023, 12:30
cb3db96
Код
Авторство
О чём код?
<?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\ExpressionLanguage\Tests\Node; use Symfony\Component\ExpressionLanguage\Node\NameNode; class NameNodeTest extends AbstractNodeTestCase { public static function getEvaluateData(): array { return [ ['bar', new NameNode('foo'), ['foo' => 'bar']], ]; } public static function getCompileData(): array { return [ ['$foo', new NameNode('foo')], ]; } public static function getDumpData(): array { return [ ['foo', new NameNode('foo')], ]; } }