1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 19:40:02 +02:00

phpactor: add templates for laravel

This commit is contained in:
Henrik Hautakoski 2024-10-11 14:18:28 +02:00
parent aecab153cd
commit 8b10581ca9
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<?php
namespace {{ prototype.namespace }};
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
{% for class in prototype.classes %}
class {{ class.name }} extends TestCase
{
use RefreshDatabase;
}
{% endfor %}