feat(nvim): add Phpactor templates for Drupal tests

This commit is contained in:
Oliver Davies 2023-05-10 12:20:55 +01:00
parent fdd48ba14d
commit 1e22556f6a
5 changed files with 64 additions and 0 deletions
config/phpactor/templates/drupal-unit-test

View file

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace {{ prototype.namespace }};
use Drupal\Tests\UnitTestCase;
{% for class in prototype.classes %}
final class {{ class.name }} extends UnitTestCase {
}
{% endfor %}