feat(nvim): add Phpactor templates for Drupal tests
This commit is contained in:
parent
fdd48ba14d
commit
1e22556f6a
5 changed files with 64 additions and 0 deletions
config/phpactor/templates/drupal-unit-test
|
@ -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 %}
|
Loading…
Add table
Add a link
Reference in a new issue