Extend snippets
This commit is contained in:
parent
dbf00d1dfa
commit
43e18c42b3
|
@ -1,5 +1,6 @@
|
||||||
snippet file Insert Fluid Template File with Namespace
|
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"
|
data-namespace-typo3-fluid="true"
|
||||||
>
|
>
|
||||||
${0}
|
${0}
|
||||||
|
|
|
@ -172,7 +172,7 @@ snippet testfile
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
#[CoversClass(`expand('%:r:s?Test$??:s?.*/??')::class)
|
#[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]
|
#[Test]
|
||||||
public function canBeCreated(): void
|
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??\\\?')`
|
* @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
|
* @test
|
||||||
|
@ -262,7 +262,7 @@ snippet codeceptiontestfile
|
||||||
|
|
||||||
use PhpbrowserTester;
|
use PhpbrowserTester;
|
||||||
|
|
||||||
final class ${1:`expand('%:t:s?.php??')`}
|
final readonly class ${1:`expand('%:t:s?.php??')`}
|
||||||
{
|
{
|
||||||
public function firstTest(PhpbrowserTester $I): void
|
public function firstTest(PhpbrowserTester $I): void
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue