Skip to content

Commit f3eef77

Browse files
committed
TEMP/DEL test files
1 parent 2818c2e commit f3eef77

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

tests/Core/Misc/Fixtures/test.inc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
namespace TestMe\Really;
4+
5+
#[SomeAttribute]
6+
readonly class Foo {
7+
8+
/**
9+
* This is a docblock.
10+
*
11+
* @param Type $param Description.
12+
*
13+
* @return void
14+
*/
15+
public function echo ( (D&N)|false $param ) {
16+
$var ??= '';
17+
18+
switch ( true ) {
19+
case 1:
20+
$brackets = [$var];
21+
break;
22+
default:
23+
$brackets[] = <<<'NOW'
24+
Some text
25+
NOW;
26+
break;
27+
}
28+
}
29+
}
30+
31+
(new Foo)->echo(param: false);
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
namespace TestMe\Really;
4+
5+
#[SomeAttribute]
6+
readonly class Foo
7+
{
8+
9+
/**
10+
* This is a docblock.
11+
*
12+
* @param Type $param Description.
13+
*
14+
* @return void
15+
*/
16+
public function echo((D&N)|false $param)
17+
{
18+
$var ??= '';
19+
20+
switch (true) {
21+
case 1:
22+
$brackets = [$var];
23+
break;
24+
default:
25+
$brackets[] = <<<'NOW'
26+
Some text
27+
NOW;
28+
break;
29+
}
30+
}
31+
}
32+
33+
(new Foo)->echo(param: false);

0 commit comments

Comments
 (0)