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-functional-test

View file

@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace {{ prototype.namespace }};
use Drupal\Tests\BrowserTestBase;
{% for class in prototype.classes %}
final class {{ class.name }} extends BrowserTestBase {
public $defaultTheme = 'stark';
public static $modules = [];
public function setUp(): void {
parent::setUp();
}
}
{% endfor %}