Extend snippets

This commit is contained in:
Daniel Siepmann 2024-01-07 14:26:10 +01:00
parent dbf00d1dfa
commit 43e18c42b3
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,6 @@
snippet file Insert Fluid Template File with Namespace
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
${0}

View file

@ -172,7 +172,7 @@ snippet testfile
use PHPUnit\Framework\TestCase;
#[CoversClass(`expand('%:r:s?Test$??:s?.*/??')::class)
final class ${1:`expand('%:t:s?.php??')`} extends TestCase
final readonly class ${1:`expand('%:t:s?.php??')`} extends TestCase
{
#[Test]
public function canBeCreated(): void
@ -218,7 +218,7 @@ snippet testfilelegacy
/**
* @covers \DanielSiepmann`expand('%:r:s?.*ext/??:s?local_packages/??:s?Classes/??:s?Tests/Unit/??:s?Tests/Functional/??:s?Test??:s?.*_?\u&?:gs?_.?\U&?:gs?_??:gs?/?\\\?:s??\\\?')`
*/
final class ${1:`expand('%:t:s?.php??')`} extends TestCase
final readonly class ${1:`expand('%:t:s?.php??')`} extends TestCase
{
/**
* @test
@ -262,7 +262,7 @@ snippet codeceptiontestfile
use PhpbrowserTester;
final class ${1:`expand('%:t:s?.php??')`}
final readonly class ${1:`expand('%:t:s?.php??')`}
{
public function firstTest(PhpbrowserTester $I): void
{